Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > VC-20 all 16 colours full-screen?
2021-09-01 16:15
Silver Dream !

Registered: Nov 2005
Posts: 107
VC-20 all 16 colours full-screen?

Not exactly a C64 question but relatively close ;-)

Is there a method, some VIC-I tricks or so to display colours 8 through 15 full screen? I don't need any content on the screen other than the whole visible area being of the same colour.
2021-09-01 17:24
tlr

Registered: Sep 2003
Posts: 1714
Screen size is arbitrary, so yes.

Just make the screen very large and set the background color to any color you want, or fill it with chars and set the AUX color to anything you want.
I'm not 100% sure but it feels like colors/luma is different depending on which type of color is displayed (BG vs AUX).
2021-09-01 18:51
Silver Dream !

Registered: Nov 2005
Posts: 107
Quoting tlr
Screen size is arbitrary, so yes.

Just make the screen very large and set the background color to any color you want, or fill it with chars and set the AUX color to anything you want.
I'm not 100% sure but it feels like colors/luma is different depending on which type of color is displayed (BG vs AUX).

Do you mean the "cleared" screen looks different than "filled" screen with the same colour? Huh - that'd be odd but can't be completely excluded. Kind of similar to how various portions of the VIC-II screen look, depending on which signal(s) currently interfere with the video output..
2021-09-01 19:54
tlr

Registered: Sep 2003
Posts: 1714
Quoting Silver Dream !
Quoting tlr
Screen size is arbitrary, so yes.

Just make the screen very large and set the background color to any color you want, or fill it with chars and set the AUX color to anything you want.
I'm not 100% sure but it feels like colors/luma is different depending on which type of color is displayed (BG vs AUX).

Do you mean the "cleared" screen looks different than "filled" screen with the same colour? Huh - that'd be odd but can't be completely excluded. Kind of similar to how various portions of the VIC-II screen look, depending on which signal(s) currently interfere with the video output..

Yeah, but much more uniform. Anyway it was a long time since I ran that on hw so I don't remember exactly.
2021-09-02 00:38
Silver Dream !

Registered: Nov 2005
Posts: 107
Quoting tlr
Screen size is arbitrary, so yes.

Just make the screen very large and set the background color to any color you want
Tried that:
10 poke 56,28
20 poke 648,28
30 poke 36866,22
40 clr
50 print"S"
60 poke 36864,0
70 poke 36865,0
80 poke 36866,33
90 poke 36867,46
100 for x=0 to 1007
110 poke 7168+x,32
120 next x
130 c=0
140 geta$
150 if a$="" then 140
160 poke 36879,c*16+11
170 c=c+1
180 if c>15 then 130
190 goto 140

But at least on `xvic` (the above is for PAL) I can't extend screen enough to cover the rightmost "column". Forget the vertical expansion, the horizontal is what matters. Any clues?
2021-09-02 10:04
tlr

Registered: Sep 2003
Posts: 1714
How about POKE36864,2:POKE36866,32 ?
(NTSC: POKE36864,0:POKE36866,29)

Anyway, for discussing vic-20 stuff you should probably head over to the Denial forum.
2021-09-02 12:40
Silver Dream !

Registered: Nov 2005
Posts: 107
Quoting tlr
How about POKE36864,2:POKE36866,32 ?
(NTSC: POKE36864,0:POKE36866,29)

Anyway, for discussing vic-20 stuff you should probably head over to the Denial forum.

No need I guess ;-) The values you provided do the trick at least on the emulator, thanks! Here's the final PRG, which makes the whole picture (except last one or two rasterlines) in one colour from 0 to 15 for reference
10 poke 52,28
20 poke 56,28
30 clr
40 poke 36864,2
50 poke 36865,5
60 poke 36866,32
70 poke 36867,39
80 poke 36869,255
100 fori=7168to i+570
110 poke i,.
120 next
130 c=0
135 poke36879,c*16+11
140 get a$
150 if a$="" then 140
170 c=c+1
180 if c>15 then 130
190 goto 135
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
kbs/Pht/Lxt
Krill/Plush
K-reator/CMS/F4CG
Guests online: 134
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.037 sec.