home *** CD-ROM | disk | FTP | other *** search
- 10 rem --------------------------------
- 20 rem memo-pad by ian phillips 120784. --------------------------------
- 30 rem written for the use of loadstar. :
- 40 : :
- 100 poke53281,240:poke53280,242:print"[147]"
- 101 print"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 102 forl=1to3:print"[221] [221]";:next
- 103 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";:gosub900
- 104 print"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174][176][192][192][192][192][192][192][192][192][192][192][192][174]";
- 105 print"[221]f1[146] background colours [221][221]f7[146] exit [221]";
- 106 print"[221]f3[146] view memos [221][221] [221]";
- 107 print"[221]f5[146] change/enter new memos[221][221]i[146]nstruction[221]";
- 109 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][173][192][192][192][192][192][192][192][192][192][192][192][189]";
- 110 print" [213][201][213][201][213][192][213][201][213][201][213][192][201] [213][192][201][213][192][201][176][192][201]"
- 120 print" *[221][221][221][221][221][192][221][221][221][221][221]o[221]-[221][192][203][171][192][179][221]o[221]*"
- 130 print" [221][202][203][221][202][192][221][202][203][221][202][192][203] [221][160][160][221][160][221][173][192][203]"
- 140 remprint"[218][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]";
- 141 : :
- 145 clr:dim a$(500):a=1
- 150 open1,8,0,"memo's,s,w"
- 160 input#1,a$(a):ifa$(a)="end"then170
- 165 a=a+1:goto160
- 170 close1
- 180 rem --------------------------------------
- 200 rem -------------------------------
- 201 rem menu -------------------------------
- 202 : :
- 210 getg$:ifg$=""then210
- 220 ifg$="[133]"then400
- 230 ifg$="[134]"then500
- 240 ifg$="[135]"then600
- 261 ifg$="i"then800
- 262 ifg$="[136]"thenprint"[147]":poke53281,240:poke53280,242:goto63000
- 299 goto210
- 400 rem -------------------------------
- 401 rem change colours -------------------------------
- 402 : :
- 403 print"background colours"
- 410 x=int(253*rnd(1))+1:poke53281,x:poke53280,x+2
- 498 print"background colours"
- 499 goto210
- 500 rem -------------------------------
- 501 rem view memo pad -------------------------------
- 502 : :
- 503 print"view memos"
- 505 gosub900:m=0:a=0:print""
- 506 ifm=6thengosub900:m=0:print""
- 510 m=m+1:a=a+1:ifa$(a)="end"then 540
- 515 print""a$(a)""
- 520 getg$:ifg$="[134]"thengoto506
- 530 goto520
- 540 print"------------------------------------"
- 541 getg$:ifg$="[134]"thengoto598
- 542 goto541
- 598 print"view memos"
- 599 gosub900:goto210
- 600 rem -------------------------------
- 601 rem add/change memos -------------------------------
- 602 : :
- 603 print"change/enter new memos":gosub900
- 604 print"e[146]nter new memo's or c[146]hange old ones?"
- 605 getg$:ifg$="e"then655
- 606 ifg$<>"c"then605
- 607 a=0:m=0
- 608 gosub900:goto610
- 609 gosub900:m=0
- 610 gosub900:h$="":a=a+1
- 611 :
- 612 ifa$(a)="end"thena=a-1:goto670
- 613 print""a$(a):print"c[146]hange, l[146]eave or r[146]emove?"
- 615 getg$:ifg$=""then615
- 616 ifg$="c"thena$(a)="":goto630
- 617 ifg$="r"thena$(a)="":goto610
- 618 ifg$<>"l"then615
- 619 goto610
- 630 :
- 631 print"change to:":print"";
- 635 getg$:ifg$=chr$(20)thenm=m-2:goto642
- 636 ifg$=chr$(13)thena$(a)=h$:goto609
- 637 ifg$=""then635
- 638 ifasc(g$)>95then635
- 639 ifasc(g$)<31then635
- 640 ifasc(g$)=44then635
- 641 ifasc(g$)=34then635
- 642 m=m+1:h$=h$+g$:printg$;:ifm<>36then635
- 643 print:print"36 characters per line limit.":a$(a)=h$
- 644 getg$:ifg$<>chr$(13)then644
- 650 g$="":goto609
- 655 rem ******adding new memo's********
- 656 gosub900:print"enter new memo:":m=0:print"";:h$=""
- 657 getg$:ifg$=chr$(20)thenm=m-2:goto664
- 658 ifg$=chr$(13)thena$(a)=h$:goto670
- 659 ifg$=""then657
- 660 ifasc(g$)>95then657
- 661 ifasc(g$)<31then657
- 662 ifasc(g$)=44then657
- 663 ifasc(g$)=34then657
- 664 m=m+1:h$=h$+g$:printg$;:ifm<>36then657
- 665 print:print"36 characters per line limit.":a$(a)=h$
- 666 getg$:ifg$<>chr$(13)then666
- 667 g$=""
- 670 gosub900:print"any more new memo's? (y/n)"
- 671 getg$:ifg$="y"thena=a+1:goto655
- 672 ifg$<>"n"then671
- 673 a=a+1:a$(a)="end"
- 690 gosub900:open15,8,15
- 691 print#15,"s0:memo's"
- 692 close15,8,15
- 693 a=1:open1,8,1,"memo's,s,w"
- 694 print#1,a$(a)
- 695 ifa$(a)="end"then697
- 696 a=a+1:goto694
- 697 close1:gosub900
- 698 print"change/enter new memos"
- 699 goto145
- 800 rem -------------------------------
- 801 rem instructions -------------------------------
- 802 : :
- 803 print"insructions"
- 810 print"";
- 840 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
- 841 print"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
- 842 print"[221] instructions: the box at the bottom [221]";
- 843 print"[221]contains all your commands. they light[221]";
- 844 print"[221]up when being used. step by step [221]";
- 846 print"[221]instructions are included throughout [221]";
- 847 print"[221]it, so it's pretty easy. there are a [221]";
- 848 print"[221]couple of things that you should know [221]";
- 849 print"[221]about this program. you can have 500 [221]";
- 850 print"[221]memo's with 36 characters each. if you[221]";
- 851 print"[221]make a copy of this program, also copy[221]";
- 852 print"[221]the sequential file "chr$(34)"memo's"chr$(34)" or you [221]";
- 853 print"[221]will find the program won't work. make[221]";
- 854 print"[221]sure your disk is always in the drive.[221]";
- 855 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
- 856 print"i[146]nsructions"
- 860 print"";
- 899 goto200
- 900 rem -------------------------------
- 901 rem clear memo board**** -------------------------------
- 902 : :
- 910 print"";
- 940 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
- 950 forl=1to13:print" ";:next
- 955 print" ";
- 960 print"";
- 999 return
- 63000 print"[147]load"chr$(34)"payload"chr$(34)",8":print"run"
- 63010 poke631,13:poke632,13:poke198,2:end
-