home *** CD-ROM | disk | FTP | other *** search
/ Ahoy 1986 April / Ahoy_Magazine_86-04_1986_Double_L.d64 / notemaker (.txt) < prev    next >
Encoding:
Commodore BASIC  |  1986-01-01  |  1.0 KB  |  34 lines

  1. 10 rem diskette note creator
  2. 20 rem by tim gerchmez
  3. 25 poke53281,0:poke53280,15:poke646,1
  4. 30 print"[147]        diskette note creator"
  5. 35 print"you can use the whole screen as a "
  6. 40 print"scribbling pad. (except the topmost "
  7. 45 print"and bottommost line)."
  8. 50 print:print"press return when done."
  9. 55 print"press shift-return if you want to"
  10. 60 print"advance the cursor to the next line."
  11. 62 print:print"the cursor color in use when return is"
  12. 63 print"pressed will be the one used with the":print"notefile."
  13. 64 print:print"you load the notefile with a ,8,1"
  14. 65 print:input"filename";fi$:fi$=fi$+".n":print:print"press return to start."
  15. 70 poke198,0
  16. 75 geta$:ifa$=""then75
  17. 80 print"[147]";:sys65487
  18. 85 open15,8,15,"i0":print#15,"s0:"fi$
  19. 90 close15:open2,8,2,fi$+",p,w"
  20. 95 print#2,chr$(0)chr$(1);
  21. 100 fort=256to514:ct=t:print#2,chr$(2);:next
  22. 105 reada:ifa=256then115
  23. 110 ct=ct+1:print#2,chr$(a);:goto105
  24. 115 ct=ct+1:ifct<2040thenprint#2,chr$(peek(ct));:goto115
  25. 120 close2
  26. 125 print"[147]done."
  27. 130 print:print"another file (y/n)":poke198,0
  28. 135 geta$:ifa$=""then135
  29. 140 ifa$="y"thenrun
  30. 145 ifa$="n"thensys2048
  31. 150 goto 135
  32. 1000 data160,0,173,134,2,153,0,216,153,0,217,153,0,218,153,0,219
  33. 1005 data200,208,241,169,19,32,210,255,76,116,164,256
  34.