home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 83 / 083.d81 / foolstar (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  16KB  |  622 lines

  1. 8 dv=peek(186):ifdv<8thendv=8
  2. 10 poke53280,0:poke53281,0:dimi$(13,13)
  3. 11 poke19,0:poke808,237
  4. 12 printchr$(142)"[147]":ifpeek(787)<>255thengosub60000:poke787,255
  5. 15 fori=54272to54296:pokei,0:next
  6. 16 tp$="[207][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]"
  7. 17 sp$="[180]                                     [170]"
  8. 18 bt$="[204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
  9. 19 dimmu$(19)
  10. 20 mu$(1)=" insulting      "
  11. 21 mu$(2)=" destruction    "
  12. 22 mu$(3)=" unresponsive   "
  13. 23 mu$(4)=" wake up        "
  14. 24 mu$(5)=" 128 look-alike "
  15. 25 mu$(6)=" intruder alert "
  16. 26 mu$(7)=" flattering     "
  17. 27 mu$(8)=" twilight zone  "
  18. 28 mu$(9)=" byte thief     "
  19. 29 mu$(10)=" malfunction    "
  20. 30 mu$(11)=" messenger      "
  21. 31 mu$(12)=" self control   "
  22. 32 mu$(13)=" norad          "
  23. 33 mu$(14)=" frustration    "
  24. 34 mu$(15)=" screen quake   "
  25. 35 mu$(16)=" disable stop   "
  26. 36 mu$(17)=" instructions   "
  27. 37 mu$(18)=" quit program   "
  28. 50 print"[147]"tp$:printsp$:printsp$:printsp$:printbt$
  29. 55 print"[129][213][192][201] [213][192][201] [213][192][201] [201]   [213][192][201] [213][178][201] [213][192][201] [213][192][201]"
  30. 60 print"[171][179]  [221] [221] [221] [221] [221]   [202][192][201]  [221]  [171][192][179] [171][178][203]"
  31. 65 print"[203]   [202][192][203] [202][192][203] [202][192][203] [202][192][203]  [177]  [203] [202] [203][202][203]"
  32. 75 print"[158]"tp$:printsp$
  33. 80 fori=1to9:print"[158]"sp$:print"[145][154]"tab(2)mu$(i)tab(20)mu$(i+9):next:print"[158]"sp$
  34. 90 printbt$
  35. 92 print""tp$
  36. 94 printsp$
  37. 95 print"[180]  [159] use crsr keys/return to select    [170]"
  38. 96 printsp$
  39. 98 printbt$
  40. 270 m=1
  41. 280 poke198,0
  42. 290 poke214,m+5+9*(m>9):print:printtab(2-18*(m>9))""mu$(m)"[145]"
  43. 300 geta$:ifa$<>"[145]"anda$<>""anda$<>"[157]"anda$<>""anda$<>chr$(13)then300
  44. 310 printtab(2-18*(m>9))"[154]"mu$(m)
  45. 320 ifa$=chr$(13)then400
  46. 330 ifa$<>"[145]"then340
  47. 332 m=m-1
  48. 334 ifm<1thenm=18
  49. 338 goto290
  50. 340 ifa$<>""then350
  51. 342 m=m+1
  52. 344 ifm>18thenm=1
  53. 348 goto290
  54. 350 ifa$<>"[157]"then360
  55. 352 m=m-9
  56. 354 ifm<1thenm=m+18
  57. 358 goto290
  58. 360 m=m+9
  59. 362 ifm>18thenm=m-18
  60. 368 goto290
  61. 400 onmgoto937,1600,1950,2150,2400,2540,2750,3000,3250,4000,4350,4500
  62. 410 onm-12goto4800,5200,5400,6000,500,40000
  63. 499 goto290
  64. 500 print"[147]"tp$
  65. 510 fori=1to16:printsp$
  66. 520 next:printbt$
  67. 530 print"[158]"tp$
  68. 535 printsp$
  69. 540 print"[180]            [156]press a key              [158][170]"
  70. 545 printsp$
  71. 550 printbt$
  72. 560 print"[146][159]   this program is a utility to aid"
  73. 570 print"you in seeking revenge on friends,"
  74. 580 print"family or foes who dare to come"
  75. 590 print"near the computer.  great for an"
  76. 600 print"april fool's prank or perhaps to"
  77. 610 print"get back at the bozo who jammed"
  78. 620 print"ice cubes down your shirt."
  79. 630 print"   it works by imitating the"
  80. 640 print"familiar commodore startup screen"
  81. 650 print"which appears every time your c-64"
  82. 660 print"is powered up.  your unsuspecting"
  83. 670 print"victim, however, will not be aware
  84. 680 [153]"that it is booby-trapped."
  85. 690 [141]880
  86. 730 [153]"select a fool's mode from the"
  87. 740 [153]"main menu and a description will"
  88. 750 [153]"be displayed.  you can either use"
  89. 760 [153]"the fool's mode or return to the"
  90. 770 [153]"menu.  if you use it, the computer"
  91. 780 [153]"will go to the familiar blue screen"
  92. 790 [153]"with the regular start-up message."
  93. 800 [153]"   leave the computer on and wait"
  94. 810 [153]"for your victim to come along to"
  95. 820 [153]"use it.  be prepared to run for
  96. 830 print"your life!"
  97. 840 gosub880
  98. 851 print"the 'disable stop' feature may be"
  99. 852 print"activated by selecting it from the"
  100. 853 print"main menu.  it will stop your"
  101. 854 print"victim from being able to break out"
  102. 855 print"of the fool's mode.
  103. 856 [153]"   you can break out of some modes"
  104. 857 [153]"by entering stop openand others by"
  105. 858 [153]"pressing the logo key (c=open) and the"
  106. 859 [153]"back arrow (_open) at the same time.
  107. 860 print"   leave the volume up for best
  108. 861 [153]"results on most of the modes.
  109. 865 geta$:ifa$=""then865
  110. 870 run
  111. 880 geta$:ifa$=""then880
  112. 890 print"":fori=1to14:print"                                    ":next
  113. 895 return
  114. 902 print"[147]"tp$
  115. 904 fori=1to16:printsp$:next
  116. 906 printbt$
  117. 908 print"[158]"tp$
  118. 910 fori=1to3:printsp$:next
  119. 920 printbt$
  120. 930 gosub7000
  121. 932 return
  122. 934 :
  123. 935 :rem  insulting
  124. 936 :
  125. 937 gosub902:printtab(4)"[145][156](u[156])se  (c[156])hange insults  (m[156])enu"
  126. 940 print"[154]this will cause your computer to"
  127. 950 print"insult the user whenever a command"
  128. 960 print"is typed."
  129. 962 print"effective commands:[159] load, save,"
  130. 964 print"print, poke, peek, list, run, new,"
  131. 966 print"restore, and clr."
  132. 1000 geta$:ifa$=""then1000
  133. 1010 ifa$="m"thenrun
  134. 1020 ifa$="c"then1050
  135. 1030 ifa$="u"thenskp=5:goto1120
  136. 1040 goto1000
  137. 1050 print"[147]"tp$
  138. 1060 printsp$:printsp$
  139. 1070 printtab(13)"[145]change insults[158]"
  140. 1080 printsp$
  141. 1090 printbt$
  142. 1100 print"[146][f1] [155]forward  [f3] [155]reverse"
  143. 1110 print"[f5] [155]change   [f7] [155]done"
  144. 1120 fori=1to12:reada$:readb$:i$(i,0)=a$:i$(i,1)=b$:next:tn=1:ifskp=5then1380
  145. 1130 data "load","i think you're already loaded."
  146. 1140 data "save","nothing can save this program."
  147. 1150 data "print","never learned to write, huh?"
  148. 1160 data "list","why bother? this program's spaghetti!"
  149. 1170 data "run","good idea! and far, far away!"
  150. 1180 data "poke","go poke someone your own size."
  151. 1190 data "peek","there are laws for guys like you!"
  152. 1200 data "new","no way! you'll never erase me!"
  153. 1210 data "clr","got something against vowels, bub?"
  154. 1220 data "restore","it's your brain that needs restoring"
  155. 1230 data "no","yes!!"
  156. 1240 data "yes","no!!"
  157. 1260 poke214,16:print:print"  -------------------------------------"
  158. 1265 print"  -------------------------------------"
  159. 1267 poke214,13:print:print"[156]#"tn"[157] "
  160. 1270 poke781,16:sys59903:poke214,15:print:print"[158]"i$(tn,0)
  161. 1290 poke781,20:sys59903:poke214,19:print:print"[158]"i$(tn,1)
  162. 1310 getx$:ifx$<"[133]"ora$>"[136]"then1310
  163. 1315 ifx$="[133]"thentn=tn+1:poke54296,15:poke54296,0:iftn>12thentn=1
  164. 1320 ifx$="[134]"thentn=tn-1:poke54296,15:poke54296,0:iftn<1thentn=12
  165. 1330 ifx$="[135]"then1360
  166. 1340 ifx$="[136]"then1380
  167. 1350 goto1267
  168. 1360 poke781,20:sys59903:poke214,19:print
  169. 1370 poke19,54:input"";i$(tn,1):goto1267
  170. 1380 goto1399
  171. 1381 poke53280,14:poke53281,6:print"[147][154]**** commodore 64 basic v2 ****"
  172. 1390 print" 64k ram system  38911 basic bytes free":skp=0:return
  173. 1399 gosub1381
  174. 1400 print"ready."
  175. 1410 poke19,54:inputa$:ifa$=""thenprint
  176. 1420 ifleft$(a$,4)="load"thenprint:print:printi$(1,1):goto1400
  177. 1430 ifleft$(a$,4)="save"thenprint:print:printi$(2,1):goto1400
  178. 1440 ifleft$(a$,5)="print"thenprint:print:printi$(3,1):goto1400
  179. 1450 ifleft$(a$,4)="list"thenprint:print:printi$(4,1):goto1400
  180. 1460 ifleft$(a$,3)="run"thenprint:print:printi$(5,1):goto1400
  181. 1470 ifleft$(a$,4)="poke"thenprint:print:printi$(6,1):goto1400
  182. 1480 ifleft$(a$,4)="peek"thenprint:print:printi$(7,1):goto1400
  183. 1490 ifleft$(a$,3)="new"thenprint:print:printi$(8,1):goto1400
  184. 1500 ifleft$(a$,3)="clr"thenprint:print:printi$(9,1):goto1400
  185. 1510 ifleft$(a$,7)="restore"thenprint:print:printi$(10,1):goto1400
  186. 1520 ifleft$(a$,2)="no"thenprint:print:printi$(11,1):goto1400
  187. 1530 ifleft$(a$,3)="yes"thenprint:print:printi$(12,1):goto1400
  188. 1550 ifval(left$(a$,2))>0thenprint:goto1410
  189. 1555 ifa$="stop"thenrun
  190. 1560 ifa$<>""thenprint:print:print"?syntax error":goto1400
  191. 1580 goto1410
  192. 1597 :
  193. 1598 :rem  destruction
  194. 1599 :
  195. 1600 gosub902
  196. 1610 print"[150]self destruction..."
  197. 1620 print"have you ever seen a computer"
  198. 1630 print"demolish itself?  well, your"
  199. 1640 print"unsuspecting friend will."
  200. 1660 print"[158]this will make it seem like your"
  201. 1670 print"commodore is suicidal."
  202. 1675 print"[156]turn up the volume!"
  203. 1680 geta$:ifa$=""then1680
  204. 1690 ifa$="m"thenrun
  205. 1695 ifa$="u"then1700
  206. 1697 goto1680
  207. 1700 gosub1381
  208. 171