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


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

Registered: Nov 2005
Posts: 89
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: 1481
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: 89
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: 1481
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: 89
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: 1481
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: 89
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
Dymo/G★P
www.gb64.com
JEZ
Dano/Padua
theK/ATL
psych858o/MSL/Elysiu..
zscs
Wap/Astral
Guests online: 49
Top Demos
1 Edge of Disgrace  (9.6)
2 Coma Light 13  (9.6)
3 Bromance  (9.6)
4 Uncensored  (9.6)
5 Memento Mori  (9.5)
6 Comaland 100%  (9.5)
7 Lunatico  (9.5)
8 Unboxed  (9.5)
9 Wonderland XII  (9.5)
10 Christmas Megademo  (9.5)
Top onefile Demos
1 Copper Booze  (9.7)
2 Daah, Those Acid Pil..  (9.5)
3 Dawnfall V1.1  (9.5)
4 Cityscape 2730  (9.5)
5 To Norah  (9.5)
6 Elite Code Mechanics  (9.4)
7 Lovecats  (9.4)
8 Barry Boomer - Trapp..  (9.4)
9 For Your Sprites Only  (9.4)
10 Quadrants  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Oxyron  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Triad  (9.3)
Top Graphicians
1 Mirage  (9.8)
2 Archmage  (9.7)
3 Mikael  (9.7)
4 Razorback  (9.7)
5 JonEgg  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2021
Page generated in: 0.044 sec.