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

  1. 10 d=peek(186):ifd<8thend=8
  2. 20 gosub41000
  3. 30 a$="digdug.prg
  4. 40 [153]"stoploada$,d":[153]"run"
  5. 41 [153][163]00)"(NULL)his program doesn't return to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)"
  6. 42 [153][163]10)"mid$oystick in (NULL)ort 1
  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. 60 [151]53280,4
  11. 70 [151]198,2:[151]631,13:[151]632,13:[128]
  12. 10000 d[178][194](186):n$[178]"b.digdug
  13. 10001 open15,d,15,"s0:"+n$:close15:saven$,d:end
  14. 40000 fori=0to21:poke828+i,8+i:next
  15. 40010 ifdv<8ordv>29ordv=8then40030
  16. 40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
  17. 40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
  18. 40040 close2:open2,i,2:close2:ifstthen40060
  19. 40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
  20. 40060 next:print"[147]":poke53272,23:poke186,8:end
  21. 40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
  22. 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
  23. 40090 print"run:":poke631,13:poke632,13:poke198,2:end
  24. 41000 poke53280,0:poke53281,0:poke53272,22:print"[147]"
  25. 41002 poke214,14:print
  26. 41004 printtab(1)"[155]                                     "
  27. 41005 forx=1to6
  28. 41006 printtab(1)"[152]                                     "
  29. 41007 next
  30. 41013 printtab(1)"[151]                                     "
  31. 41020 forx=1to4:reada$:poke214,15+x:print
  32. 41022 printtab(19-len(a$)/2)"[152]"a$
  33. 41024 next
  34. 41030 t=ti+60
  35. 41031 ift>tithen41031
  36. 41032 print"":return
  37. 41050 data"[196] [201] [199]   [196] [213] [199]
  38. 41051 [131]"(c) 1982 (NULL)amco
  39. 41052 data"(c) 1983 [193]tari
  40. 41053 [131]"www.loadstar.com
  41.