home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1993 February
/
1993-02.d64
/
240colors
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
902b
|
27 lines
0 clr
100 print "[147]":dim c$(15):for i=0 to 15:read c$(i):next:gosub 240
110 print"f1/f7 background [return] text"
120 data blk,wht,red,cyn,pur,grn,blu,yel
130 data org,brn,lred,dgry,mgry,lgrn,lblu,lgry
140 poke 251,peek(253):poke 252,peek(254)
150 print "":for i=0 to 15:if (peek(253) and 15)=i then print"";
160 print c$(i)"[146]",
170 if (peek(254) and 15)=i then print "";
180 print c$(i)"[146]":next
190 get a$:if a$="" then 190
200 if a$="[133]" then poke 253,(peek(253)+1) and 15
210 if a$="[136]" then poke 254,(peek(254)+1) and 15
220 if a$=chr$(13) then poke 646,(peek(646)+1) and 15
230 goto 140
240 sa=679:for i=0to 73:read d:poke sa+i,d:next
250 a=sa+36:pokesa+30,a/256:poke sa+25,a-peek(sa+30)*256:sys sa:return
260 data 120,173,26,208,9,1,141,26,208
270 data 173,17,208,41,127,141,17,208
280 data 169,0,141,18,208,133,2,169,203
290 data 141,20,3,169,2,141,21,3,88,96
300 data 173,25,208,41,1,208,3,76,49
310 data 234,166,2,181,251,141,32,208
320 data 181,253,141,33,208,138,73,1
330 data 133,2,173,25,208,9,1,141,25
340 data 208,76,129,234