home *** CD-ROM | disk | FTP | other *** search
/ Compute! Gazette 1990 November / 1990-11.d64 / mn (.txt) < prev    next >
Commodore BASIC  |  2022-09-20  |  3KB  |  96 lines

  1. 100 ifa=0thena=1:load"textreader64",8,1
  2. 110 poke56,56:poke55,0:clr
  3. 120 f=49153:fl=49170:fori=820to1023:pokei,0:next
  4. 130 n=11:dimt$(n),a$(n),p$(n)
  5. 140 fori=0 to n:read t$(i),a$(i),p$(i):next
  6. 150 sp$="                                      "
  7. 160 a$="compute's november gazette disk":cx=20-len(a$)/2
  8. 170 z$="":a$=left$(sp$,cx)+a$+sp$:fori=1to40
  9. 180 z$=z$+chr$(asc(mid$(a$,i))+128):next
  10. 190 np=int(n/7):cp=0:tt=183
  11. 200 poke53280,15:poke53281,15
  12. 210 poke53282,8:poke53283,1:poke53284,6
  13. 220 gosub720
  14. 230 print"[147]":poke53280,15:poke53281,15:poke53265,peek(53265)or64
  15. 240 printchr$(142)"[147][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160]";
  16. 250 print""z$;
  17. 260 print"[160][160][168][195][169][160][177][185][185][176][160][195][207][205][208][213][212][197][160][208][213][194][204][174][160][201][206][212][167][204][172][160][204][212][196][174][160][160]";
  18. 270 print"[160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160][160]"
  19. 280 print"[146][144]----------------------------------------";
  20. 290 s=cp*7:e=cp*7+6:ife>nthene=n
  21. 300 fori=stoe:print"[160]";chr$(177+i-cp*7);"[160][151]";t$(i);
  22. 310 printleft$(sp$,36-len(t$(i)));
  23. 320 print"[146][144]----------------------------------------";:next
  24. 330 print"this is page #";cp+1;"of";np+1
  25. 340 print"press [210][197][212][213][210][206][146] for next page[145][145]"
  26. 350 if cp=1 then tt=181
  27. 360 if cp=0 then tt=183
  28. 370 print"[145][145][160][208][210][197][211][211][160][177][173]"chr$(tt);
  29. 380 print"[160][212][207][160][204][207][193][196][160][193][160][208][210][207][199][210][193][205][160][207][210][160][193][210][212][201][195][204][197][160]";
  30. 390 print"[160][160][160][160][160][160][160][160][208][210][197][211][211][160][216][160][212][207][160][197][216][201][212][160][212][207][160][194][193][211][201][195][160][160][160][160][160][160][160][160]";
  31. 400 geta$:ifa$<>chr$(13)and(a$<"1"ora$>"7"anda$<>"x")then400
  32. 410 ifa$="x"thenprint"[147]":poke53265,27:sys65409:poke56,160:poke55,0:clr:end
  33. 420 ifa$=chr$(13)thencp=cp+1:ifcp>npthencp=0
  34. 430 ifa$=chr$(13)then230
  35. 440 fv=(asc(a$)-48):fv=fv+6*(fv>7)
  36. 450 c=fv+cp*7-1
  37. 460 ifc>nthen400
  38. 470 if a$(c)="xx" goto 660
  39. 480 print"[147]":poke53265,27:ifcp=1 and c=11 then 690
  40. 490 b=0:print""tab(11)"article[146] or program"
  41. 500 printtab(8)"[145][145][145][145][145]press any key to switch,"
  42. 510 printtab(10)"or return[146] to select."
  43. 520 geta$:ifa$=""then520
  44. 530 ifa$=chr$(13)then570
  45. 540 ifb=0thenar$="article or program[146]":b=1:goto560
  46. 550 ar$="article[146] or program":b=0
  47. 560 print""tab(11)ar$:goto520
  48. 570 ifb=0then690
  49. 580 ifc<>3then660
  50. 590 b=0:c=1
  51. 600 cx=21-len(q$(c))/2:b$=left$(sp$,cx)+q$(c)
  52. 610 print""b$
  53. 620 geta$:ifa$=""then620
  54. 630 ifa$=chr$(13)thenp$(c)=r$(c):goto660
  55. 640 ifb=0thenc=c+1:b=1:goto600
  56. 650 c=c-1:b=0:goto600
  57. 660 print"[147][146][155]load[146]";chr$(34);p$(c);chr$(34);",8":print"run"
  58. 670 d$=p$(c):gosub1000
  59. 680 poke631,13:poke632,13:poke631,13:poke198,2:end
  60. 690 fori=1tolen(a$(c)):pokei+f,asc(mid$(a$(c),i,1)):next
  61. 700 pokefl,len(a$(c))+2:d$=t$(c)
  62. 710 print"[147]":d$=a$(c):gosub1000:sys49171:goto230
  63. 720 printchr$(14)"[147] [194]efore attempting to run any programs"
  64. 730 print" please refer to the instructions in"
  65. 740 print" [195][207][205][208][213][212][197]'s [199]azette [205]agazine issue"
  66. 750 print" dated the same month as this disk."
  67. 760 print" [208]lease note that this disk contains"
  68. 770 print" [194][207][206][213][211] programs which are not published"
  69. 780 print" in the [199]azette. [198]or your convenience,"
  70. 790 print" documentation has been included on the"
  71. 800 print" disk, along with a text reader. [215]hen a"
  72. 810 print" [194][207][206][213][211] program is selected from the"
  73. 820 print" menu, you are given the option of"
  74. 830 print" reading the article or running the"
  75. 840 print" program. [213]se the cursor keys to make"
  76. 850 print" your selection, then hit [210][197][212][213][210][206]."
  77. 860 print"      [208][210][197][211][211] [193][206][217] [203][197][217] [198][207][210] [212][200][197] [205][197][206][213]"
  78. 870 getmt$:ifmt$=""then870
  79. 880 return
  80. 900 data caveman,xx,caveman
  81. 910 data ditto,xx,ditto.msg
  82. 920 data times table tutor,xx,times.tutor
  83. 930 data right/side,xx,right/side
  84. 940 data pharaoh's revenge,xx,pharaoh revenge
  85. 945 data tank shootout,xx,tank shootout
  86. 950 data *bonus*  eye-catcher,eyecatcher.a,eye-boot
  87. 960 data *bonus*  bastion,bastion.a,bastion
  88. 970 data compute's gazette art gallery,gallery.a,gallery64
  89. 980 data beginner basic,xx,beg/bas
  90. 990 data 64 mlx,xx,64 mlx
  91. 995 data automatic proofreader,xx,proofreader
  92. 1000 poke53265,27:print"[146]";
  93. 1010 ff$="loading "+chr$(34)+d$+chr$(34)
  94. 1020 printtab((40-len(ff$))/2)ff$
  95. 1030 print"            please stand by[155]":return
  96.