home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 75
/
64er_Magazin_Sonderheft_75_19xx_Markt__Technik_de_Side_B.d64
/
sinus
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
539b
|
23 lines
1 sys58692
10 ifa=0thena=1:load"graphicclr",8,8
20 ifa=1thena=2:load"bitmapon",8,8
25 ifa=2thena=3:load"bitmapoff",8,8
30 ifa=3thena=4:load"colors",8,8
40 ifa=4thena=5:load"plot",8,8
42 sys28700:rem bitmap loeschen
45 sys28726:rem hires-modus ein
46 fori=1024to2023:pokei,16*0+9:next:rem farbram
50 forx=1to319step.33
51 y=int(90+80*sin(x/10))
52 gosub60:next
55 fory=0to199step100:forx=0to319:gosub60:nextx,y:rem horizontale linien
57 fory=0to199:forx=0to319step159:gosub60:nextx,y:rem vertikale linien
58 poke198,0:wait198,1
59 sys28743:end
60 xh=int(x/256):xl=x-xh*256
70 poke966,xl:poke967,xh
90 poke968,y
100 poke964,1
110 sys28892:sys28759
130 return