home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 189
/
189.d81
/
loader5
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
69 lines
10 dv=peek(186):print"[147]":gosub8000:gosub8100:print"[147]"
52 open1,dv,1,"ch7":poke780,0:sys65493:close1
54 open1,dv,1,"chset2":poke780,0:sys65493:close1
56 open1,dv,1,"7sprites":poke780,0:sys65493:close1
58 goto500
59 rem***load game***
60 rem
62 rem
200 c$=chr$(34):poke198,4
210 print"[147]load";c$;b$;c$;",dv";
230 poke631,13:poke632,82:poke633,117:poke634,13:end
500 rem*info
502 print"[147][158]":poke53280,0:poke53281,0:print"quick start information"
504 print:print"[159]joystick use js in port 2. up/down for"
506 print"menu choices, left right for steering"
508 print"choices, firebutton to choose option."
510 print"some keyboard input also required."
512 print:print"[159]keyboard use i,k for up/down, j,l for"
514 print"left/right, spacebar to choose option."
516 print:print"[159]landing only at a space station (i.e."
518 print"when large s at top of screen is white).";
520 print"ship must decelerate before landing."
530 print:print"[159]taverns vary from planet to planet."
532 print:print"[159]academies vary from system to system"
534 print:print"[159]code number as your total worth grows"
536 print"code numbers become available enabling"
538 print"you to start with a bonus next game."
540 print:print"[159]please read instructions for more info"
542 print:print"[155]press spacebar to continue...";
550 poke198,0:wait198,1
552 print"[147]":print:print:print:print:print"[159]a load the game"
554 print:print"b read instruction file"
560 print:print:print"please choose a or b"
562 print:print:print"[155]the preceeding quick start info will"
564 print"get you started in the game."
566 print"for more detailed info please read the"
568 print"complete instruction file"
570 poke198,0:wait198,1:getx$
574 ifx$="a"thenb$="gt1":goto200
576 ifx$="b"thenb$="info":goto200
578 goto570
4999 end
5000 rem*mvr
5010 ea=ea+1:l=ea-sa:ne=l+ns
5020 x=int(l/256):y=l-256*x
5030 a=int((ne-y)/256):b=ne-256*a-y
5040 c=int((ea-y)/256):d=ea-256*c-y
5050 poke 781,x+1:poke782,y
5060 poke 88,b+1:poke 89,a
5070 poke90,d+1:poke 91,c
5080 sys41964:poke ns,peek(sa)
5085 return
7999 remrec3
8000 sc=50176
8002 rm=int(sc/16384)
8004 poke56334,peek(56334)and254
8006 poke1,peek(1)and251:sa=53248
8008 ea=55295:ns=51200:gosub5000
8010 poke1,peek(1)or4
8012 poke56334,peek(56334)or1
8014 poke56578,peek(56578)or3
8016 poke56576,(peek(56576)and252)or(3-rm):poke53272,18:poke648,sc/256
8018 return:rempk55,0:56,160bstop40960
8099 rem**spr
8100 v=53248:pokev,84:pokev+1,101:pokev+39,1:pokev+21,0:poke51192,0
8102 forp=49152to49215:pokep,0:next
8104 poke49152,3:poke49153,192
8106 poke49155,3:poke49156,192:return