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: 108
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: 1814
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: 108
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: 1814
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: 108
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: 1814
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: 108
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
Erol
hedning/G★P
AMB/Level 64
swasti
Krill/Plush
Guests online: 436
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Performers  (9.3)
4 Oxyron  (9.3)
5 Censor Design  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Sulevi  (9.6)
4 Pal  (9.6)
5 Hein  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.128 sec.