home *** CD-ROM | disk | FTP | other *** search
/ Compute! Gazette 1984 June / 1984-06.d64 / vm (.txt) < prev    next >
Commodore BASIC  |  2022-09-20  |  2KB  |  53 lines

  1. 100 poke36879,24:poke36865,24:gosub800
  2. 120 print"[147]one moment please...":gosub500
  3. 140 sp$="                      "
  4. 172 np=int(it/8):cp=0
  5. 175 printchr$(142);
  6. 180 poke36867,0
  7. 185 print"[147][146][144][169] compute!'s gazette [144][223]";
  8. 190 a$="contents:"+mo$+" 1984"
  9. 195 cx=11-len(a$)/2:a$=left$(left$(sp$,cx)+a$+sp$,22):printa$;
  10. 200 print"[159][144][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]";
  11. 245 print"[146]press   to see:"
  12. 250 s=cp*8:e=cp*8+7:ife>itthene=it
  13. 260 fori=stoe:print"[144]f";chr$(49+i-cp*8);"[146]";
  14. 262 a$=n$(i):k=len(a$):ifk<19then268
  15. 265 a$=n$(i):fork=19to1step-1
  16. 266 ifmid$(a$,k,1)<>" "thennextk:stop
  17. 267 k=k-1
  18. 268 printleft$(a$,k):print"   "mid$(a$,k+2,18)
  19. 300 nexti
  20. 310 print"    page #";cp+1;"of";np+1
  21. 320 print"[144][223][146] next page:return[144][169][146][157][148] ";
  22. 325 if(e-s)>6then337
  23. 330 print"";:fori=1to(7-(e-s))*2-1:print"[144]";sp$;:next
  24. 335 printleft$(sp$,21)"[157][148] ";
  25. 337 poke36867,46
  26. 340 sys828:geta$:ifa$<>chr$(13)and(a$<"[133]"ora$>"[140]")then340
  27. 350 ifa$=chr$(13)thencp=cp+1:ifcp>npthencp=0
  28. 355 ifa$=chr$(13)then175
  29. 360 fv=(asc(a$)-133)*2+1:fv=fv+7*(fv>8)
  30. 365 c=fv+cp*8-1:ifc>itthen340
  31. 470 poke36879,27:print"[147][146][142]load";chr$(34);f$(c);chr$(34);",8":i$="run"
  32. 480 fori=1tolen(i$):poke631+i,asc(mid$(i$,i)):next
  33. 490 poke631+i,13:poke631,13:poke198,i+1:end
  34. 499 end
  35. 500 open15,8,15,"i0"
  36. 510 open1,8,8,"0:vicontents,s,r":input#15,en,em$:if en>0 then 600
  37. 520 input#1,mo$:input#1,it:dimn$(it),f$(it)
  38. 530 fori=0toit:input#1,n$(i):input#1,f$(i):next
  39. 540 close1:close15:return
  40. 600 close1:close15
  41. 610 print"[147][195]an't read [212]able of   [195]ontents"
  42. 615 print"[196]isk [197]rror:":printen;em$
  43. 620 print"[195]heck:"
  44. 630 print"1)[208]roper disk?
  45. 640 [153]"2)str$rive door closed?
  46. 650 print"3)[193]ll cables attached?"
  47. 660 print"[210]emove, then re-insertdisk, press any  key  to try again."
  48. 670 geta$:ifa$=""then670
  49. 680 run
  50. 800 fori=828to858:reada:pokei,a:next:return
  51. 900 data 120,173,4,144,205,96,3,240,248,141,96,3,41,248,10,9,8,141,15,144,32,159,255
  52. 910 data 165,197,201,64,240,228,88,96
  53.