home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magic Disk 64
/
Magic_Disk_64_89-11_1989_-_de_Side_B.d64
/
sp.jump
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
28 lines
0 plot = 49152 : line = pl+3 : clear = pl+6 : recht = pl+9
1 setup = pl+12 : show = pl+15 : mem = pl+18 : ellipse = pl+21
2 test = pl+24 : invert = pl+27 : speich = pl+30 : left = pl+33
3 right = pl+36 : hard = pl+39 : up = pl+42 : down = pl+45
4 write = pl+48 : zmem = pl+51 : copy = pl+54 : w2 = pl+57
5 ssetup = pl+60 : charset = pl+63 : laden = pl+66
10 dim y(227):poke53280,0:poke53281,0:poke646,5:la=54272+24:fl=1
20 sys mem,32,32:sys show ,0,0,7,1,0
25 sys clear:print"[147]":sys ch,8,8,0,0
26 fori=0to17:print" [146] [146] ":next
27 print"////////////////////////////////////////"
28 sys zmem,53248,1,0
31 sys re,0,0,95,41,1:sys re,1,1,94,40,1
34 sys wr,20,18,"[202]umping":f=1:a=8:b=1:xp=0:f1=1:f2=1:xp=25
36 c=1
37 fori=atobstep-b
40 forx=-itoistep.4
45 iff=1then y(c)=x*x+100-i*i+60
50 sys se,xp,y(c)
55 if y(c)=160thengosub280
60 xp=xp+f1:c=c+f2
63 if c=0thenc=184
65 if xp>=248orxp<=24thenf1=-f1:gosub280
70 next:next
90 f=0
100 goto36
280 pokela,15:pokela,0:sys sh,0,0,7,1,fl-1*sgn(f1):return