home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppy Magazine 1988 #3
/
Floppy_Magazine_88-3_1988_Megasystems_Oy_fi_Side_A.d64
/
mx
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
8KB
|
237 lines
100 rem: copyright by protocol prod. oy 101 rem: valikon teki toni luode ad.-87
110 sys51676
120 poke53269,.:sys49422:yz=1:gosub190:gosub920:x=-1:remdimsc(127),sc$(25,40)
140 reada$,a$,a$:ifval(a$)>=.thenx=x+1:goto140
150 restore:x=x+15:dim n$(x),f$(x),e$(x)
160 fort=0to7:n$(t)="":f$(t)="":e$(t)="":next
170 fort=8tox-7:readn$(t),f$(t),e$(t):next
180 fort=x-6tox:n$(t)="":f$(t)="":e$(t)="":next
190 cd$=""
200 sys50432:sys49840:sys49984
201 print"[156]";
205 ifyz=1andsc=.thenprintleft$(cd$,13);"[212][197][210][214][197][212][213][204][207][193] [198][204][207][208][208][201][203][211][197][197][206] 3/88!"
240 printcd$;"[156]([195]) [208]rotocol [208]roductions [207]y"
260 ifsc=.ormu=1thengosub920
262 ifyz=1thenyz=0:sys50416:return
265 sys51662:printleft$(cd$,4)
270 ifn0=.thenn0=8:t=.:goto290
272 t=n0-8
280 printtab(4)n$(t):ift=xort=n0+8then300
282 t=t+1:goto280
290 printtab(4)n$(t):ift=16then300
292 t=t+1:goto290
300 poke198,0:sys49467:sys50432:sc=.:ifmu=.andzz=.thensys50880:sc=1:zz=1:goto302
301 ifmu=.thensys50665:sc=1
302 sys49920
304 geti$:print"":ifi$=""then304
310 i=asc(i$)
312 ifi=17thensys49920:goto360
320 ifi=145thensys49920:goto390
330 ifi=13thenpm=.:goto440
340 ifi=32thenpm=1:goto440
350 goto304
360 ifn0=x-7thensys49920:goto304
370 n0=n0+1:sys50288:ifn0+8>xthen302
380 printleft$(cd$,21)spc(4)n$(n0+8)
382 ifval(e$(n0))=.then360
384 goto302
390 ifn0=8thensys49920:goto304
400 n0=n0-1:sys50352:ifn0<8then302
410 print" "n$(n0-8)
420 ifval(e$(n0))=.then390
422 goto302
440 sys49840:ifright$(e$(n0),1)<>"b"andbp=0then449
441 sys49920:ifbp=1then448
442 printleft$(cd$,13);"[211][217][220][212][219] [194]-[208][213][207][204][201] [204][197][214][217][193][211][197][205][193][193][206]":bp=1
444 print"[202][193] [208][193][201][206][193] [202][207][212][193][201][206].":poke198,0:wait198,1:poke198,0
446 goto449
448 printleft$(cd$,13);"[211][217][220][212][219] [193]-[208][213][207][204][201] [204][197][214][217][193][211][197][205][193][193][206]":bp=0
449 sys49840
450 v=val(e$(n0)):f$=f$(n0):n$=n$(n0):sys49467:off=.:ifpeek(49875)=1thenoff=1
452 ifright$(f$,2)<>".n"thentu=1:goto460
455 poke816,165:poke817,244:f$=left$(f$,len(f$)-2):poke49875,0:tu=0
456 rem 0=nothing:1=help:2=music:3=load"",8:4=load"",8,1:5=easy script file
458 rem 6=newsroom photo:7=koalapainter picture:8=doodle picture:>8=load+sys
460 sys51648:sys49920
462 if(n1<>n0)orpmthen468
464 sys50048:ifv>=6andv<=8then2006
466 onvgoto650,896,570,600,512
468 n1=n0
469 sys50048:ifv<>2thengosub900
470 poke53269,.:ifv>=6andv<=8then2000
472 ifv>8then610
480 onvgoto640,890,570,600,490
490 f$=f$+",s":gosub500:sys50416:goto200
500 ifv<>5thenreturn
505 ifpmthenpm=.:goto520
510 gosub860:open1,8,0,f$:sys16384:return
512 poke53269,0:sys17080:sys50416:goto200
520 sys49840:printleft$(cd$,13);"[212]ulostetaanko teksti (k/e) ? [146]":sys49920
530 geta$:print"":ifa$=""ora$<>"e"anda$<>"k"then530
540 sys50048:ifa$="e"thensys49920:return
550 gosub860:open2,4,7:cmd2:open1,8,0,f$:sys50592:close1:close2:sys49920:return
570 gosub3000:ifza>0thengosub620:goto200
580 gosub860:gosub630:print"";:gosub624
586 print":clr:p[207]198,1:p[207]631,131"
590 print"load"chr$(34)f$chr$(34)",8":poke198,1:poke631,13:end
600 gosub3000:ifza>0thengosub620:goto200:rem:load"",8,1
602 gosub860:gosub630:print"";:gosub624
606 print":clr:p[207]198,1:p[207]631,131"
608 print""chr$(34)f$chr$(34)",8,1":poke198,1:poke631,13:end
610 gosub3000:ifza>0thengosub620:goto200:rem:load"",8,1+sys...?
612 gosub860:gosub630:print"";:gosub624
615 print":clr:p[207]198,2:p[207]631,13:p[207]632,13"
616 print"load"chr$(34)f$chr$(34)",8,1":poke198,1:poke631,13
618 print"sys";v;"":end
620 if off then poke49875,off
622 return
624 iftu=.orpeek(49875)=.thenprint"sys53226";
626 iftu=1andpeek(49875)=1thenprint"sys53184";
628 return
630 sys64789:sys65409:sys64931:sys49467:poke646,14:poke53272,20:return
640 f$="apua":gosub660:gosub2030:sys50032:goto200
650 gosub660:sys50037:goto200
660 poke53269,.:mu=.:zz=1:sys50886:return
860 poke53269,.
865 rk=rk+1:gosub900:if rk>5then rk=1
870 v$="mainos"+right$(str$(rk),1)
880 open1,8,2,v$+",s":sys16999:return
890 sys50416:ifmu=1thenmu=.:gosub900:goto200
892 mu=1:sys49920:gosub2030:sys49493:gosub920:sys49920:goto200
896 sys50416:ifmu=.thenmu=1:sys49920:sys49498:gosub920:sys49920:goto200
898 goto890
900 mu=.:sys49502:return
920 sys50416:sys50912
922 printcd$;"[156][198][204][207][208][208][217] [205][193][199][193][218][201][206][197], [203][197][211][219][203][213][213], 3/88";:return
925 rem********************************
930 rem 0=nothing:1=help:2=music:3=load"",8:4=load"",8,1:5=easy script file
940 rem 6=newsroom photo:7=koalapainter picture:8=doodle picture:>8=load+sys
945 rem********************************
950 data "[154][193][208][213][193]",apua,1
951 data ,,0
960 data "[154][212][193][213][211][212][193][205][213][211][201][201][203][203][201]","music",2
961 data ,,0
970 data "[208][219][219][203][201][210][202][207][201][212][213][211]",paakirj3/88,5
971 data ,,0
972 data "[154][212]oimitus",toimitus,5
980 data ,,0
990 data "[211]is[lt\ 3/88",sisalto3/88,5
999 data ,,0
1000 remdata "[213][213][212][212][193] [205][193][193][201][204][205][193][204][212][193]",,0
1001 remdata ,,0
1230 remdata "[212][197][211][212][193][213][203][211][197][212] [202][193] [193][210][214][207][211][212][197][204][213][212]",,0
1231 data "[205][193][193][201][204][205][193][206][205][201][197][200][201][219]",,0
1235 data ,,0
1242 data " [211]cott [193]dams - tekstipelinero",scott*adams,5
1299 data ,,0
1300 data "[207][200][202][197][204][205][207][201][202][201][204][204][197] [202][193] [208][197][204][193][193][202][201][204][204][197]",,0
1301 data ,,0
1341 data " [206]iksipalstan kuulumiset",niksit3/88,5
1342 data " [202]eea [213]turt ja ertetityruaset",jeea uturt*,5
1343 data " [193]jankohtaista asiaa.",ajankoht3a/88,5
1344 data " [193]jankohtaista asiaa/2.",ajankoht3b/88,5
1345 data " [208]ieni tutustumiminen [199]ame[215]orldiin",gameworld,5
1399 data ,,0
1400 data "[202][207][203][193] [206][213][205][197][210][207][211][211][193]",,0
1401 data ,,0
1402 data " [204]ukijoiden ihmettelyj[",lukijat3/88,5
1403 data " [204][213][203][201][202][193][203][201][204][208][193][201][204][213]",kilpa*3/88,5
1430 data ,,0
1431 data "[205][193][201][206][207][203][211][197][212]",,0
1435 data ,,0
1440 data " [199][213][210][213] -supersoftaa!!!",ddguru88,8
1441 data " [198]loppis - mahtilehti! [212]ilaa!",ddfm2/88*,8
1442 data " [199]ame[215]orld - kannattaa k[yd[!",ddgameworld,8
1443 data " [211]upersoftaa: [199]ame[208]ack!!!",ddgamepack!,8
1450 data ,,0
1451 data "[212][219][205][219][206] [206][213][205][197][210][207][206] [207][200][202][197][204][205][201][211][212][193]",,0
1455 data ,,0
1465 data " [208]aha [202]uttu [201][201][201]",paha juttu*,5
1470 data " [194]lack [212]rack",black track.*,5b
1500 data ,,0
1530 data "[200][217][220][212][217][207][200][202][197][204][205][193][212]",,0
1535 data ,,0
1541 data " [201]nterdoodle 1.81",inter*,4b
1542 data " [194]lack [212]rack",black*,4b
1550 data ,,0
1551 data "[205][213][213][212] [200][217][220][196][217][204][204][201][211][197][212] [207][200][202][197][204][205][193][212]",,0
1555 data ,,0
1565 remdata " [196]&[196] [193][201][196] [201][201]",d&d aid*.n,4
1570 data " [203]onekirjoitustesti",kirj.nop.t*,3b
1571 remdata " [203]alenteri vuodelle 1988",1988,3
1600 data ,,0
1601 data "[211][197][201][203][203][193][201][204][213][208][197][204][201][212]",,0
1605 data ,,0
1610 data " [201]lpon [211]eikkailut",ilpoloader.n,3b
1611 data " [208]aha [202]uttu [201][201][201]",pahaloader,4b
1700 data ,,0
1701 remdata "[205][213][213][212] [208][197][204][201][212]",,0
1705 remdata ,,0
1720 data ,,0
1721 data "[205][213][213][212] [207][200][202][197][204][205][193][212]",,0
1725 data ,,0
1726 data " [203]arvinen -show 3",karvinen -*,4
1727 data " [196]emo [201]",demo i,4b
1990 data ,,-1
1999 rem*******************************
2000 gosub2030:ifv=6then c1=10:c2=0:poke49872,c1:poke49873,c2
2002 ifpmthenpm=.:ifv<>7thenpoke49874,v-6:sys50927:n1=0:goto3100
2004 poke49874,v:sys49819:goto200
2006 ifv=6then c1=10:c2=0:poke49872,c1:poke49873,c2
2008 poke49874,v:sys49964:goto200
2010 rem: color 1&2 ( c1 & c2 ) newsroomissa, arvot 0-15
2030 iflen(f$)>16thenf$=left$(f$,16)
2032 n$=right$(n$,len(n$)-2):sys49952:iflen(n$)>32thenn$=left$(n$,32)
2040 poke49882,len(f$):poke49883,len(n$)
2050 fory=1tolen(f$):poke49903+y,asc(mid$(f$,y,1)):next
2052 ifv<6orv>8then2072
2060 fory=1tolen(n$):n=asc(mid$(n$,y,1))
2070 poke51471+y,n:next
2072 ifmu=.thengosub860
2080 return
3000 open15,8,15:open2,8,2,"0:"+f$+",p,r":input#15,za,zb$,zc,zd:close2:close15
3005 ifza=.thenreturn
3010 sys49840:sys49984:print"[207][200][202][197][204][205][193][193] [197][201] [204][220][217][212][217][206][217][212]. [212]arkista"
3015 print"onko oikea levynpuoli sis[ll[."
3020 print"[205]ik[li vika ei kuitenkaan ole"
3025 print"siin[, tarkista muut kytkenn[t."
3030 print"'_'-n[pp[imest[ takaisin valikkoon.":poke198,0
3035 print"[205]uista n[pp[imist[ lataus jatkuu.":sys50416:sys50672:sys50432
3040 getwc$:print"":ifwc$=""then3040
3042 ifwc$="_"thenreturn
3044 sys50048:poke53269,0:goto3000
3100 rem kuvan printtausrutskut
3102 sys50416:sys49984:sys50432
3104 sys49840:sys50665
3110 print"";tab(11);"[203][213][214][193][206] [208][210][201][206][212][212][193][213][211]":printtab(11);"[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
3112 print" 1 [146]801/1525 -[196]umppi"
3114 print" 2 [146][201][206][212][197][210][198][193][195][197]-[198]astdump"
3116 print" 3 [146]802 -[196]umppi"
3118 print" 4 [146][208][207][201][211]."
3120 print"[198][193][211][212][196][213][205][208] on tarkoitettu [201][206][212][197][210][198][193][195][197]-"
3122 print"printtereille. [203]uvien printtaus on"
3124 print"tehty [196][207][207][196][204][197]- ja [206][197][215][211][210][207][207][205]-kuville.":poke198,0
3130 getwc$:print"":ifwc$=""orwc$<"1"orwc$>"4"then3130
3132 on(val(wc$))goto3140,3150,3160,200
3134 print"[156] [208][210][201][206][212][193][212][212][193][214][193] [203][213][214][193]: ";n$:print" [212][217][217][208][208][201]: [196][207][207][196][204][197][157][157][157][157][157][157][157]";
3135 ifv=6thenprint"[206][197][215][211][210][207][207][205]";
3136 print:return
3137 print"<< [208][193][201][206][193] [202][207][212][193][201][206] [208][210][201][206][212][193][212][193][203][211][197][211][201] [203][213][214][193][206] >>":poke198,0:wait198,1
3138 poke198,0:return
3139 print" >>> [208][210][201][206][212][212][193][213][211] [203][219][217][206][206][201][211][211][219]. [200][197][212][203][201] <<<":return
3140 sys49840
3142 print"";tab(11);"801/1525 [196][213][205][208][208][201]":printtab(11);"[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
3144 remgosub3134:gosub3137:gosub3139:gosub4000:goto3104
3146 print" 1525-[196][213][205][208][208][201] [212][213][204][197][197] [213][213][212][197][197][206] [214][193][204][201][203][203][207][207][206]. ":ford=1to2000:next
3147 goto3104
3150 sys49840:print"";
3152 printtab(9);"[201][206][212][197][210][198][193][195][197] [198][193][211][212][196][213][205][208]":printtab(9);"[163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
3154 gosub3134:gosub3137:gosub3139:sys51712:goto3104
3160 sys49840:print"";
3162 printtab(14);"802 [196][213][205][208][208][201]":printtab(14);"[163][163][163][163][163][163][163][163][163][163]"
3164 print"[193]nna oikean reunan marginaali";:inputma:poke255,ma
3166 gosub3134:gosub3137:gosub3139:sys52210:goto3104
50000 print"disk in:":inputa$
50001 open15,8,15,"s0:mx":close15:save"mx",8,1:verify"mx",8,1
50002 print"next...":goto50000