home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 242
/
242.d81
/
b.cosine
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
1KB
|
40 lines
10 d=peek(186):ifd<8thend=8
20 gosub41000
30 a$="cosine/ website"
40 print"[144]loada$,d":print"run"
41 printtab(12)"[212]his program
42 [153][163]05)"does not return to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL).
43 print:printtab(10)"[208]ress <[209]> to [209]uit
44 [153][163]06)"atnny other key to continuestop"
50 [151]198,0:[146]198,1:[161]z$:[139]z$[178]"q"[167]40000
70 [151]198,2:[151]631,13:[151]632,13:[128]
10000 d[178][194](186):n$[178]"b.cosine
10001 open15,d,15,"s0:"+n$:close15:saven$,d:end
40000 fori=0to21:poke828+i,8+i:next
40010 ifdv<8ordv>29ordv=8then40030
40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
40040 close2:open2,i,2:close2:ifstthen40060
40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
40060 next:print"[147]":poke53272,23:poke186,8:end
40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
40080 print"[147]p[207]2048,0:p[207]44,8:p[207]43,1:p[207]56,160:p[207]55,0:clr:l[207]"q$a$q$","i
40090 print"run:":poke631,13:poke632,13:poke198,2:end
41000 poke53280,0:poke53281,0:poke53272,22:print"[147]"
41002 poke214,14:print
41004 printtab(1)"[155] "
41005 forx=1to6
41006 printtab(1)"[152] "
41007 next
41013 printtab(1)"[151] "
41020 forx=1to4:reada$:poke214,15+x:print
41022 printtab(19-len(a$)/2)"[152]"a$
41024 next
41030 t=ti+60
41031 ift>tithen41031
41032 print"":return
41050 data"[195] [207] [211] [201] [206] [197] [196] [197] [205] [207]
41051 [131]"by lenosine
41052 data"(c) 2003 by [195]osine
41053 [131]"www.eloadstar.com