home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 20
/
64er_Magazin_Sonderheft_20_19xx_Markt__Technik_de_Side_A.d64
/
editor
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
1KB
|
39 lines
10 print"[147]":poke56576,(peek(56576)and252)or3
20 poke53265,59
30 geta$:ifval(a$)>0andval(a$)<9then50
35 ifa$="q"ora$="w"ora$="e"ora$="r"ora$="t"ora$="y"ora$="u"ora$="i"then200
36 ifa$="n"ora$="m"then400
37 ifa$="[133]"ora$="[137]"ora$="[134]"ora$="[138]"ora$="[135]"ora$="[139]"ora$="[136]"ora$="[140]"then500
40 goto30
50 on val(a$)gosub 70,80,90,100,110,120,130,140
60 goto30
70 poke56576,(peek(56576)and252)or3:poke53272,(peek(53272)and240):return
80 poke56576,(peek(56576)and252)or3:poke53272,(peek(53272)and240)or8:return
90 poke56576,(peek(56576)and252)or2:poke53272,(peek(53272)and240):return
100 poke56576,(peek(56576)and252)or2:poke53272,(peek(53272)and240)or8:return
110 poke56576,(peek(56576)and252)or1:poke53272,(peek(53272)and240):return
120 poke56576,(peek(56576)and252)or1:poke53272,(peek(53272)and240)or8:return
130 poke56576,(peek(56576)and252)or0:poke53272,(peek(53272)and240):return
140 poke56576,(peek(56576)and252)or0:poke53272,(peek(53272)and240)or8:return
200 ifa$="q"thenpoke53272,(peek(53272)and15)or16
205 ifa$="w"thenpoke53272,(peek(53272)and15)or32
210 ifa$="e"thenpoke53272,(peek(53272)and15)or48
215 ifa$="r"thenpoke53272,(peek(53272)and15)or64
220 ifa$="t"thenpoke53272,(peek(53272)and15)or80
225 ifa$="y"thenpoke53272,(peek(53272)and15)or96
230 ifa$="u"thenpoke53272,(peek(53272)and15)or112
235 ifa$="i"thenpoke53272,(peek(53272)and15)or128
300 goto30
400 ifa$="n"thenpoke53270,peek(53270)or16
410 ifa$="m"thenpoke53270,peek(53270)and239
420 goto30
500 ifa$="[133]"thencr=cr+1:ifcr=16thencr=0
510 ifa$="[137]"thencr=cr-1:ifcr=-1thencr=15
520 ifa$="[134]"thencb=cb+1:ifcb=16thencb=0
530 ifa$="[138]"thencb=cb-1:ifcb=-1thencb=15
540 ifa$="[135]"thenc1=c1+1:ifc1=16thenc1=0
550 ifa$="[139]"thenc1=c1-1:ifc1=-1thenc1=15
560 ifc2<>c1thenc2=c1:gosub580
570 poke53280,cr:poke53281,cb:goto30
580 poke646,c1:print"[147]":return