home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 242 / 242.d81 / b.cosine (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  1KB  |  40 lines

  1. 10 d=peek(186):ifd<8thend=8
  2. 20 gosub41000
  3. 30 a$="cosine/  website"
  4. 40 print"[144]loada$,d":print"run"
  5. 41 printtab(12)"[212]his program
  6. 42 [153][163]05)"does not return to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL).
  7. 43 print:printtab(10)"[208]ress <[209]> to [209]uit
  8. 44 [153][163]06)"atnny other key to continuestop"
  9. 50 [151]198,0:[146]198,1:[161]z$:[139]z$[178]"q"[167]40000
  10. 70 [151]198,2:[151]631,13:[151]632,13:[128]
  11. 10000 d[178][194](186):n$[178]"b.cosine
  12. 10001 open15,d,15,"s0:"+n$:close15:saven$,d:end
  13. 40000 fori=0to21:poke828+i,8+i:next
  14. 40010 ifdv<8ordv>29ordv=8then40030
  15. 40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
  16. 40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
  17. 40040 close2:open2,i,2:close2:ifstthen40060
  18. 40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
  19. 40060 next:print"[147]":poke53272,23:poke186,8:end
  20. 40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
  21. 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
  22. 40090 print"run:":poke631,13:poke632,13:poke198,2:end
  23. 41000 poke53280,0:poke53281,0:poke53272,22:print"[147]"
  24. 41002 poke214,14:print
  25. 41004 printtab(1)"[155]                                     "
  26. 41005 forx=1to6
  27. 41006 printtab(1)"[152]                                     "
  28. 41007 next
  29. 41013 printtab(1)"[151]                                     "
  30. 41020 forx=1to4:reada$:poke214,15+x:print
  31. 41022 printtab(19-len(a$)/2)"[152]"a$
  32. 41024 next
  33. 41030 t=ti+60
  34. 41031 ift>tithen41031
  35. 41032 print"":return
  36. 41050 data"[195] [207] [211] [201] [206] [197]   [196] [197] [205] [207]
  37. 41051 [131]"by lenosine
  38. 41052 data"(c) 2003 by [195]osine
  39. 41053 [131]"www.eloadstar.com
  40.