home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 18
/
64er_Magazin_Sonderheft_18_19xx_Markt__Technik_de_Side_A.d64
/
PAL-Gen
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
950b
|
37 lines
10 rem ******************************
11 rem * pal-gen *
12 rem * erzeugt code fuer pal *
13 rem * im graphik-mps 802 *
14 rem * im ram von $6000 bis $7fff *
15 rem * sowie auf disk als mps-pal *
16 rem * laufzeit ca 3 minuten *
17 rem ******************************
18 rem
100 for i=6*4096 to 6*4096+4*256
101 poke i,255
102 nexti
110 for i=6*4096+4*256 to 8*4096 step 2
111 poke i,253
112 next i
120 for i=6*4096+4*256 to 6*4096+10*256 step 4
121 poke i+1,249:poke i+3,254
122 next i
130 for i=6*4096+10*256 to 7*4096+15*256 step 8
131 poke i+1,249:poke i+3,249
132 poke i+5,254:poke i+7,254
133 nexti
140 for i=7*4096+15*256 to 7*4096+15*256+14*16 step 16
141 poke i+1,249:poke i+3,249
142 poke i+5,249:poke i+7,249
143 poke i+9,254:poke i+11,254
144 poke i+13,254:poke i+15,254
145 nexti
150 for i=7*4096+15*256+14*16 to 7*4096+15*256+15*16 step 2
151 poke i+1,249
152 nexti
160 for i=7*4096+15*256+15*16 to 8*4096 step 2
161 poke i+1,254
162 nexti
200 open1,8,2,"mps-pal,p,w":print#1,chr$(0)chr$(96);
210 fori=6*4096to8*4096-1:print#1,chr$(peek(i));:next:close1