home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disk User Volume 3 #2
/
Commodore_Disk_User_Vol.3_2_1989_-.d64
/
demo3
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
377b
|
17 lines
5 (NULL):(NULL) 15:poke650,128
6 print"[147]glide demo"
7 print"useful technique for sfx"
8 print"use + and - keys to alter frequency"
9 print"press space to re-run"
10 input"starting frequency";fq
12 input"increment";ic
13 ific>5000then12
15 iffq<200then10
20 (NULL) 1,9*16+8,240
30 (NULL) 1,fq:(NULL) 1,33
40 geta$:ifa$=""then40
50 ifa$="+"andfq+ic<65535thenfq=fq+ic
60 ifa$="-"andfq-ic>200thenfq=fq-ic
65 ifa$=chr$(32)thenrun
70 goto30