home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 169
/
169.d81
/
b.anth-flag
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
190 lines
10 poke56,51:clr:poke53281,0:poke53280,0:poke53371,0
20 dv=peek(186):ifdv<8thendv=8
30 print"[147]":gosub60000
32 tq=ti
34 ifti<tq+100then34
40 dimw$(108),f$(250)
50 un=54*256:hg=un+3:sr=205*256:sq=sr+6:id=52*256:cm=14160:in=51*256
52 sys57812"anth 3300-3799",dv,0:poke780,0:poke781,0:poke782,51:sys65493
54 sys57812"anth-flag.shp",dv,0:poke780,0:poke781,0:poke782,64:sys65493
56 print"[147]":poke251,64:poke252,96:poke253,80:sysun
57 tq=ti
58 poke252,96:poke253,80:syshg
60 sys57812"anth font",dv,0:poke780,0:poke781,0:poke782,56:sys65493
80 sys57812"anth c000-cf5f",dv,0:poke780,0:poke781,0:poke782,192:sys65493
82 ifti<tq+100then82
90 fs$="[129][193][206][212][200][197][205][211] [193][206][196] [198][204][193][199][211]"
100 sp$=" "
110 syssr,96,76,56
120 tp$="[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
130 bt$="[164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]"
132 bl$=" "
140 sysid,"$:c.*",dv,0
142 nf=peek(251)+256*peek(252)-1
150 syshg
210 goto600
220 :
230 :rem box
240 :
250 poke214,y:print
260 printtab(x)"[176]"left$(tp$,xx)"[174]"
262 printtab(x)"[170]["left$(sp$,xx-2)"][180]"
270 forii=2toyy:printtab(x)"[170]"left$(sp$,xx)"[180]":next
272 printtab(x+1)"[145]<"tab(x+xx)">"
280 printtab(x)"[173]"left$(bt$,xx)"[189]"
290 return
300 :
310 :rem setup pic/mus/txt
320 :
330 sys57812f$(s+p*16),dv,0:poke780,0:poke781,248:poke782,63:sys65493
332 m1=peek(16378)+256*peek(16379)
334 m2=peek(16380)+256*peek(16381)
336 m3=peek(16382)+256*peek(16383)
338 pokem3-1,42:pokem3,13:pokem3+1,0
340 w$(4)=""
348 fori=0to105
350 w$(i)="":sysin,m2,i:w$(i)=w$
352 ifw$="*"thenh=i-1:i=105
354 next
356 fori=h+1toh+4:w$(i)="":next
360 syscm,m1,128*256,m2-m1
430 return
440 :
450 :rem display/play
460 :
470 poke251,64:poke252,96:poke253,76:sysun
480 poke252,96:poke253,76:syshg
482 poke53280,peek(16377)
490 sys49615:poke781,0:poke782,128:sys49664:poke49152,7:mu=1
500 return
510 :
520 :rem turn off pic/mus
530 :
540 poke49152,0:poke54276,0:poke54283,0:poke54290,0:sys49897:sys49935:mu=0
550 syshg
560 return
570 :
580 :rem loop
590 :
600 s=1
610 print"[147]":poke53272,31
612 gosub880:rem menu
614 iff2thenf2=0:sysid,"$:c.*",dv,0:nf=peek(251)+256*peek(252)-1:goto612
616 syscm,1024,152*256,1000:syscm,55296,156*256,1000
620 poke214,18:print:fori=0to4:printbl$:next
622 poke214,19:print
624 iff1thenprinttab(4)"space [154] next song q [154] quit to menu":goto628
626 printtab(12)"space [154] stop song
628 [153][163]7)"contuse crsr keys to page text
630 gosub330:rem load/setup
632 n=0
640 gosub470:rem display/play
650 syssq-3,"[144][159]"
660 ifpeek(16376)thensyssq-3,"[159]"
670 fori=0to4:syssq,1,20+i,sp$:next
680 fori=0to4
690 iflen(w$(n+i))<3then710
700 syssq,20-int((len(w$(n+i))/2)),20+i,w$(n+i)
710 next
720 syssq-3,"[146]"
730 ifpeek(49152)<>7thena$=" ":goto828
740 geta$:ifa$=""then730
742 iff1thenifa$="q"thenf1=0:g=0:gosub540:goto612
750 ifa$<>""then790
760 ifn>=h-5then730
770 n=n+5
780 goto660
790 ifa$<>""then830
800 ifn<2then730
810 n=n-5
820 goto660
828 ifa$<>" "then730
830 gosub540
832 iff1thens=s+1:ifs+p*16>nfthens=0
834 syscm,152*256,1024,1000:syscm,156*256,55296,1000
838 goto612
840 goto730
850 :
860 :rem menu screen
870 :
880 poke53281,0:poke53280,0
882 ifs=0thens=1:f1=0:goto1050
890 ifg=1then1050
910 g=1:print"[153]":x=2:xx=35:y=0:yy=22:gosub250
920 print"[129]"tab(10)"[176][192][192][174] [176][192][192][174]
930 [153][163]10)"-tantan<sysnthems andfor -tan<syslags
940 printtab(10)"[129][189] [173][192][192][192][192][192][192] [192][189]
950 [153][163]13)"ontantantantan^ or
960 printtab(13)"[158]of the[129] [221][176][174][221][158]orld
970 [153][163]13)"for /exp/exp
972 print"[149][221][160][220][160]"tab(33)"[146][149][221][160][220][160]"
974 print"[149][221][159][160][188][160]"tab(33)"[146][149][221][160][188][160]"
976 print"[149][221]"tab(33)"[221]"
978 print"[149][221]"tab(33)"[221]"
980 p=0
984 poke214,8:print
986 fori=0to7:printbl$:next
988 poke214,8:print
990 fori=1to8:printtab(4)""chr$(i+64);
1000 printtab(6)"[154]"mid$(f$(i+p*16),3);
1010 printtab(21)""chr$(i+72);
1020 printtab(23)"[154]"mid$(f$(i+8+p*16),3):next
1022 print""bl$"[145]":printtab(14)"page[158]"p+1"of[158]"int((nf-1)/16)+1
1028 ifnf>16thenprinttab(9)"+ [154]page up - [154]page down"
1030 poke214,19:print
1032 printtab(9)"r [154]'round the world
1040 [153][163]9)"q contquit
1042 printtab(9)"s [154]swap disk
1050 [139]f1[167][161]a$:[139]a$[178]""[167][142]
1058 [151]198,0
1060 [161]a$:[139]a$[178]""[167]1060
1070 [139]a$[179][177]"r"[167]1100
1080 f1[178]1:s[178]1
1090 [142]
1100 [139]a$[178]"q"[167][141]39900:[137]1040
1110 [139]a$[179]"a"[176]a$[177]"p"[167]1140
1120 s[178][198](a$)[171]64:f1[178]0
1122 [139]f$(s[170]p[172]16)[178]""[167]1060
1130 [142]
1140 [139]a$[179][177]"+"[167]1160
1150 p[178]p[170]1:[139]p[172]16[178][177]nf[167]p[178]p[171]1
1156 [137]984
1160 [139]a$[179][177]"-"[167]1180
1170 p[178]p[171]1:[139]p[178][179]0[167]p[178]0
1176 [137]984
1180 [139]a$[179][177]"s"[167]1060
1182 [151]214,18:[153]:[129]i[178]0[164]4:[153]bl$:[130]
1184 [151]214,19:[153]
1186 [153]" insert disk in drive"dv"
1187 print" press space.
1188 [151]198,0
1190 [161]a$:[139]a$[179][177]" "[167]1190
1192 f2[178]1:g[178]0:[142]
10000 d[178][194](186):n$[178]"b.anth-flag":[159]15,d,15,"s0:"[170]n$:[160]15:[148]n$,d:[128]
39900 [151]214,20:[153]:[153][163]16)"cont? are you sure? (ycont/ncont)on"
39910 [161]a$:[139]a$[178]""[167]39910
39920 [139]a$[178]"y"[167]40000
39930 [153][163]16)"cont on"
39940 [142]
40000 [129]i[178]8[164]29:[151]820[170]i,i:[130]:[139]dv[177]8[175]dv[179]30[167][151]828,dv:[151]820[170]dv,8
40010 a$[178]"presenter":[141]40030:a$[178]"hello connect":[141]40030
40020 [153]"load":[151]53272,23:[151]186,8:[151]2048,0:[151]44,8:[151]43,1:[128]
40030 [129]j[178]8[164]29:i[178][194](820[170]j):[139]i[178]14[167][130]
40040 [160]2:[159]2,i,2:[160]2:[139]st[167]40060
40050 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40070
40060 [130]:[142]
40070 a$[178]"hello connect":q$[178][199](34):[151]646,[194](53281):[153]"load":[151]53272,23
40080 [153]"loadp(NULL)2048,0:p(NULL)44,8:p(NULL)43,1:p(NULL)56,160:p(NULL)55,0:clr:l(NULL)"q$a$q$","i
40090 [153]"run:":[151]631,13:[151]632,13:[151]198,2:[128]
60000 [153]"load":z$[178]" print# ":[151]214,10:[153]
60010 [153]" listfrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefrefre":[129]i[178]0[164]11:[153]z$:[130]
60020 [153]" pokeposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposposprint#"
60030 z$(0)[178]"atn(NULL)(NULL)left$val(NULL)(NULL) atn(NULL)str$ asc(NULL)atnchr$(NULL) (NULL)asc (NULL)left$val (NULL)(NULL)(NULL)(NULL)str$"
60032 z$(2)[178]"by (NULL)arquis, left$arned and (NULL)ucker"
60040 z$(4)[178]"(len) 1998 by mid$ & asc (NULL)ublishing, right$nc.
60050 z$(6)="[212]his program is not shareware
60070 z$(7)[178]"or in the public domain."
60080 z$(9)[178]"1-800-594-3370 or 1-318-221-8718"
60090 [151]214,12:[153]
60100 [129]i[178]0[164]9:[153][163]20[171]([195](z$(i))[173]2))""z$(i):[130]:[142]