Re: VC-20 all 16 colours full-screen?

From: Anders Carlsson <anders.carlsson_at_sfks.se>
Date: Wed, 1 Sep 2021 16:51:52 +0200
Message-ID: <f9f0e276-4bc6-3a46-296f-01f41f925660_at_sfks.se>
Den 2021-09-01 kl. 16:28, skrev groepaz_at_gmx.net:
> Am Mittwoch, 1. September 2021, 16:17:22 CEST schrieb silverdr_at_wfmh.org.pl:
>> 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.
> make the display window as large as the whole screen and display just spaces,
> so it displays only "background" color. you might need a memory expansion to
> do this without further trickery.

Good suggestion. You don't even need memory expansion, only a bunch of 
POKEs:

Move screen to 7168, colour memory to 37888, prevent variables from 
overwriting the screen (or vice versa):
POKE 56,28:POKE 648,28:POKE 36866,22:CLR:PRINT"{CLR/HOME}"

Maximize screen to 28 columns x 36 rows. Adjust as required on your 
actual display, these are max in old VICE:
POKE 36864,6:POKE 36865,14:POKE 36866,28:POKE 36867,72

Clear screen:
FOR X=0 TO 1007:POKE 7168+X,32:NEXT

Set foreground colour to values 8-15:
FOR X=8 TO 15:POKE 36879,X*16+8:NEXT

Best regards

Anders Carlsson
Received on 2021-09-01 17:02:41

Archive generated by hypermail 2.3.0.