home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er 1988 October
/
64er_Magazin_88-10_1988_Markt__Technik_de_Side_A.d64
/
setcolor
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
858b
|
28 lines
10 rem"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]
20 [143]"(NULL) (w) 1988 by u.kepper (NULL)
30 rem"[221] j.mann [221]
40 [143]"/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp
50 poke53280,0:poke53281,0:poke650,0
60 input"grafikname";a$:sys57812 a$,8:poke780,0:poke781,0:poke782,32:sys65493
70 poke53265,187:poke53272,56
80 x=0:y=0:f=peek(3072):h=fand15:v=(fand240)/16
90 a=3072+y*40+x:pokea,f:getg$:pokea,(fand15)*16+(fand240)/16
100 gosub220:pokea,f:gosub220:ifg$=""then90
110 ifg$=chr$(13)then230
120 ifg$="[145]"andy>0theny=y-1
130 ifg$=""andy<24theny=y+1
140 ifg$="[157]"andx>0thenx=x-1
150 ifg$=""andx<39thenx=x+1
160 ifg$=""thenx=0:y=0
170 ifg$="+"thenh=(h+1)and15
180 ifg$="-"thenh=(h-1)and15
190 ifg$=","thenv=(v-1)and15
200 ifg$="."thenv=(v+1)and15
210 f=h+v*16:goto90
220 forw=1to50:next:return
230 poke53265,155:poke53272,21
240 input"neuer name";a$
250 fora=53248to53254:readb:pokea,b:next:data133,95,134,96,76,191,163
260 poke780,0:poke781,12:poke90,0:poke91,16:poke88,0:poke89,68:sys53248
270 sys 57812 a$,8:poke174,0:poke175,68:poke193,0:poke194,32:sys62957