Home » Personal collection » Acorn ADFS disks » Electron » Shipwrecked_2.ADF » Backup/Game2A

Backup/Game2A

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron » Shipwrecked_2.ADF
Filename: Backup/Game2A
Read OK:
File size: 25C8 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
 1000osbyte=&FFF4:osword=&FFF1:oswrch=&FFEE:P%=0:O%=&5300
 1005zerobyte=&E0:bbcflag=&F5:bbcsh=&F6
 1010[OPT pass
 1020.xch EQUB0:.ych EQUB0:.col EQUB0:.titstat EQUB0:.mdir EQUB0
 1030.xset EQUB0:.yset EQUB0:.xscr EQUB0:.yscr EQUB0:.xpos EQUB0:.ypos EQUB0:.mfine EQUB0:.mtype EQUB0
 1040.scrno EQUB0:.upvelo EQUB0:.xold EQUB0:.yold EQUB0:.fine EQUB0:.sound EQUB1:.clock EQUB0:.titcyc EQUB0:.invflag EQUB0
 1050.face EQUB1:.phase EQUB0:.rghts EQUB0:.wiper EQUB0:.movstag EQUB0:.changed EQUB0:.power EQUB0:.powchange EQUB0:.objects EQUW0:.obch EQUB0:.getstat EQUB0
 1060.vector EQUW0:.lastat EQUB0:.lasad EQUW0:.lasdir EQUB0:.lastep EQUB0:.xf EQUB0:.yf EQUB0:.wirep EQUW0:.xmont EQUB0:.ymont EQUB0:.mflag EQUB0:.monstat EQUB0:.wiperm EQUB0
 1070.scrofd EQUB0:EQUD0:.deaded EQUB0:.clearup EQUB0:.xmoo EQUB0:.ymoo EQUB0:.fnst EQUB0
 1080.scrtxt EQUD0:.shoot EQUB0:.scroll EQUW 0:.ken EQUB0:.stopv EQUB0
 1082.cenx EQUB0:.ceny EQUB0:.gx EQUB0:.gy EQUB0:.gxs EQUB0:.gys EQUB0
 1083.xos EQUB0:.yos EQUB0:.cenxn EQUB0:.cenyn EQUB0:.itemp EQUB0:.zerostat EQUB0
 1085.delyou LDXxmoo:LDYymoo:.mcd STXxset:STYyset:JSRobjrel:JMPblockon:.objrel LDAxset:SEC:SBCcenx:STAxset:LDAyset:SEC:SBCceny:STAyset:RTS
 1100]:IFP%>&70THENPRINT"Code Overflow to:";P%:END
 1110P%=&1000:O%=&5800:[OPT pass
 1120LDY#&80:LDA#0:.zerolop STA&1FFF,Y:DEY:BNEzerolop:LDA#&FF:STAscrtxt+3:SEI:LDA&204:STAvector:LDA&205:STAvector+1:LDA#(irq MOD 256):STA&204:LDA#(irq DIV 256):STA&205:CLI
 1130.prog JSRtitle:JSRblascr:JSRscroff
 1140LDA#1
 1160STApowchange:STAobch:LDY#255:STYpower:STYobjects:STYobjects+1:INY
 1180.game LDA#14:STAxscr:LDA#3:STAyscr:LDA#2:STAxpos:LDA#7:STAypos:JSRscrdisp
 1190.newscr JSRscreen:.oldscr JSRquitch:LDA#0:STAmovstag:LDAfine:BEQmoveslop:STAchanged:LDAwiper:PHA:JSRmainclear:PLA:STAwiper
 1195JSRdoscroll:.moveslop LDAchanged:BEQnodyou:JSRdispyou:.nodyou JSRdispmon:JSRwait:INCmovstag
 1200JSRdoscroll:LDAmovstag:CMP#3:BNEmoveslop:JSRzeropro:LDAmfine:PHA:LDAfine:STAfnst:LDA#0:STAmovstag
 1210STAchanged:STAfine:STAmfine:LDAxpos:SEC:SBC#5:STAcenx:LDAypos:SEC:SBC#7:STAceny:JSRdispyou:JSRdispmon:PLA:STAmfine:JSRwait:JSRmainclear
 1220.finend JSReners:JSRlaser:JSRdeadedch:JSRmonpro:JSRgetoput:LDAupvelo:BEQfallh:JSRjumpup:JMPnofall
 1230.fallh LDAxpos:STAxset:LDAypos:STAyset:JSRgetblock+3:CMP#8:BEQwatt:CMP#10:BEQzerg:CMP#12:BEQzerg:CMP#5:BCCzers:CMP#14:BEQladder
 1235.laddown LDAypos:CMP#9:BEQdownscr:INCyset:JSRgetblock+3:JSRdoorch:BCSfalldown:AND#&30:BEQfalldown:BNEnofall
 1240.downscr LDA#0:STAypos:INCyscr:LDA#5:STAfine:JMPnewscr:.watt JMPzap:.ladder JMP ladderb:.zerg JMP zerogr:.zers JMP zeroch
 1245.leftscr LDA#9:STAxpos:DECxscr:LDXfine:LDAlmoves,X:STAfine:JMPscreen
 1250.falldown LDA#5:STAfine:INCypos:.nofall LDA#((oldscr-1) DIV 256):PHA:LDA#((oldscr-1) MOD 256):PHA
 1260.moveyou LDX#&B6:JSRkeybyte:BCCnjump:JSRjump:.njump LDX#&9E:JSRkeybyte:BCSleft:.nleft LDX#&BD:JSRkeybyte:BCCnright:BCSright
 1270.left LDA#0:STAface:STArghts:LDAxpos:BEQleftscr:SEC:SBC#1:STAxset:LDAypos:STAyset:JSRgetblock+3:JSRdoorch:BCSnoupl:AND#&30:CMP#&10:BEQnomove:CMP#&20:BEQnomove:CMP#&30:BNEnoupl
 1275LDAfine:BNEnright:DECypos:DECxpos:LDA#3:STAfine:.nright RTS
 1280.noupl DECxpos:LDXfine:LDAlmoves,X:STAfine:.nomove RTS:.right LDA#0:STArghts:LDA#1:STAface:LDAxpos:CMP#9:BEQrightscr:CLC:ADC#1:STAxset:LDAypos:STAyset:JSRgetblock+3:JSRdoorch:BCSnoupr:AND#&30:CMP#&10:BEQnomover:CMP#&20:BEQnomover
 1282CMP#&30:BNEnoupr:LDAfine:BNEnosnd
 1290DECypos:LDA#4:.nouprs INCxpos:STAfine:.nosnd RTS:.noupr LDXfine:LDArmoves,X:JMPnouprs:.nomover LDA#1:STArghts:STAchanged:RTS:.rightscr LDA#0:STAxpos:INCxscr
 1292LDXfine:LDArmoves,X:STAfine:JMPscreen
 1300.jump LDAypos:CMP#9:BEQnosnd:CLC:ADC#1:STAyset:LDAxpos:STAxset:JSRgetblock+3:AND#&30:BEQnosnd:LDA#3:STAupvelo:LDAsound:BEQnosnd:LDA#7:LDX#(jumpn MOD 256):LDY#(jumpn DIV 256):JMPosword
 1307.getscrp LDAxset:SEC:SBCcenx:STAgx:LDAyset:SEC:SBCceny:STAgy:RTS
 1309.dsquit LDA#0:STAwiperm:.nowipe RTS
 1310.wipeshr LDA#&80:STAwirep:LDX#8:.wiplb LDY#0:.wiplop LDA(wirep),Y:STA(&78),Y:INY:CPY#8:BNEwiplop:DEX:BEQnowipe:LDAwirep:CLC:ADC#8:STAwirep:LDA&78:ADCadlo,X:STA&78:LDA&79:ADCadhi,X:JSRscrolw:STA&79:JMPwiplb
 1320.disps1 LDA#1:STAwiper:.disps2 LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:BEQdsquit:CMP#9:BCSdsquit:LDAgy:BEQdsquit:CMP#15:BCSdsquit
 1325LDAgx:ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADCscroll:STA&70:LDA#0:ADCscroll+1:STA&71:LDAgx:LSR A:LSR A:CLC:ADC&71:STA&71:LDAgy:CLC:ADC&71:STA&71:LDAgy:ASL A:ASL A:CLC:ADC&71:STA&71:LDY#0
 1330STY&72:LDA#&1A:STA&73:LDXmovstag:LDAsequen,X:CLC:ADCfine:TAX:LDA&70:CLC:ADClowad,X:STA&70:LDA&71:ADChighad,X:JSRscrolw:LDAmflag:BNEmonsadr:CPX#0:BEQnophase:LDAmovstag:CMP#2:BEQnophase:LDXphase:INX
 1340.addph LDA&72:CLC:ADC#&80:STA&72:LDA&73:ADC#0:STA&73:DEX:BNEaddph:LDAphase:EOR#1:STAphase:JMPnophase:.monsadr LDAmonstat:EOR#1:STAmonstat:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADC#&80:STA&72:LDA#&1B:STA&73
 1350LDAmtype:CMP#2:BNEnotyptr:LDA&72:CLC:ADC#&80:STA&72:LDA&73:ADC#0:STA&73:.notyptr JMPleface
 1360.nophase LDArghts:BEQnotrght:LDA&70:CLC:ADC#32:STA&70:LDA&71:ADC#0:STA&71:.notrght LDAface:BNEleface:LDA&72:CLC:ADC#&20:STA&72:.leface LDA&70:STA&78:LDA&71:STA&79
 1370LDX#8:.lbdisp LDY#0:.ladisp LDA(&70),Y:STA(wirep),Y:ORA(&72),Y:STA(&70),Y:INY:CPY#8:BNEladisp:DEX:BEQwaitend:LDAwirep:CLC:ADC#8:STAwirep:LDA&72:ADCorad,X:STA&72:LDA&73:ADC#0:STA&73:LDA&70:ADCadlo,X:STA&70:LDA&71:ADCadhi,X:JSRscrolw
 1380JMPlbdisp
 1390.wait LDAclock:CMP&80:BNEwait:ADC#5:STA&80:.waitend TYA:RTS
 1400.jumpup DECupvelo:LDAypos:BEQupscr:SEC:SBC#1:STAyset:LDAxpos:STAxset:JSRgetblock+3:JSRdoorch:BCSupone:AND#&30:BEQupone:LDA#0:STAupvelo:RTS:.upone LDA#6:STAfine:DECypos:RTS:.upscr DECyscr:LDA#9:STAypos:LDA#6:STAfine
 1401PLA:PLA:JMPnewscr
 1410.resetscr LDA#0:STAscroll:LDA#&30:STAscroll+1:.sheila LDXbbcflag:BNEbbcsheila:LSR A:STA&FE03:LDAscroll:ROR A:STA&FE02:RTS:.bbcsheila JSRcalcbbc:LDA#12:STA&FE00:LDAbbcsh:STA&FE01:LDA#13:STA&FE00:LDAbbcsh+1:STA&FE01:RTS
 1411.screen LDXfine:LDAcenx:CLC:ADCadjust,X:STAcenx:LDAceny:CLC:ADCadjusty,X:STAceny:JSRmonset:LDA#0:STAclearup:STAlastat:STAinvflag
 1412LDAxpos:STAxold:LDAypos:STAyold:RTS
 1415.scrdisp LDAxpos:SEC:SBC#5:STAcenx:LDAypos:SEC:SBC#7:STAceny:.titdisp JSRscroff:LDA#&FF:STAyset:.ylop LDA#&FF:STAxset:INCyset
 1420.xlop INCxset:JSRblockon:LDAxset:CMP#9:BNExlop:.nexty LDAyset:CMP#15:BNEylop
 1430.scron LDA#17:STAscrofd:.scronlop LDA#&C:LDX#(scrofd MOD256):LDY#(scrofd DIV256):JSRosword:DECscrofd:LDAscrofd:AND#7:STAscrofd+1:LDAscrofd:BNEscronlop:LDAclock:CLC:ADC#4:STA&80:LDA#0:STAwiper:STAwiperm:LDA#1:STAchanged:RTS
 1440.ladderb LDX#&97:JSRkeybyte:BCSfallset:LDX#&B6:JSRkeybyte:BCCstable:LDA#1:STAupvelo:JSRjumpup:JMPoldscr:.stable JMPnofall:.fallset JMPladdown
 1450.blockon JSRobjcheck:JSRgetblock:LDAxset:CMP#&FF:BNEnotls:LDA#9:STAxset:.notls ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADCscroll:STA&70:LDA#0:ADCscroll+1:STA&71:LDAxset:LSR A:LSR A:CLC:ADC&71
 1455CLC:ADCyset:STA&71:LDAyset:ASL A:ASL A:CLC:ADC&71:JSRscrolw
 1460LDA&72:LSR A:LSR A:CLC:ADC#&20:STA&73:LDA&72:CMP#30:BEQdoorcol:LSR A:ROR A:ROR A:AND#&C0:STA&72:LDY#0
 1470.transtop LDA(&72),Y:AND#&3F:STA&74:LDA(&70),Y:AND#&C0:CLC:ADC&74:STA(&70),Y:INY:CPY#&40:BNEtranstop:LDY#0:LDA&72:CLC:ADC#&40:STA&72:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:JSRscrolw
 1480.transbot LDA(&72),Y:AND#&3F:STA&74:LDA(&70),Y:AND#&C0:CLC:ADC&74:STA(&70),Y:INY:CPY#&40:BNEtransbot:RTS:.doorcol JMPlocktype
 1490.getrelt LDAxscr:STAgxs:LDAcenx:CLC:ADCxset:.xretr STAgx:CMP#10:BCCxoverf:CMP#&80:BCCxoverr:ADC#9:DECgxs:JMPxretr:.xoverr SEC:SBC#10:INCgxs:JMPxretr
 1495.xoverf LDAyscr:STAgys:LDAceny:CLC:ADCyset:.yretr STAgy:CMP#10:BCCyoverf:CMP#&80:BCCyoverr:ADC#9:DECgys:JMPyretr:.yoverr SEC:SBC#10:INCgys:JMPyretr:.yoverf RTS
 1497.getblr JSRgetrelt:JMPblockcalc:.gettrue LDAxset:STAgx:LDAyset:STAgy:LDAxscr:STAgxs:LDAyscr:STAgys:JMPblockcalc:.getblock JMPgetblr:JMPgettrue:.blockcalc LDAgxs:CMP#16:BCSoffside:LDAgys:CMP#6:BCConsc:.offside LDAclock:AND#1:STA&72:RTS
 1498.onsc LDA#&20:CLC:ADCgxs:STA&71:LDAgys:ASL A:ASL A:ASL A:ASL A:CLC:ADC&71:STAscrno
 1500STA&71:LDAgy:STA&70:ASL A:ASL A:ASL A:PHA:CLC:ADC&70:STA&70:PLA:ASL A:CLC:ADC&70:STA&70:LDYgx:LDAxdata,Y:TAY:LDA(&70),Y:ROL A:ROL A:ROL A:AND#3:STA&72:INY:LDA(&70),Y:LSR A:LSR A:LSR A:LSR A:AND#12
 1510CLC:ADC&72:STA&72:LDAgx:LSR A:TAY:LDAhbdat,Y:TAY:LDA(&70),Y:STA&73:LDAgx:AND#1:BNEbit2:LDA&73:ASL A:ROL A:ROL A:JMPfbgot
 1520.bit2 LDA&73:ASL A:ROL A:.fbgot AND#1:ASL A:ASL A:ASL A:ASL A:CLC:ADC&72:ASL A:STA&72:RTS
 1530.blascr JSRresetscr:JSRscroff:LDY#0:STY&70:LDA#&30:STA&71:.blanlop LDA(&70),Y:AND#&C0:STA(&70),Y:INY:BNEblanlop:INC&71:LDA&71:CMP#&80:BNEblanlop:JMPscron
 1540.putch ASL A:ASL A:ASL A:TAX:LDAscroll:STA&70:LDAscroll+1:STA&71:LDYxch
 1550.xlopc BEQnoxch:LDA&70:CLC:ADC#&20:STA&70:LDA&71:ADC#0:STA&71:DEY:JMPxlopc
 1560.noxch LDYych:.ylopc BEQnoych:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71:DEY:JMPylopc
 1570.noych JSRscrolw:LDY#0:.sline LDA&C00,X:.linelop PHA:ASL A:ROL A:ROL A:AND#3:BEQblanch:STAitemp:LDA#0
 1575.colch CLC:ADCcol:DECitemp:BNEcolch:.blanch STAitemp:LDA(&70),Y:AND#&C0:ORAitemp:EORinvflag:STA(&70),Y:TYA:CLC:ADC#8:TAY:CMP#&20:BCSnewlin
 1580PLA:ASL A:ASL A:JMPlinelop:.newlin AND#7:TAY:PLA:INY:INX:CPY#8:BNEsline:RTS
 1582.scrolw CMP#&80:BCCnoscrolw:SEC:SBC#&50:.noscrolw STA&71:RTS
 1583.keybyte CPXzerobyte:BEQautokey:CPXzerobyte+1:BEQautokey:LDA#&81:LDY#&FF:JMPosbyte:.autokey SEC:RTS
 1585.lmoves EQUB1:EQUB1:EQUB1:EQUB1:EQUB1:EQUB7:EQUB3
 1586.rmoves EQUB2:EQUB2:EQUB2:EQUB2:EQUB2:EQUB8:EQUB4
 1590.eners LDX#&DD:JSRkeybyte:BCCnoe:LDAken:BNEked:LDApower:STAken:STAes+4:LDA#7:LDX#(es MOD 256):LDY#(es DIV 256):JSRosword:LDA#0:STAes+4:LDA#7:LDX#(es MOD 256):LDY#(es DIV 256):JMPosword:.noe LDA#0:STAken:.ked RTS
 1600.es EQUW1:EQUW-10:EQUW0:EQUW5
 1602EQUB0:.hors EQUB2:EQUB5:EQUB7:EQUB10
 1604EQUB0:.vers EQUB4:EQUB8:EQUB12:EQUB16
 1607.name EQUB9:EQUB18:EQUB14:EQUB23:EQUB17:EQUB5:EQUB15:EQUW0:EQUB23:EQUB23:EQUB23:EQUB255
 1610]:ENDPROC
�8osbyte=&FFF4:osword=&FFF1:oswrch=&FFEE:P%=0:O%=&5300
�&zerobyte=&E0:bbcflag=&F5:bbcsh=&F6
�
[OPT pass
�?.xch EQUB0:.ych EQUB0:.col EQUB0:.titstat EQUB0:.mdir EQUB0
e.xset EQUB0:.yset EQUB0:.xscr EQUB0:.yscr EQUB0:.xpos EQUB0:.ypos EQUB0:.mfine EQUB0:.mtype EQUB0
y.scrno EQUB0:.upvelo EQUB0:.xold EQUB0:.yold EQUB0:.fine EQUB0:.sound EQUB1:.clock EQUB0:.titcyc EQUB0:.invflag EQUB0
�.face EQUB1:.phase EQUB0:.rghts EQUB0:.wiper EQUB0:.movstag EQUB0:.changed EQUB0:.power EQUB0:.powchange EQUB0:.objects EQUW0:.obch EQUB0:.getstat EQUB0
$�.vector EQUW0:.lastat EQUB0:.lasad EQUW0:.lasdir EQUB0:.lastep EQUB0:.xf EQUB0:.yf EQUB0:.wirep EQUW0:.xmont EQUB0:.ymont EQUB0:.mflag EQUB0:.monstat EQUB0:.wiperm EQUB0
.X.scrofd EQUB0:EQUD0:.deaded EQUB0:.clearup EQUB0:.xmoo EQUB0:.ymoo EQUB0:.fnst EQUB0
8E.scrtxt EQUD0:.shoot EQUB0:.scroll EQUW 0:.ken EQUB0:.stopv EQUB0
:E.cenx EQUB0:.ceny EQUB0:.gx EQUB0:.gy EQUB0:.gxs EQUB0:.gys EQUB0
;P.xos EQUB0:.yos EQUB0:.cenxn EQUB0:.cenyn EQUB0:.itemp EQUB0:.zerostat EQUB0
=�.delyou LDXxmoo:LDYymoo:.mcd STXxset:STYyset:JSRobjrel:JMPblockon:.objrel LDAxset:SEC:SBCcenx:STAxset:LDAyset:SEC:SBCceny:STAyset:RTS
L']:�P%>&70��"Code Overflow to:";P%:�
VP%=&1000:O%=&5800:[OPT pass
`�LDY#&80:LDA#0:.zerolop STA&1FFF,Y:DEY:BNEzerolop:LDA#&FF:STAscrtxt+3:SEI:LDA&204:STAvector:LDA&205:STAvector+1:LDA#(irq � 256):STA&204:LDA#(irq � 256):STA&205:CLI
j&.prog JSRtitle:JSRblascr:JSRscroff
t	LDA#1
�ESTApowchange:STAobch:LDY#255:STYpower:STYobjects:STYobjects+1:INY
�M.game LDA#14:STAxscr:LDA#3:STAyscr:LDA#2:STAxpos:LDA#7:STAypos:JSRscrdisp
�~.newscr JSRscreen:.oldscr JSRquitch:LDA#0:STAmovstag:LDAfine:BEQmoveslop:STAchanged:LDAwiper:PHA:JSRmainclear:PLA:STAwiper
�_JSRdoscroll:.moveslop LDAchanged:BEQnodyou:JSRdispyou:.nodyou JSRdispmon:JSRwait:INCmovstag
�eJSRdoscroll:LDAmovstag:CMP#3:BNEmoveslop:JSRzeropro:LDAmfine:PHA:LDAfine:STAfnst:LDA#0:STAmovstag
��STAchanged:STAfine:STAmfine:LDAxpos:SEC:SBC#5:STAcenx:LDAypos:SEC:SBC#7:STAceny:JSRdispyou:JSRdispmon:PLA:STAmfine:JSRwait:JSRmainclear
�e.finend JSReners:JSRlaser:JSRdeadedch:JSRmonpro:JSRgetoput:LDAupvelo:BEQfallh:JSRjumpup:JMPnofall
΃.fallh LDAxpos:STAxset:LDAypos:STAyset:JSRgetblock+3:CMP#8:BEQwatt:CMP#10:BEQzerg:CMP#12:BEQzerg:CMP#5:BCCzers:CMP#14:BEQladder
�m.laddown LDAypos:CMP#9:BEQdownscr:INCyset:JSRgetblock+3:JSRdoorch:BCSfalldown:�#&30:BEQfalldown:BNEnofall
�}.downscr LDA#0:STAypos:INCyscr:LDA#5:STAfine:JMPnewscr:.watt JMPzap:.ladder JMP ladderb:.zerg JMP zerogr:.zers JMP zeroch
�H.leftscr LDA#9:STAxpos:DECxscr:LDXfine:LDAlmoves,X:STAfine:JMPscreen
�a.falldown LDA#5:STAfine:INCypos:.nofall LDA#((oldscr-1) � 256):PHA:LDA#((oldscr-1) � 256):PHA
�.moveyou LDX#&B6:JSRkeybyte:BCCnjump:JSRjump:.njump LDX#&9E:JSRkeybyte:BCSleft:.nleft LDX#&BD:JSRkeybyte:BCCnright:BCSright
��.left LDA#0:STAface:STArghts:LDAxpos:BEQleftscr:SEC:SBC#1:STAxset:LDAypos:STAyset:JSRgetblock+3:JSRdoorch:BCSnoupl:�#&30:CMP#&10:BEQnomove:CMP#&20:BEQnomove:CMP#&30:BNEnoupl
�?LDAfine:BNEnright:DECypos:DECxpos:LDA#3:STAfine:.nright RTS
�.noupl DECxpos:LDXfine:LDAlmoves,X:STAfine:.nomove RTS:.right LDA#0:STArghts:LDA#1:STAface:LDAxpos:CMP#9:BEQrightscr:CLC:ADC#1:STAxset:LDAypos:STAyset:JSRgetblock+3:JSRdoorch:BCSnoupr:�#&30:CMP#&10:BEQnomover:CMP#&20:BEQnomover
%CMP#&30:BNEnoupr:LDAfine:BNEnosnd

�DECypos:LDA#4:.nouprs INCxpos:STAfine:.nosnd RTS:.noupr LDXfine:LDArmoves,X:JMPnouprs:.nomover LDA#1:STArghts:STAchanged:RTS:.rightscr LDA#0:STAxpos:INCxscr
)LDXfine:LDArmoves,X:STAfine:JMPscreen
�.jump LDAypos:CMP#9:BEQnosnd:CLC:ADC#1:STAyset:LDAxpos:STAxset:JSRgetblock+3:�#&30:BEQnosnd:LDA#3:STAupvelo:LDAsound:BEQnosnd:LDA#7:LDX#(jumpn � 256):LDY#(jumpn � 256):JMPosword
D.getscrp LDAxset:SEC:SBCcenx:STAgx:LDAyset:SEC:SBCceny:STAgy:RTS
'.dsquit LDA#0:STAwiperm:.nowipe RTS
�.wipeshr LDA#&80:STAwirep:LDX#8:.wiplb LDY#0:.wiplop LDA(wirep),Y:STA(&78),Y:INY:CPY#8:BNEwiplop:DEX:BEQnowipe:LDAwirep:CLC:ADC#8:STAwirep:LDA&78:ADCadlo,X:STA&78:LDA&79:ADCadhi,X:JSRscrolw:STA&79:JMPwiplb
(�.disps1 LDA#1:STAwiper:.disps2 LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:BEQdsquit:CMP#9:BCSdsquit:LDAgy:BEQdsquit:CMP#15:BCSdsquit
-�LDAgx:ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADCscroll:STA&70:LDA#0:ADCscroll+1:STA&71:LDAgx:LSR A:LSR A:CLC:ADC&71:STA&71:LDAgy:CLC:ADC&71:STA&71:LDAgy:ASL A:ASL A:CLC:ADC&71:STA&71:LDY#0
2�STY&72:LDA#&1A:STA&73:LDXmovstag:LDAsequen,X:CLC:ADCfine:TAX:LDA&70:CLC:ADClowad,X:STA&70:LDA&71:ADChighad,X:JSRscrolw:LDAmflag:BNEmonsadr:CPX#0:BEQnophase:LDAmovstag:CMP#2:BEQnophase:LDXphase:INX
<�.addph LDA&72:CLC:ADC#&80:STA&72:LDA&73:ADC#0:STA&73:DEX:BNEaddph:LDAphase:�#1:STAphase:JMPnophase:.monsadr LDAmonstat:�#1:STAmonstat:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADC#&80:STA&72:LDA#&1B:STA&73
F^LDAmtype:CMP#2:BNEnotyptr:LDA&72:CLC:ADC#&80:STA&72:LDA&73:ADC#0:STA&73:.notyptr JMPleface
P�.nophase LDArghts:BEQnotrght:LDA&70:CLC:ADC#32:STA&70:LDA&71:ADC#0:STA&71:.notrght LDAface:BNEleface:LDA&72:CLC:ADC#&20:STA&72:.leface LDA&70:STA&78:LDA&71:STA&79
Z�LDX#8:.lbdisp LDY#0:.ladisp LDA(&70),Y:STA(wirep),Y:�A(&72),Y:STA(&70),Y:INY:CPY#8:BNEladisp:DEX:BEQwaitend:LDAwirep:CLC:ADC#8:STAwirep:LDA&72:ADCorad,X:STA&72:LDA&73:ADC#0:STA&73:LDA&70:ADCadlo,X:STA&70:LDA&71:ADCadhi,X:JSRscrolw
d
JMPlbdisp
n?.wait LDAclock:CMP&80:BNEwait:ADC#5:STA&80:.waitend TYA:RTS
x�.jumpup DECupvelo:LDAypos:BEQupscr:SEC:SBC#1:STAyset:LDAxpos:STAxset:JSRgetblock+3:JSRdoorch:BCSupone:�#&30:BEQupone:LDA#0:STAupvelo:RTS:.upone LDA#6:STAfine:DECypos:RTS:.upscr DECyscr:LDA#9:STAypos:LDA#6:STAfine
yPLA:PLA:JMPnewscr
��.resetscr LDA#0:STAscroll:LDA#&30:STAscroll+1:.sheila LDXbbcflag:BNEbbcsheila:LSR A:STA&FE03:LDAscroll:ROR A:STA&FE02:RTS:.bbcsheila JSRcalcbbc:LDA#12:STA&FE00:LDAbbcsh:STA&FE01:LDA#13:STA&FE00:LDAbbcsh+1:STA&FE01:RTS
��.screen LDXfine:LDAcenx:CLC:ADCadjust,X:STAcenx:LDAceny:CLC:ADCadjusty,X:STAceny:JSRmonset:LDA#0:STAclearup:STAlastat:STAinvflag
�'LDAxpos:STAxold:LDAypos:STAyold:RTS
��.scrdisp LDAxpos:SEC:SBC#5:STAcenx:LDAypos:SEC:SBC#7:STAceny:.titdisp JSRscroff:LDA#&FF:STAyset:.ylop LDA#&FF:STAxset:INCyset
�P.xlop INCxset:JSRblockon:LDAxset:CMP#9:BNExlop:.nexty LDAyset:CMP#15:BNEylop
��.scron LDA#17:STAscrofd:.scronlop LDA#&C:LDX#(scrofd �256):LDY#(scrofd �256):JSRosword:DECscrofd:LDAscrofd:�#7:STAscrofd+1:LDAscrofd:BNEscronlop:LDAclock:CLC:ADC#4:STA&80:LDA#0:STAwiper:STAwiperm:LDA#1:STAchanged:RTS
��.ladderb LDX#&97:JSRkeybyte:BCSfallset:LDX#&B6:JSRkeybyte:BCCstable:LDA#1:STAupvelo:JSRjumpup:JMPoldscr:.stable JMPnofall:.fallset JMPladdown
��.blockon JSRobjcheck:JSRgetblock:LDAxset:CMP#&FF:BNEnotls:LDA#9:STAxset:.notls ASL A:ASL A:ASL A:ASL A:ASL A:ASL A:CLC:ADCscroll:STA&70:LDA#0:ADCscroll+1:STA&71:LDAxset:LSR A:LSR A:CLC:ADC&71
�?CLC:ADCyset:STA&71:LDAyset:ASL A:ASL A:CLC:ADC&71:JSRscrolw
�gLDA&72:LSR A:LSR A:CLC:ADC#&20:STA&73:LDA&72:CMP#30:BEQdoorcol:LSR A:ROR A:ROR A:�#&C0:STA&72:LDY#0
��.transtop LDA(&72),Y:�#&3F:STA&74:LDA(&70),Y:�#&C0:CLC:ADC&74:STA(&70),Y:INY:CPY#&40:BNEtranstop:LDY#0:LDA&72:CLC:ADC#&40:STA&72:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:JSRscrolw
�}.transbot LDA(&72),Y:�#&3F:STA&74:LDA(&70),Y:�#&C0:CLC:ADC&74:STA(&70),Y:INY:CPY#&40:BNEtransbot:RTS:.doorcol JMPlocktype
Ҙ.getrelt LDAxscr:STAgxs:LDAcenx:CLC:ADCxset:.xretr STAgx:CMP#10:BCCxoverf:CMP#&80:BCCxoverr:ADC#9:DECgxs:JMPxretr:.xoverr SEC:SBC#10:INCgxs:JMPxretr
ף.xoverf LDAyscr:STAgys:LDAceny:CLC:ADCyset:.yretr STAgy:CMP#10:BCCyoverf:CMP#&80:BCCyoverr:ADC#9:DECgys:JMPyretr:.yoverr SEC:SBC#10:INCgys:JMPyretr:.yoverf RTS
��.getblr JSRgetrelt:JMPblockcalc:.gettrue LDAxset:STAgx:LDAyset:STAgy:LDAxscr:STAgxs:LDAyscr:STAgys:JMPblockcalc:.getblock JMPgetblr:JMPgettrue:.blockcalc LDAgxs:CMP#16:BCSoffside:LDAgys:CMP#6:BCConsc:.offside LDAclock:�#1:STA&72:RTS
�V.onsc LDA#&20:CLC:ADCgxs:STA&71:LDAgys:ASL A:ASL A:ASL A:ASL A:CLC:ADC&71:STAscrno
��STA&71:LDAgy:STA&70:ASL A:ASL A:ASL A:PHA:CLC:ADC&70:STA&70:PLA:ASL A:CLC:ADC&70:STA&70:LDYgx:LDAxdata,Y:TAY:LDA(&70),Y:ROL A:ROL A:ROL A:�#3:STA&72:INY:LDA(&70),Y:LSR A:LSR A:LSR A:LSR A:�#12
�zCLC:ADC&72:STA&72:LDAgx:LSR A:TAY:LDAhbdat,Y:TAY:LDA(&70),Y:STA&73:LDAgx:�#1:BNEbit2:LDA&73:ASL A:ROL A:ROL A:JMPfbgot
�[.bit2 LDA&73:ASL A:ROL A:.fbgot �#1:ASL A:ASL A:ASL A:ASL A:CLC:ADC&72:ASL A:STA&72:RTS
��.blascr JSRresetscr:JSRscroff:LDY#0:STY&70:LDA#&30:STA&71:.blanlop LDA(&70),Y:�#&C0:STA(&70),Y:INY:BNEblanlop:INC&71:LDA&71:CMP#&80:BNEblanlop:JMPscron
K.putch ASL A:ASL A:ASL A:TAX:LDAscroll:STA&70:LDAscroll+1:STA&71:LDYxch
N.xlopc BEQnoxch:LDA&70:CLC:ADC#&20:STA&70:LDA&71:ADC#0:STA&71:DEY:JMPxlopc
\.noxch LDYych:.ylopc BEQnoych:LDA&70:CLC:ADC#&80:STA&70:LDA&71:ADC#2:STA&71:DEY:JMPylopc
"g.noych JSRscrolw:LDY#0:.sline LDA&C00,X:.linelop PHA:ASL A:ROL A:ROL A:�#3:BEQblanch:STAitemp:LDA#0
'�.colch CLC:ADCcol:DECitemp:BNEcolch:.blanch STAitemp:LDA(&70),Y:�#&C0:�Aitemp:�invflag:STA(&70),Y:TYA:CLC:ADC#8:TAY:CMP#&20:BCSnewlin
,MPLA:ASL A:ASL A:JMPlinelop:.newlin �#7:TAY:PLA:INY:INX:CPY#8:BNEsline:RTS
.@.scrolw CMP#&80:BCCnoscrolw:SEC:SBC#&50:.noscrolw STA&71:RTS
/g.keybyte CPXzerobyte:BEQautokey:CPXzerobyte+1:BEQautokey:LDA#&81:LDY#&FF:JMPosbyte:.autokey SEC:RTS
15.lmoves EQUB1:EQUB1:EQUB1:EQUB1:EQUB1:EQUB7:EQUB3
25.rmoves EQUB2:EQUB2:EQUB2:EQUB2:EQUB2:EQUB8:EQUB4
6�.eners LDX#&DD:JSRkeybyte:BCCnoe:LDAken:BNEked:LDApower:STAken:STAes+4:LDA#7:LDX#(es � 256):LDY#(es � 256):JSRosword:LDA#0:STAes+4:LDA#7:LDX#(es � 256):LDY#(es � 256):JMPosword:.noe LDA#0:STAken:.ked RTS
@!.es EQUW1:EQUW-10:EQUW0:EQUW5
B(EQUB0:.hors EQUB2:EQUB5:EQUB7:EQUB10
D)EQUB0:.vers EQUB4:EQUB8:EQUB12:EQUB16
G[.name EQUB9:EQUB18:EQUB14:EQUB23:EQUB17:EQUB5:EQUB15:EQUW0:EQUB23:EQUB23:EQUB23:EQUB255
J]:�
�
00000000  0d 03 e8 38 6f 73 62 79  74 65 3d 26 46 46 46 34  |...8osbyte=&FFF4|
00000010  3a 6f 73 77 6f 72 64 3d  26 46 46 46 31 3a 6f 73  |:osword=&FFF1:os|
00000020  77 72 63 68 3d 26 46 46  45 45 3a 50 25 3d 30 3a  |wrch=&FFEE:P%=0:|
00000030  4f 25 3d 26 35 33 30 30  0d 03 ed 26 7a 65 72 6f  |O%=&5300...&zero|
00000040  62 79 74 65 3d 26 45 30  3a 62 62 63 66 6c 61 67  |byte=&E0:bbcflag|
00000050  3d 26 46 35 3a 62 62 63  73 68 3d 26 46 36 0d 03  |=&F5:bbcsh=&F6..|
00000060  f2 0d 5b 4f 50 54 20 70  61 73 73 0d 03 fc 3f 2e  |..[OPT pass...?.|
00000070  78 63 68 20 45 51 55 42  30 3a 2e 79 63 68 20 45  |xch EQUB0:.ych E|
00000080  51 55 42 30 3a 2e 63 6f  6c 20 45 51 55 42 30 3a  |QUB0:.col EQUB0:|
00000090  2e 74 69 74 73 74 61 74  20 45 51 55 42 30 3a 2e  |.titstat EQUB0:.|
000000a0  6d 64 69 72 20 45 51 55  42 30 0d 04 06 65 2e 78  |mdir EQUB0...e.x|
000000b0  73 65 74 20 45 51 55 42  30 3a 2e 79 73 65 74 20  |set EQUB0:.yset |
000000c0  45 51 55 42 30 3a 2e 78  73 63 72 20 45 51 55 42  |EQUB0:.xscr EQUB|
000000d0  30 3a 2e 79 73 63 72 20  45 51 55 42 30 3a 2e 78  |0:.yscr EQUB0:.x|
000000e0  70 6f 73 20 45 51 55 42  30 3a 2e 79 70 6f 73 20  |pos EQUB0:.ypos |
000000f0  45 51 55 42 30 3a 2e 6d  66 69 6e 65 20 45 51 55  |EQUB0:.mfine EQU|
00000100  42 30 3a 2e 6d 74 79 70  65 20 45 51 55 42 30 0d  |B0:.mtype EQUB0.|
00000110  04 10 79 2e 73 63 72 6e  6f 20 45 51 55 42 30 3a  |..y.scrno EQUB0:|
00000120  2e 75 70 76 65 6c 6f 20  45 51 55 42 30 3a 2e 78  |.upvelo EQUB0:.x|
00000130  6f 6c 64 20 45 51 55 42  30 3a 2e 79 6f 6c 64 20  |old EQUB0:.yold |
00000140  45 51 55 42 30 3a 2e 66  69 6e 65 20 45 51 55 42  |EQUB0:.fine EQUB|
00000150  30 3a 2e 73 6f 75 6e 64  20 45 51 55 42 31 3a 2e  |0:.sound EQUB1:.|
00000160  63 6c 6f 63 6b 20 45 51  55 42 30 3a 2e 74 69 74  |clock EQUB0:.tit|
00000170  63 79 63 20 45 51 55 42  30 3a 2e 69 6e 76 66 6c  |cyc EQUB0:.invfl|
00000180  61 67 20 45 51 55 42 30  0d 04 1a 9c 2e 66 61 63  |ag EQUB0.....fac|
00000190  65 20 45 51 55 42 31 3a  2e 70 68 61 73 65 20 45  |e EQUB1:.phase E|
000001a0  51 55 42 30 3a 2e 72 67  68 74 73 20 45 51 55 42  |QUB0:.rghts EQUB|
000001b0  30 3a 2e 77 69 70 65 72  20 45 51 55 42 30 3a 2e  |0:.wiper EQUB0:.|
000001c0  6d 6f 76 73 74 61 67 20  45 51 55 42 30 3a 2e 63  |movstag EQUB0:.c|
000001d0  68 61 6e 67 65 64 20 45  51 55 42 30 3a 2e 70 6f  |hanged EQUB0:.po|
000001e0  77 65 72 20 45 51 55 42  30 3a 2e 70 6f 77 63 68  |wer EQUB0:.powch|
000001f0  61 6e 67 65 20 45 51 55  42 30 3a 2e 6f 62 6a 65  |ange EQUB0:.obje|
00000200  63 74 73 20 45 51 55 57  30 3a 2e 6f 62 63 68 20  |cts EQUW0:.obch |
00000210  45 51 55 42 30 3a 2e 67  65 74 73 74 61 74 20 45  |EQUB0:.getstat E|
00000220  51 55 42 30 0d 04 24 ad  2e 76 65 63 74 6f 72 20  |QUB0..$..vector |
00000230  45 51 55 57 30 3a 2e 6c  61 73 74 61 74 20 45 51  |EQUW0:.lastat EQ|
00000240  55 42 30 3a 2e 6c 61 73  61 64 20 45 51 55 57 30  |UB0:.lasad EQUW0|
00000250  3a 2e 6c 61 73 64 69 72  20 45 51 55 42 30 3a 2e  |:.lasdir EQUB0:.|
00000260  6c 61 73 74 65 70 20 45  51 55 42 30 3a 2e 78 66  |lastep EQUB0:.xf|
00000270  20 45 51 55 42 30 3a 2e  79 66 20 45 51 55 42 30  | EQUB0:.yf EQUB0|
00000280  3a 2e 77 69 72 65 70 20  45 51 55 57 30 3a 2e 78  |:.wirep EQUW0:.x|
00000290  6d 6f 6e 74 20 45 51 55  42 30 3a 2e 79 6d 6f 6e  |mont EQUB0:.ymon|
000002a0  74 20 45 51 55 42 30 3a  2e 6d 66 6c 61 67 20 45  |t EQUB0:.mflag E|
000002b0  51 55 42 30 3a 2e 6d 6f  6e 73 74 61 74 20 45 51  |QUB0:.monstat EQ|
000002c0  55 42 30 3a 2e 77 69 70  65 72 6d 20 45 51 55 42  |UB0:.wiperm EQUB|
000002d0  30 0d 04 2e 58 2e 73 63  72 6f 66 64 20 45 51 55  |0...X.scrofd EQU|
000002e0  42 30 3a 45 51 55 44 30  3a 2e 64 65 61 64 65 64  |B0:EQUD0:.deaded|
000002f0  20 45 51 55 42 30 3a 2e  63 6c 65 61 72 75 70 20  | EQUB0:.clearup |
00000300  45 51 55 42 30 3a 2e 78  6d 6f 6f 20 45 51 55 42  |EQUB0:.xmoo EQUB|
00000310  30 3a 2e 79 6d 6f 6f 20  45 51 55 42 30 3a 2e 66  |0:.ymoo EQUB0:.f|
00000320  6e 73 74 20 45 51 55 42  30 0d 04 38 45 2e 73 63  |nst EQUB0..8E.sc|
00000330  72 74 78 74 20 45 51 55  44 30 3a 2e 73 68 6f 6f  |rtxt EQUD0:.shoo|
00000340  74 20 45 51 55 42 30 3a  2e 73 63 72 6f 6c 6c 20  |t EQUB0:.scroll |
00000350  45 51 55 57 20 30 3a 2e  6b 65 6e 20 45 51 55 42  |EQUW 0:.ken EQUB|
00000360  30 3a 2e 73 74 6f 70 76  20 45 51 55 42 30 0d 04  |0:.stopv EQUB0..|
00000370  3a 45 2e 63 65 6e 78 20  45 51 55 42 30 3a 2e 63  |:E.cenx EQUB0:.c|
00000380  65 6e 79 20 45 51 55 42  30 3a 2e 67 78 20 45 51  |eny EQUB0:.gx EQ|
00000390  55 42 30 3a 2e 67 79 20  45 51 55 42 30 3a 2e 67  |UB0:.gy EQUB0:.g|
000003a0  78 73 20 45 51 55 42 30  3a 2e 67 79 73 20 45 51  |xs EQUB0:.gys EQ|
000003b0  55 42 30 0d 04 3b 50 2e  78 6f 73 20 45 51 55 42  |UB0..;P.xos EQUB|
000003c0  30 3a 2e 79 6f 73 20 45  51 55 42 30 3a 2e 63 65  |0:.yos EQUB0:.ce|
000003d0  6e 78 6e 20 45 51 55 42  30 3a 2e 63 65 6e 79 6e  |nxn EQUB0:.cenyn|
000003e0  20 45 51 55 42 30 3a 2e  69 74 65 6d 70 20 45 51  | EQUB0:.itemp EQ|
000003f0  55 42 30 3a 2e 7a 65 72  6f 73 74 61 74 20 45 51  |UB0:.zerostat EQ|
00000400  55 42 30 0d 04 3d 89 2e  64 65 6c 79 6f 75 20 4c  |UB0..=..delyou L|
00000410  44 58 78 6d 6f 6f 3a 4c  44 59 79 6d 6f 6f 3a 2e  |DXxmoo:LDYymoo:.|
00000420  6d 63 64 20 53 54 58 78  73 65 74 3a 53 54 59 79  |mcd STXxset:STYy|
00000430  73 65 74 3a 4a 53 52 6f  62 6a 72 65 6c 3a 4a 4d  |set:JSRobjrel:JM|
00000440  50 62 6c 6f 63 6b 6f 6e  3a 2e 6f 62 6a 72 65 6c  |Pblockon:.objrel|
00000450  20 4c 44 41 78 73 65 74  3a 53 45 43 3a 53 42 43  | LDAxset:SEC:SBC|
00000460  63 65 6e 78 3a 53 54 41  78 73 65 74 3a 4c 44 41  |cenx:STAxset:LDA|
00000470  79 73 65 74 3a 53 45 43  3a 53 42 43 63 65 6e 79  |yset:SEC:SBCceny|
00000480  3a 53 54 41 79 73 65 74  3a 52 54 53 0d 04 4c 27  |:STAyset:RTS..L'|
00000490  5d 3a e7 50 25 3e 26 37  30 8c f1 22 43 6f 64 65  |]:.P%>&70.."Code|
000004a0  20 4f 76 65 72 66 6c 6f  77 20 74 6f 3a 22 3b 50  | Overflow to:";P|
000004b0  25 3a e0 0d 04 56 1f 50  25 3d 26 31 30 30 30 3a  |%:...V.P%=&1000:|
000004c0  4f 25 3d 26 35 38 30 30  3a 5b 4f 50 54 20 70 61  |O%=&5800:[OPT pa|
000004d0  73 73 0d 04 60 a6 4c 44  59 23 26 38 30 3a 4c 44  |ss..`.LDY#&80:LD|
000004e0  41 23 30 3a 2e 7a 65 72  6f 6c 6f 70 20 53 54 41  |A#0:.zerolop STA|
000004f0  26 31 46 46 46 2c 59 3a  44 45 59 3a 42 4e 45 7a  |&1FFF,Y:DEY:BNEz|
00000500  65 72 6f 6c 6f 70 3a 4c  44 41 23 26 46 46 3a 53  |erolop:LDA#&FF:S|
00000510  54 41 73 63 72 74 78 74  2b 33 3a 53 45 49 3a 4c  |TAscrtxt+3:SEI:L|
00000520  44 41 26 32 30 34 3a 53  54 41 76 65 63 74 6f 72  |DA&204:STAvector|
00000530  3a 4c 44 41 26 32 30 35  3a 53 54 41 76 65 63 74  |:LDA&205:STAvect|
00000540  6f 72 2b 31 3a 4c 44 41  23 28 69 72 71 20 83 20  |or+1:LDA#(irq . |
00000550  32 35 36 29 3a 53 54 41  26 32 30 34 3a 4c 44 41  |256):STA&204:LDA|
00000560  23 28 69 72 71 20 81 20  32 35 36 29 3a 53 54 41  |#(irq . 256):STA|
00000570  26 32 30 35 3a 43 4c 49  0d 04 6a 26 2e 70 72 6f  |&205:CLI..j&.pro|
00000580  67 20 4a 53 52 74 69 74  6c 65 3a 4a 53 52 62 6c  |g JSRtitle:JSRbl|
00000590  61 73 63 72 3a 4a 53 52  73 63 72 6f 66 66 0d 04  |ascr:JSRscroff..|
000005a0  74 09 4c 44 41 23 31 0d  04 88 45 53 54 41 70 6f  |t.LDA#1...ESTApo|
000005b0  77 63 68 61 6e 67 65 3a  53 54 41 6f 62 63 68 3a  |wchange:STAobch:|
000005c0  4c 44 59 23 32 35 35 3a  53 54 59 70 6f 77 65 72  |LDY#255:STYpower|
000005d0  3a 53 54 59 6f 62 6a 65  63 74 73 3a 53 54 59 6f  |:STYobjects:STYo|
000005e0  62 6a 65 63 74 73 2b 31  3a 49 4e 59 0d 04 9c 4d  |bjects+1:INY...M|
000005f0  2e 67 61 6d 65 20 4c 44  41 23 31 34 3a 53 54 41  |.game LDA#14:STA|
00000600  78 73 63 72 3a 4c 44 41  23 33 3a 53 54 41 79 73  |xscr:LDA#3:STAys|
00000610  63 72 3a 4c 44 41 23 32  3a 53 54 41 78 70 6f 73  |cr:LDA#2:STAxpos|
00000620  3a 4c 44 41 23 37 3a 53  54 41 79 70 6f 73 3a 4a  |:LDA#7:STAypos:J|
00000630  53 52 73 63 72 64 69 73  70 0d 04 a6 7e 2e 6e 65  |SRscrdisp...~.ne|
00000640  77 73 63 72 20 4a 53 52  73 63 72 65 65 6e 3a 2e  |wscr JSRscreen:.|
00000650  6f 6c 64 73 63 72 20 4a  53 52 71 75 69 74 63 68  |oldscr JSRquitch|
00000660  3a 4c 44 41 23 30 3a 53  54 41 6d 6f 76 73 74 61  |:LDA#0:STAmovsta|
00000670  67 3a 4c 44 41 66 69 6e  65 3a 42 45 51 6d 6f 76  |g:LDAfine:BEQmov|
00000680  65 73 6c 6f 70 3a 53 54  41 63 68 61 6e 67 65 64  |eslop:STAchanged|
00000690  3a 4c 44 41 77 69 70 65  72 3a 50 48 41 3a 4a 53  |:LDAwiper:PHA:JS|
000006a0  52 6d 61 69 6e 63 6c 65  61 72 3a 50 4c 41 3a 53  |Rmainclear:PLA:S|
000006b0  54 41 77 69 70 65 72 0d  04 ab 5f 4a 53 52 64 6f  |TAwiper..._JSRdo|
000006c0  73 63 72 6f 6c 6c 3a 2e  6d 6f 76 65 73 6c 6f 70  |scroll:.moveslop|
000006d0  20 4c 44 41 63 68 61 6e  67 65 64 3a 42 45 51 6e  | LDAchanged:BEQn|
000006e0  6f 64 79 6f 75 3a 4a 53  52 64 69 73 70 79 6f 75  |odyou:JSRdispyou|
000006f0  3a 2e 6e 6f 64 79 6f 75  20 4a 53 52 64 69 73 70  |:.nodyou JSRdisp|
00000700  6d 6f 6e 3a 4a 53 52 77  61 69 74 3a 49 4e 43 6d  |mon:JSRwait:INCm|
00000710  6f 76 73 74 61 67 0d 04  b0 65 4a 53 52 64 6f 73  |ovstag...eJSRdos|
00000720  63 72 6f 6c 6c 3a 4c 44  41 6d 6f 76 73 74 61 67  |croll:LDAmovstag|
00000730  3a 43 4d 50 23 33 3a 42  4e 45 6d 6f 76 65 73 6c  |:CMP#3:BNEmovesl|
00000740  6f 70 3a 4a 53 52 7a 65  72 6f 70 72 6f 3a 4c 44  |op:JSRzeropro:LD|
00000750  41 6d 66 69 6e 65 3a 50  48 41 3a 4c 44 41 66 69  |Amfine:PHA:LDAfi|
00000760  6e 65 3a 53 54 41 66 6e  73 74 3a 4c 44 41 23 30  |ne:STAfnst:LDA#0|
00000770  3a 53 54 41 6d 6f 76 73  74 61 67 0d 04 ba 8b 53  |:STAmovstag....S|
00000780  54 41 63 68 61 6e 67 65  64 3a 53 54 41 66 69 6e  |TAchanged:STAfin|
00000790  65 3a 53 54 41 6d 66 69  6e 65 3a 4c 44 41 78 70  |e:STAmfine:LDAxp|
000007a0  6f 73 3a 53 45 43 3a 53  42 43 23 35 3a 53 54 41  |os:SEC:SBC#5:STA|
000007b0  63 65 6e 78 3a 4c 44 41  79 70 6f 73 3a 53 45 43  |cenx:LDAypos:SEC|
000007c0  3a 53 42 43 23 37 3a 53  54 41 63 65 6e 79 3a 4a  |:SBC#7:STAceny:J|
000007d0  53 52 64 69 73 70 79 6f  75 3a 4a 53 52 64 69 73  |SRdispyou:JSRdis|
000007e0  70 6d 6f 6e 3a 50 4c 41  3a 53 54 41 6d 66 69 6e  |pmon:PLA:STAmfin|
000007f0  65 3a 4a 53 52 77 61 69  74 3a 4a 53 52 6d 61 69  |e:JSRwait:JSRmai|
00000800  6e 63 6c 65 61 72 0d 04  c4 65 2e 66 69 6e 65 6e  |nclear...e.finen|
00000810  64 20 4a 53 52 65 6e 65  72 73 3a 4a 53 52 6c 61  |d JSReners:JSRla|
00000820  73 65 72 3a 4a 53 52 64  65 61 64 65 64 63 68 3a  |ser:JSRdeadedch:|
00000830  4a 53 52 6d 6f 6e 70 72  6f 3a 4a 53 52 67 65 74  |JSRmonpro:JSRget|
00000840  6f 70 75 74 3a 4c 44 41  75 70 76 65 6c 6f 3a 42  |oput:LDAupvelo:B|
00000850  45 51 66 61 6c 6c 68 3a  4a 53 52 6a 75 6d 70 75  |EQfallh:JSRjumpu|
00000860  70 3a 4a 4d 50 6e 6f 66  61 6c 6c 0d 04 ce 83 2e  |p:JMPnofall.....|
00000870  66 61 6c 6c 68 20 4c 44  41 78 70 6f 73 3a 53 54  |fallh LDAxpos:ST|
00000880  41 78 73 65 74 3a 4c 44  41 79 70 6f 73 3a 53 54  |Axset:LDAypos:ST|
00000890  41 79 73 65 74 3a 4a 53  52 67 65 74 62 6c 6f 63  |Ayset:JSRgetbloc|
000008a0  6b 2b 33 3a 43 4d 50 23  38 3a 42 45 51 77 61 74  |k+3:CMP#8:BEQwat|
000008b0  74 3a 43 4d 50 23 31 30  3a 42 45 51 7a 65 72 67  |t:CMP#10:BEQzerg|
000008c0  3a 43 4d 50 23 31 32 3a  42 45 51 7a 65 72 67 3a  |:CMP#12:BEQzerg:|
000008d0  43 4d 50 23 35 3a 42 43  43 7a 65 72 73 3a 43 4d  |CMP#5:BCCzers:CM|
000008e0  50 23 31 34 3a 42 45 51  6c 61 64 64 65 72 0d 04  |P#14:BEQladder..|
000008f0  d3 6d 2e 6c 61 64 64 6f  77 6e 20 4c 44 41 79 70  |.m.laddown LDAyp|
00000900  6f 73 3a 43 4d 50 23 39  3a 42 45 51 64 6f 77 6e  |os:CMP#9:BEQdown|
00000910  73 63 72 3a 49 4e 43 79  73 65 74 3a 4a 53 52 67  |scr:INCyset:JSRg|
00000920  65 74 62 6c 6f 63 6b 2b  33 3a 4a 53 52 64 6f 6f  |etblock+3:JSRdoo|
00000930  72 63 68 3a 42 43 53 66  61 6c 6c 64 6f 77 6e 3a  |rch:BCSfalldown:|
00000940  80 23 26 33 30 3a 42 45  51 66 61 6c 6c 64 6f 77  |.#&30:BEQfalldow|
00000950  6e 3a 42 4e 45 6e 6f 66  61 6c 6c 0d 04 d8 7d 2e  |n:BNEnofall...}.|
00000960  64 6f 77 6e 73 63 72 20  4c 44 41 23 30 3a 53 54  |downscr LDA#0:ST|
00000970  41 79 70 6f 73 3a 49 4e  43 79 73 63 72 3a 4c 44  |Aypos:INCyscr:LD|
00000980  41 23 35 3a 53 54 41 66  69 6e 65 3a 4a 4d 50 6e  |A#5:STAfine:JMPn|
00000990  65 77 73 63 72 3a 2e 77  61 74 74 20 4a 4d 50 7a  |ewscr:.watt JMPz|
000009a0  61 70 3a 2e 6c 61 64 64  65 72 20 4a 4d 50 20 6c  |ap:.ladder JMP l|
000009b0  61 64 64 65 72 62 3a 2e  7a 65 72 67 20 4a 4d 50  |adderb:.zerg JMP|
000009c0  20 7a 65 72 6f 67 72 3a  2e 7a 65 72 73 20 4a 4d  | zerogr:.zers JM|
000009d0  50 20 7a 65 72 6f 63 68  0d 04 dd 48 2e 6c 65 66  |P zeroch...H.lef|
000009e0  74 73 63 72 20 4c 44 41  23 39 3a 53 54 41 78 70  |tscr LDA#9:STAxp|
000009f0  6f 73 3a 44 45 43 78 73  63 72 3a 4c 44 58 66 69  |os:DECxscr:LDXfi|
00000a00  6e 65 3a 4c 44 41 6c 6d  6f 76 65 73 2c 58 3a 53  |ne:LDAlmoves,X:S|
00000a10  54 41 66 69 6e 65 3a 4a  4d 50 73 63 72 65 65 6e  |TAfine:JMPscreen|
00000a20  0d 04 e2 61 2e 66 61 6c  6c 64 6f 77 6e 20 4c 44  |...a.falldown LD|
00000a30  41 23 35 3a 53 54 41 66  69 6e 65 3a 49 4e 43 79  |A#5:STAfine:INCy|
00000a40  70 6f 73 3a 2e 6e 6f 66  61 6c 6c 20 4c 44 41 23  |pos:.nofall LDA#|
00000a50  28 28 6f 6c 64 73 63 72  2d 31 29 20 81 20 32 35  |((oldscr-1) . 25|
00000a60  36 29 3a 50 48 41 3a 4c  44 41 23 28 28 6f 6c 64  |6):PHA:LDA#((old|
00000a70  73 63 72 2d 31 29 20 83  20 32 35 36 29 3a 50 48  |scr-1) . 256):PH|
00000a80  41 0d 04 ec 7f 2e 6d 6f  76 65 79 6f 75 20 4c 44  |A.....moveyou LD|
00000a90  58 23 26 42 36 3a 4a 53  52 6b 65 79 62 79 74 65  |X#&B6:JSRkeybyte|
00000aa0  3a 42 43 43 6e 6a 75 6d  70 3a 4a 53 52 6a 75 6d  |:BCCnjump:JSRjum|
00000ab0  70 3a 2e 6e 6a 75 6d 70  20 4c 44 58 23 26 39 45  |p:.njump LDX#&9E|
00000ac0  3a 4a 53 52 6b 65 79 62  79 74 65 3a 42 43 53 6c  |:JSRkeybyte:BCSl|
00000ad0  65 66 74 3a 2e 6e 6c 65  66 74 20 4c 44 58 23 26  |eft:.nleft LDX#&|
00000ae0  42 44 3a 4a 53 52 6b 65  79 62 79 74 65 3a 42 43  |BD:JSRkeybyte:BC|
00000af0  43 6e 72 69 67 68 74 3a  42 43 53 72 69 67 68 74  |Cnright:BCSright|
00000b00  0d 04 f6 b1 2e 6c 65 66  74 20 4c 44 41 23 30 3a  |.....left LDA#0:|
00000b10  53 54 41 66 61 63 65 3a  53 54 41 72 67 68 74 73  |STAface:STArghts|
00000b20  3a 4c 44 41 78 70 6f 73  3a 42 45 51 6c 65 66 74  |:LDAxpos:BEQleft|
00000b30  73 63 72 3a 53 45 43 3a  53 42 43 23 31 3a 53 54  |scr:SEC:SBC#1:ST|
00000b40  41 78 73 65 74 3a 4c 44  41 79 70 6f 73 3a 53 54  |Axset:LDAypos:ST|
00000b50  41 79 73 65 74 3a 4a 53  52 67 65 74 62 6c 6f 63  |Ayset:JSRgetbloc|
00000b60  6b 2b 33 3a 4a 53 52 64  6f 6f 72 63 68 3a 42 43  |k+3:JSRdoorch:BC|
00000b70  53 6e 6f 75 70 6c 3a 80  23 26 33 30 3a 43 4d 50  |Snoupl:.#&30:CMP|
00000b80  23 26 31 30 3a 42 45 51  6e 6f 6d 6f 76 65 3a 43  |#&10:BEQnomove:C|
00000b90  4d 50 23 26 32 30 3a 42  45 51 6e 6f 6d 6f 76 65  |MP#&20:BEQnomove|
00000ba0  3a 43 4d 50 23 26 33 30  3a 42 4e 45 6e 6f 75 70  |:CMP#&30:BNEnoup|
00000bb0  6c 0d 04 fb 3f 4c 44 41  66 69 6e 65 3a 42 4e 45  |l...?LDAfine:BNE|
00000bc0  6e 72 69 67 68 74 3a 44  45 43 79 70 6f 73 3a 44  |nright:DECypos:D|
00000bd0  45 43 78 70 6f 73 3a 4c  44 41 23 33 3a 53 54 41  |ECxpos:LDA#3:STA|
00000be0  66 69 6e 65 3a 2e 6e 72  69 67 68 74 20 52 54 53  |fine:.nright RTS|
00000bf0  0d 05 00 e7 2e 6e 6f 75  70 6c 20 44 45 43 78 70  |.....noupl DECxp|
00000c00  6f 73 3a 4c 44 58 66 69  6e 65 3a 4c 44 41 6c 6d  |os:LDXfine:LDAlm|
00000c10  6f 76 65 73 2c 58 3a 53  54 41 66 69 6e 65 3a 2e  |oves,X:STAfine:.|
00000c20  6e 6f 6d 6f 76 65 20 52  54 53 3a 2e 72 69 67 68  |nomove RTS:.righ|
00000c30  74 20 4c 44 41 23 30 3a  53 54 41 72 67 68 74 73  |t LDA#0:STArghts|
00000c40  3a 4c 44 41 23 31 3a 53  54 41 66 61 63 65 3a 4c  |:LDA#1:STAface:L|
00000c50  44 41 78 70 6f 73 3a 43  4d 50 23 39 3a 42 45 51  |DAxpos:CMP#9:BEQ|
00000c60  72 69 67 68 74 73 63 72  3a 43 4c 43 3a 41 44 43  |rightscr:CLC:ADC|
00000c70  23 31 3a 53 54 41 78 73  65 74 3a 4c 44 41 79 70  |#1:STAxset:LDAyp|
00000c80  6f 73 3a 53 54 41 79 73  65 74 3a 4a 53 52 67 65  |os:STAyset:JSRge|
00000c90  74 62 6c 6f 63 6b 2b 33  3a 4a 53 52 64 6f 6f 72  |tblock+3:JSRdoor|
00000ca0  63 68 3a 42 43 53 6e 6f  75 70 72 3a 80 23 26 33  |ch:BCSnoupr:.#&3|
00000cb0  30 3a 43 4d 50 23 26 31  30 3a 42 45 51 6e 6f 6d  |0:CMP#&10:BEQnom|
00000cc0  6f 76 65 72 3a 43 4d 50  23 26 32 30 3a 42 45 51  |over:CMP#&20:BEQ|
00000cd0  6e 6f 6d 6f 76 65 72 0d  05 02 25 43 4d 50 23 26  |nomover...%CMP#&|
00000ce0  33 30 3a 42 4e 45 6e 6f  75 70 72 3a 4c 44 41 66  |30:BNEnoupr:LDAf|
00000cf0  69 6e 65 3a 42 4e 45 6e  6f 73 6e 64 0d 05 0a a0  |ine:BNEnosnd....|
00000d00  44 45 43 79 70 6f 73 3a  4c 44 41 23 34 3a 2e 6e  |DECypos:LDA#4:.n|
00000d10  6f 75 70 72 73 20 49 4e  43 78 70 6f 73 3a 53 54  |ouprs INCxpos:ST|
00000d20  41 66 69 6e 65 3a 2e 6e  6f 73 6e 64 20 52 54 53  |Afine:.nosnd RTS|
00000d30  3a 2e 6e 6f 75 70 72 20  4c 44 58 66 69 6e 65 3a  |:.noupr LDXfine:|
00000d40  4c 44 41 72 6d 6f 76 65  73 2c 58 3a 4a 4d 50 6e  |LDArmoves,X:JMPn|
00000d50  6f 75 70 72 73 3a 2e 6e  6f 6d 6f 76 65 72 20 4c  |ouprs:.nomover L|
00000d60  44 41 23 31 3a 53 54 41  72 67 68 74 73 3a 53 54  |DA#1:STArghts:ST|
00000d70  41 63 68 61 6e 67 65 64  3a 52 54 53 3a 2e 72 69  |Achanged:RTS:.ri|
00000d80  67 68 74 73 63 72 20 4c  44 41 23 30 3a 53 54 41  |ghtscr LDA#0:STA|
00000d90  78 70 6f 73 3a 49 4e 43  78 73 63 72 0d 05 0c 29  |xpos:INCxscr...)|
00000da0  4c 44 58 66 69 6e 65 3a  4c 44 41 72 6d 6f 76 65  |LDXfine:LDArmove|
00000db0  73 2c 58 3a 53 54 41 66  69 6e 65 3a 4a 4d 50 73  |s,X:STAfine:JMPs|
00000dc0  63 72 65 65 6e 0d 05 14  b5 2e 6a 75 6d 70 20 4c  |creen.....jump L|
00000dd0  44 41 79 70 6f 73 3a 43  4d 50 23 39 3a 42 45 51  |DAypos:CMP#9:BEQ|
00000de0  6e 6f 73 6e 64 3a 43 4c  43 3a 41 44 43 23 31 3a  |nosnd:CLC:ADC#1:|
00000df0  53 54 41 79 73 65 74 3a  4c 44 41 78 70 6f 73 3a  |STAyset:LDAxpos:|
00000e00  53 54 41 78 73 65 74 3a  4a 53 52 67 65 74 62 6c  |STAxset:JSRgetbl|
00000e10  6f 63 6b 2b 33 3a 80 23  26 33 30 3a 42 45 51 6e  |ock+3:.#&30:BEQn|
00000e20  6f 73 6e 64 3a 4c 44 41  23 33 3a 53 54 41 75 70  |osnd:LDA#3:STAup|
00000e30  76 65 6c 6f 3a 4c 44 41  73 6f 75 6e 64 3a 42 45  |velo:LDAsound:BE|
00000e40  51 6e 6f 73 6e 64 3a 4c  44 41 23 37 3a 4c 44 58  |Qnosnd:LDA#7:LDX|
00000e50  23 28 6a 75 6d 70 6e 20  83 20 32 35 36 29 3a 4c  |#(jumpn . 256):L|
00000e60  44 59 23 28 6a 75 6d 70  6e 20 81 20 32 35 36 29  |DY#(jumpn . 256)|
00000e70  3a 4a 4d 50 6f 73 77 6f  72 64 0d 05 1b 44 2e 67  |:JMPosword...D.g|
00000e80  65 74 73 63 72 70 20 4c  44 41 78 73 65 74 3a 53  |etscrp LDAxset:S|
00000e90  45 43 3a 53 42 43 63 65  6e 78 3a 53 54 41 67 78  |EC:SBCcenx:STAgx|
00000ea0  3a 4c 44 41 79 73 65 74  3a 53 45 43 3a 53 42 43  |:LDAyset:SEC:SBC|
00000eb0  63 65 6e 79 3a 53 54 41  67 79 3a 52 54 53 0d 05  |ceny:STAgy:RTS..|
00000ec0  1d 27 2e 64 73 71 75 69  74 20 4c 44 41 23 30 3a  |.'.dsquit LDA#0:|
00000ed0  53 54 41 77 69 70 65 72  6d 3a 2e 6e 6f 77 69 70  |STAwiperm:.nowip|
00000ee0  65 20 52 54 53 0d 05 1e  d1 2e 77 69 70 65 73 68  |e RTS.....wipesh|
00000ef0  72 20 4c 44 41 23 26 38  30 3a 53 54 41 77 69 72  |r LDA#&80:STAwir|
00000f00  65 70 3a 4c 44 58 23 38  3a 2e 77 69 70 6c 62 20  |ep:LDX#8:.wiplb |
00000f10  4c 44 59 23 30 3a 2e 77  69 70 6c 6f 70 20 4c 44  |LDY#0:.wiplop LD|
00000f20  41 28 77 69 72 65 70 29  2c 59 3a 53 54 41 28 26  |A(wirep),Y:STA(&|
00000f30  37 38 29 2c 59 3a 49 4e  59 3a 43 50 59 23 38 3a  |78),Y:INY:CPY#8:|
00000f40  42 4e 45 77 69 70 6c 6f  70 3a 44 45 58 3a 42 45  |BNEwiplop:DEX:BE|
00000f50  51 6e 6f 77 69 70 65 3a  4c 44 41 77 69 72 65 70  |Qnowipe:LDAwirep|
00000f60  3a 43 4c 43 3a 41 44 43  23 38 3a 53 54 41 77 69  |:CLC:ADC#8:STAwi|
00000f70  72 65 70 3a 4c 44 41 26  37 38 3a 41 44 43 61 64  |rep:LDA&78:ADCad|
00000f80  6c 6f 2c 58 3a 53 54 41  26 37 38 3a 4c 44 41 26  |lo,X:STA&78:LDA&|
00000f90  37 39 3a 41 44 43 61 64  68 69 2c 58 3a 4a 53 52  |79:ADCadhi,X:JSR|
00000fa0  73 63 72 6f 6c 77 3a 53  54 41 26 37 39 3a 4a 4d  |scrolw:STA&79:JM|
00000fb0  50 77 69 70 6c 62 0d 05  28 9f 2e 64 69 73 70 73  |Pwiplb..(..disps|
00000fc0  31 20 4c 44 41 23 31 3a  53 54 41 77 69 70 65 72  |1 LDA#1:STAwiper|
00000fd0  3a 2e 64 69 73 70 73 32  20 4c 44 41 23 26 38 30  |:.disps2 LDA#&80|
00000fe0  3a 53 54 41 77 69 72 65  70 3a 4c 44 41 78 70 6f  |:STAwirep:LDAxpo|
00000ff0  73 3a 53 54 41 78 73 65  74 3a 4c 44 41 79 70 6f  |s:STAxset:LDAypo|
00001000  73 3a 53 54 41 79 73 65  74 3a 4a 53 52 67 65 74  |s:STAyset:JSRget|
00001010  73 63 72 70 3a 4c 44 41  67 78 3a 42 45 51 64 73  |scrp:LDAgx:BEQds|
00001020  71 75 69 74 3a 43 4d 50  23 39 3a 42 43 53 64 73  |quit:CMP#9:BCSds|
00001030  71 75 69 74 3a 4c 44 41  67 79 3a 42 45 51 64 73  |quit:LDAgy:BEQds|
00001040  71 75 69 74 3a 43 4d 50  23 31 35 3a 42 43 53 64  |quit:CMP#15:BCSd|
00001050  73 71 75 69 74 0d 05 2d  c1 4c 44 41 67 78 3a 41  |squit..-.LDAgx:A|
00001060  53 4c 20 41 3a 41 53 4c  20 41 3a 41 53 4c 20 41  |SL A:ASL A:ASL A|
00001070  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 41 53 4c  |:ASL A:ASL A:ASL|
00001080  20 41 3a 43 4c 43 3a 41  44 43 73 63 72 6f 6c 6c  | A:CLC:ADCscroll|
00001090  3a 53 54 41 26 37 30 3a  4c 44 41 23 30 3a 41 44  |:STA&70:LDA#0:AD|
000010a0  43 73 63 72 6f 6c 6c 2b  31 3a 53 54 41 26 37 31  |Cscroll+1:STA&71|
000010b0  3a 4c 44 41 67 78 3a 4c  53 52 20 41 3a 4c 53 52  |:LDAgx:LSR A:LSR|
000010c0  20 41 3a 43 4c 43 3a 41  44 43 26 37 31 3a 53 54  | A:CLC:ADC&71:ST|
000010d0  41 26 37 31 3a 4c 44 41  67 79 3a 43 4c 43 3a 41  |A&71:LDAgy:CLC:A|
000010e0  44 43 26 37 31 3a 53 54  41 26 37 31 3a 4c 44 41  |DC&71:STA&71:LDA|
000010f0  67 79 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 43  |gy:ASL A:ASL A:C|
00001100  4c 43 3a 41 44 43 26 37  31 3a 53 54 41 26 37 31  |LC:ADC&71:STA&71|
00001110  3a 4c 44 59 23 30 0d 05  32 c8 53 54 59 26 37 32  |:LDY#0..2.STY&72|
00001120  3a 4c 44 41 23 26 31 41  3a 53 54 41 26 37 33 3a  |:LDA#&1A:STA&73:|
00001130  4c 44 58 6d 6f 76 73 74  61 67 3a 4c 44 41 73 65  |LDXmovstag:LDAse|
00001140  71 75 65 6e 2c 58 3a 43  4c 43 3a 41 44 43 66 69  |quen,X:CLC:ADCfi|
00001150  6e 65 3a 54 41 58 3a 4c  44 41 26 37 30 3a 43 4c  |ne:TAX:LDA&70:CL|
00001160  43 3a 41 44 43 6c 6f 77  61 64 2c 58 3a 53 54 41  |C:ADClowad,X:STA|
00001170  26 37 30 3a 4c 44 41 26  37 31 3a 41 44 43 68 69  |&70:LDA&71:ADChi|
00001180  67 68 61 64 2c 58 3a 4a  53 52 73 63 72 6f 6c 77  |ghad,X:JSRscrolw|
00001190  3a 4c 44 41 6d 66 6c 61  67 3a 42 4e 45 6d 6f 6e  |:LDAmflag:BNEmon|
000011a0  73 61 64 72 3a 43 50 58  23 30 3a 42 45 51 6e 6f  |sadr:CPX#0:BEQno|
000011b0  70 68 61 73 65 3a 4c 44  41 6d 6f 76 73 74 61 67  |phase:LDAmovstag|
000011c0  3a 43 4d 50 23 32 3a 42  45 51 6e 6f 70 68 61 73  |:CMP#2:BEQnophas|
000011d0  65 3a 4c 44 58 70 68 61  73 65 3a 49 4e 58 0d 05  |e:LDXphase:INX..|
000011e0  3c c9 2e 61 64 64 70 68  20 4c 44 41 26 37 32 3a  |<..addph LDA&72:|
000011f0  43 4c 43 3a 41 44 43 23  26 38 30 3a 53 54 41 26  |CLC:ADC#&80:STA&|
00001200  37 32 3a 4c 44 41 26 37  33 3a 41 44 43 23 30 3a  |72:LDA&73:ADC#0:|
00001210  53 54 41 26 37 33 3a 44  45 58 3a 42 4e 45 61 64  |STA&73:DEX:BNEad|
00001220  64 70 68 3a 4c 44 41 70  68 61 73 65 3a 82 23 31  |dph:LDAphase:.#1|
00001230  3a 53 54 41 70 68 61 73  65 3a 4a 4d 50 6e 6f 70  |:STAphase:JMPnop|
00001240  68 61 73 65 3a 2e 6d 6f  6e 73 61 64 72 20 4c 44  |hase:.monsadr LD|
00001250  41 6d 6f 6e 73 74 61 74  3a 82 23 31 3a 53 54 41  |Amonstat:.#1:STA|
00001260  6d 6f 6e 73 74 61 74 3a  41 53 4c 20 41 3a 41 53  |monstat:ASL A:AS|
00001270  4c 20 41 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |L A:ASL A:ASL A:|
00001280  41 53 4c 20 41 3a 43 4c  43 3a 41 44 43 23 26 38  |ASL A:CLC:ADC#&8|
00001290  30 3a 53 54 41 26 37 32  3a 4c 44 41 23 26 31 42  |0:STA&72:LDA#&1B|
000012a0  3a 53 54 41 26 37 33 0d  05 46 5e 4c 44 41 6d 74  |:STA&73..F^LDAmt|
000012b0  79 70 65 3a 43 4d 50 23  32 3a 42 4e 45 6e 6f 74  |ype:CMP#2:BNEnot|
000012c0  79 70 74 72 3a 4c 44 41  26 37 32 3a 43 4c 43 3a  |yptr:LDA&72:CLC:|
000012d0  41 44 43 23 26 38 30 3a  53 54 41 26 37 32 3a 4c  |ADC#&80:STA&72:L|
000012e0  44 41 26 37 33 3a 41 44  43 23 30 3a 53 54 41 26  |DA&73:ADC#0:STA&|
000012f0  37 33 3a 2e 6e 6f 74 79  70 74 72 20 4a 4d 50 6c  |73:.notyptr JMPl|
00001300  65 66 61 63 65 0d 05 50  a6 2e 6e 6f 70 68 61 73  |eface..P..nophas|
00001310  65 20 4c 44 41 72 67 68  74 73 3a 42 45 51 6e 6f  |e LDArghts:BEQno|
00001320  74 72 67 68 74 3a 4c 44  41 26 37 30 3a 43 4c 43  |trght:LDA&70:CLC|
00001330  3a 41 44 43 23 33 32 3a  53 54 41 26 37 30 3a 4c  |:ADC#32:STA&70:L|
00001340  44 41 26 37 31 3a 41 44  43 23 30 3a 53 54 41 26  |DA&71:ADC#0:STA&|
00001350  37 31 3a 2e 6e 6f 74 72  67 68 74 20 4c 44 41 66  |71:.notrght LDAf|
00001360  61 63 65 3a 42 4e 45 6c  65 66 61 63 65 3a 4c 44  |ace:BNEleface:LD|
00001370  41 26 37 32 3a 43 4c 43  3a 41 44 43 23 26 32 30  |A&72:CLC:ADC#&20|
00001380  3a 53 54 41 26 37 32 3a  2e 6c 65 66 61 63 65 20  |:STA&72:.leface |
00001390  4c 44 41 26 37 30 3a 53  54 41 26 37 38 3a 4c 44  |LDA&70:STA&78:LD|
000013a0  41 26 37 31 3a 53 54 41  26 37 39 0d 05 5a ea 4c  |A&71:STA&79..Z.L|
000013b0  44 58 23 38 3a 2e 6c 62  64 69 73 70 20 4c 44 59  |DX#8:.lbdisp LDY|
000013c0  23 30 3a 2e 6c 61 64 69  73 70 20 4c 44 41 28 26  |#0:.ladisp LDA(&|
000013d0  37 30 29 2c 59 3a 53 54  41 28 77 69 72 65 70 29  |70),Y:STA(wirep)|
000013e0  2c 59 3a 84 41 28 26 37  32 29 2c 59 3a 53 54 41  |,Y:.A(&72),Y:STA|
000013f0  28 26 37 30 29 2c 59 3a  49 4e 59 3a 43 50 59 23  |(&70),Y:INY:CPY#|
00001400  38 3a 42 4e 45 6c 61 64  69 73 70 3a 44 45 58 3a  |8:BNEladisp:DEX:|
00001410  42 45 51 77 61 69 74 65  6e 64 3a 4c 44 41 77 69  |BEQwaitend:LDAwi|
00001420  72 65 70 3a 43 4c 43 3a  41 44 43 23 38 3a 53 54  |rep:CLC:ADC#8:ST|
00001430  41 77 69 72 65 70 3a 4c  44 41 26 37 32 3a 41 44  |Awirep:LDA&72:AD|
00001440  43 6f 72 61 64 2c 58 3a  53 54 41 26 37 32 3a 4c  |Corad,X:STA&72:L|
00001450  44 41 26 37 33 3a 41 44  43 23 30 3a 53 54 41 26  |DA&73:ADC#0:STA&|
00001460  37 33 3a 4c 44 41 26 37  30 3a 41 44 43 61 64 6c  |73:LDA&70:ADCadl|
00001470  6f 2c 58 3a 53 54 41 26  37 30 3a 4c 44 41 26 37  |o,X:STA&70:LDA&7|
00001480  31 3a 41 44 43 61 64 68  69 2c 58 3a 4a 53 52 73  |1:ADCadhi,X:JSRs|
00001490  63 72 6f 6c 77 0d 05 64  0d 4a 4d 50 6c 62 64 69  |crolw..d.JMPlbdi|
000014a0  73 70 0d 05 6e 3f 2e 77  61 69 74 20 4c 44 41 63  |sp..n?.wait LDAc|
000014b0  6c 6f 63 6b 3a 43 4d 50  26 38 30 3a 42 4e 45 77  |lock:CMP&80:BNEw|
000014c0  61 69 74 3a 41 44 43 23  35 3a 53 54 41 26 38 30  |ait:ADC#5:STA&80|
000014d0  3a 2e 77 61 69 74 65 6e  64 20 54 59 41 3a 52 54  |:.waitend TYA:RT|
000014e0  53 0d 05 78 d8 2e 6a 75  6d 70 75 70 20 44 45 43  |S..x..jumpup DEC|
000014f0  75 70 76 65 6c 6f 3a 4c  44 41 79 70 6f 73 3a 42  |upvelo:LDAypos:B|
00001500  45 51 75 70 73 63 72 3a  53 45 43 3a 53 42 43 23  |EQupscr:SEC:SBC#|
00001510  31 3a 53 54 41 79 73 65  74 3a 4c 44 41 78 70 6f  |1:STAyset:LDAxpo|
00001520  73 3a 53 54 41 78 73 65  74 3a 4a 53 52 67 65 74  |s:STAxset:JSRget|
00001530  62 6c 6f 63 6b 2b 33 3a  4a 53 52 64 6f 6f 72 63  |block+3:JSRdoorc|
00001540  68 3a 42 43 53 75 70 6f  6e 65 3a 80 23 26 33 30  |h:BCSupone:.#&30|
00001550  3a 42 45 51 75 70 6f 6e  65 3a 4c 44 41 23 30 3a  |:BEQupone:LDA#0:|
00001560  53 54 41 75 70 76 65 6c  6f 3a 52 54 53 3a 2e 75  |STAupvelo:RTS:.u|
00001570  70 6f 6e 65 20 4c 44 41  23 36 3a 53 54 41 66 69  |pone LDA#6:STAfi|
00001580  6e 65 3a 44 45 43 79 70  6f 73 3a 52 54 53 3a 2e  |ne:DECypos:RTS:.|
00001590  75 70 73 63 72 20 44 45  43 79 73 63 72 3a 4c 44  |upscr DECyscr:LD|
000015a0  41 23 39 3a 53 54 41 79  70 6f 73 3a 4c 44 41 23  |A#9:STAypos:LDA#|
000015b0  36 3a 53 54 41 66 69 6e  65 0d 05 79 15 50 4c 41  |6:STAfine..y.PLA|
000015c0  3a 50 4c 41 3a 4a 4d 50  6e 65 77 73 63 72 0d 05  |:PLA:JMPnewscr..|
000015d0  82 dd 2e 72 65 73 65 74  73 63 72 20 4c 44 41 23  |...resetscr LDA#|
000015e0  30 3a 53 54 41 73 63 72  6f 6c 6c 3a 4c 44 41 23  |0:STAscroll:LDA#|
000015f0  26 33 30 3a 53 54 41 73  63 72 6f 6c 6c 2b 31 3a  |&30:STAscroll+1:|
00001600  2e 73 68 65 69 6c 61 20  4c 44 58 62 62 63 66 6c  |.sheila LDXbbcfl|
00001610  61 67 3a 42 4e 45 62 62  63 73 68 65 69 6c 61 3a  |ag:BNEbbcsheila:|
00001620  4c 53 52 20 41 3a 53 54  41 26 46 45 30 33 3a 4c  |LSR A:STA&FE03:L|
00001630  44 41 73 63 72 6f 6c 6c  3a 52 4f 52 20 41 3a 53  |DAscroll:ROR A:S|
00001640  54 41 26 46 45 30 32 3a  52 54 53 3a 2e 62 62 63  |TA&FE02:RTS:.bbc|
00001650  73 68 65 69 6c 61 20 4a  53 52 63 61 6c 63 62 62  |sheila JSRcalcbb|
00001660  63 3a 4c 44 41 23 31 32  3a 53 54 41 26 46 45 30  |c:LDA#12:STA&FE0|
00001670  30 3a 4c 44 41 62 62 63  73 68 3a 53 54 41 26 46  |0:LDAbbcsh:STA&F|
00001680  45 30 31 3a 4c 44 41 23  31 33 3a 53 54 41 26 46  |E01:LDA#13:STA&F|
00001690  45 30 30 3a 4c 44 41 62  62 63 73 68 2b 31 3a 53  |E00:LDAbbcsh+1:S|
000016a0  54 41 26 46 45 30 31 3a  52 54 53 0d 05 83 84 2e  |TA&FE01:RTS.....|
000016b0  73 63 72 65 65 6e 20 4c  44 58 66 69 6e 65 3a 4c  |screen LDXfine:L|
000016c0  44 41 63 65 6e 78 3a 43  4c 43 3a 41 44 43 61 64  |DAcenx:CLC:ADCad|
000016d0  6a 75 73 74 2c 58 3a 53  54 41 63 65 6e 78 3a 4c  |just,X:STAcenx:L|
000016e0  44 41 63 65 6e 79 3a 43  4c 43 3a 41 44 43 61 64  |DAceny:CLC:ADCad|
000016f0  6a 75 73 74 79 2c 58 3a  53 54 41 63 65 6e 79 3a  |justy,X:STAceny:|
00001700  4a 53 52 6d 6f 6e 73 65  74 3a 4c 44 41 23 30 3a  |JSRmonset:LDA#0:|
00001710  53 54 41 63 6c 65 61 72  75 70 3a 53 54 41 6c 61  |STAclearup:STAla|
00001720  73 74 61 74 3a 53 54 41  69 6e 76 66 6c 61 67 0d  |stat:STAinvflag.|
00001730  05 84 27 4c 44 41 78 70  6f 73 3a 53 54 41 78 6f  |..'LDAxpos:STAxo|
00001740  6c 64 3a 4c 44 41 79 70  6f 73 3a 53 54 41 79 6f  |ld:LDAypos:STAyo|
00001750  6c 64 3a 52 54 53 0d 05  87 81 2e 73 63 72 64 69  |ld:RTS.....scrdi|
00001760  73 70 20 4c 44 41 78 70  6f 73 3a 53 45 43 3a 53  |sp LDAxpos:SEC:S|
00001770  42 43 23 35 3a 53 54 41  63 65 6e 78 3a 4c 44 41  |BC#5:STAcenx:LDA|
00001780  79 70 6f 73 3a 53 45 43  3a 53 42 43 23 37 3a 53  |ypos:SEC:SBC#7:S|
00001790  54 41 63 65 6e 79 3a 2e  74 69 74 64 69 73 70 20  |TAceny:.titdisp |
000017a0  4a 53 52 73 63 72 6f 66  66 3a 4c 44 41 23 26 46  |JSRscroff:LDA#&F|
000017b0  46 3a 53 54 41 79 73 65  74 3a 2e 79 6c 6f 70 20  |F:STAyset:.ylop |
000017c0  4c 44 41 23 26 46 46 3a  53 54 41 78 73 65 74 3a  |LDA#&FF:STAxset:|
000017d0  49 4e 43 79 73 65 74 0d  05 8c 50 2e 78 6c 6f 70  |INCyset...P.xlop|
000017e0  20 49 4e 43 78 73 65 74  3a 4a 53 52 62 6c 6f 63  | INCxset:JSRbloc|
000017f0  6b 6f 6e 3a 4c 44 41 78  73 65 74 3a 43 4d 50 23  |kon:LDAxset:CMP#|
00001800  39 3a 42 4e 45 78 6c 6f  70 3a 2e 6e 65 78 74 79  |9:BNExlop:.nexty|
00001810  20 4c 44 41 79 73 65 74  3a 43 4d 50 23 31 35 3a  | LDAyset:CMP#15:|
00001820  42 4e 45 79 6c 6f 70 0d  05 96 dc 2e 73 63 72 6f  |BNEylop.....scro|
00001830  6e 20 4c 44 41 23 31 37  3a 53 54 41 73 63 72 6f  |n LDA#17:STAscro|
00001840  66 64 3a 2e 73 63 72 6f  6e 6c 6f 70 20 4c 44 41  |fd:.scronlop LDA|
00001850  23 26 43 3a 4c 44 58 23  28 73 63 72 6f 66 64 20  |#&C:LDX#(scrofd |
00001860  83 32 35 36 29 3a 4c 44  59 23 28 73 63 72 6f 66  |.256):LDY#(scrof|
00001870  64 20 81 32 35 36 29 3a  4a 53 52 6f 73 77 6f 72  |d .256):JSRoswor|
00001880  64 3a 44 45 43 73 63 72  6f 66 64 3a 4c 44 41 73  |d:DECscrofd:LDAs|
00001890  63 72 6f 66 64 3a 80 23  37 3a 53 54 41 73 63 72  |crofd:.#7:STAscr|
000018a0  6f 66 64 2b 31 3a 4c 44  41 73 63 72 6f 66 64 3a  |ofd+1:LDAscrofd:|
000018b0  42 4e 45 73 63 72 6f 6e  6c 6f 70 3a 4c 44 41 63  |BNEscronlop:LDAc|
000018c0  6c 6f 63 6b 3a 43 4c 43  3a 41 44 43 23 34 3a 53  |lock:CLC:ADC#4:S|
000018d0  54 41 26 38 30 3a 4c 44  41 23 30 3a 53 54 41 77  |TA&80:LDA#0:STAw|
000018e0  69 70 65 72 3a 53 54 41  77 69 70 65 72 6d 3a 4c  |iper:STAwiperm:L|
000018f0  44 41 23 31 3a 53 54 41  63 68 61 6e 67 65 64 3a  |DA#1:STAchanged:|
00001900  52 54 53 0d 05 a0 91 2e  6c 61 64 64 65 72 62 20  |RTS.....ladderb |
00001910  4c 44 58 23 26 39 37 3a  4a 53 52 6b 65 79 62 79  |LDX#&97:JSRkeyby|
00001920  74 65 3a 42 43 53 66 61  6c 6c 73 65 74 3a 4c 44  |te:BCSfallset:LD|
00001930  58 23 26 42 36 3a 4a 53  52 6b 65 79 62 79 74 65  |X#&B6:JSRkeybyte|
00001940  3a 42 43 43 73 74 61 62  6c 65 3a 4c 44 41 23 31  |:BCCstable:LDA#1|
00001950  3a 53 54 41 75 70 76 65  6c 6f 3a 4a 53 52 6a 75  |:STAupvelo:JSRju|
00001960  6d 70 75 70 3a 4a 4d 50  6f 6c 64 73 63 72 3a 2e  |mpup:JMPoldscr:.|
00001970  73 74 61 62 6c 65 20 4a  4d 50 6e 6f 66 61 6c 6c  |stable JMPnofall|
00001980  3a 2e 66 61 6c 6c 73 65  74 20 4a 4d 50 6c 61 64  |:.fallset JMPlad|
00001990  64 6f 77 6e 0d 05 aa c3  2e 62 6c 6f 63 6b 6f 6e  |down.....blockon|
000019a0  20 4a 53 52 6f 62 6a 63  68 65 63 6b 3a 4a 53 52  | JSRobjcheck:JSR|
000019b0  67 65 74 62 6c 6f 63 6b  3a 4c 44 41 78 73 65 74  |getblock:LDAxset|
000019c0  3a 43 4d 50 23 26 46 46  3a 42 4e 45 6e 6f 74 6c  |:CMP#&FF:BNEnotl|
000019d0  73 3a 4c 44 41 23 39 3a  53 54 41 78 73 65 74 3a  |s:LDA#9:STAxset:|
000019e0  2e 6e 6f 74 6c 73 20 41  53 4c 20 41 3a 41 53 4c  |.notls ASL A:ASL|
000019f0  20 41 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 41  | A:ASL A:ASL A:A|
00001a00  53 4c 20 41 3a 41 53 4c  20 41 3a 43 4c 43 3a 41  |SL A:ASL A:CLC:A|
00001a10  44 43 73 63 72 6f 6c 6c  3a 53 54 41 26 37 30 3a  |DCscroll:STA&70:|
00001a20  4c 44 41 23 30 3a 41 44  43 73 63 72 6f 6c 6c 2b  |LDA#0:ADCscroll+|
00001a30  31 3a 53 54 41 26 37 31  3a 4c 44 41 78 73 65 74  |1:STA&71:LDAxset|
00001a40  3a 4c 53 52 20 41 3a 4c  53 52 20 41 3a 43 4c 43  |:LSR A:LSR A:CLC|
00001a50  3a 41 44 43 26 37 31 0d  05 af 3f 43 4c 43 3a 41  |:ADC&71...?CLC:A|
00001a60  44 43 79 73 65 74 3a 53  54 41 26 37 31 3a 4c 44  |DCyset:STA&71:LD|
00001a70  41 79 73 65 74 3a 41 53  4c 20 41 3a 41 53 4c 20  |Ayset:ASL A:ASL |
00001a80  41 3a 43 4c 43 3a 41 44  43 26 37 31 3a 4a 53 52  |A:CLC:ADC&71:JSR|
00001a90  73 63 72 6f 6c 77 0d 05  b4 67 4c 44 41 26 37 32  |scrolw...gLDA&72|
00001aa0  3a 4c 53 52 20 41 3a 4c  53 52 20 41 3a 43 4c 43  |:LSR A:LSR A:CLC|
00001ab0  3a 41 44 43 23 26 32 30  3a 53 54 41 26 37 33 3a  |:ADC#&20:STA&73:|
00001ac0  4c 44 41 26 37 32 3a 43  4d 50 23 33 30 3a 42 45  |LDA&72:CMP#30:BE|
00001ad0  51 64 6f 6f 72 63 6f 6c  3a 4c 53 52 20 41 3a 52  |Qdoorcol:LSR A:R|
00001ae0  4f 52 20 41 3a 52 4f 52  20 41 3a 80 23 26 43 30  |OR A:ROR A:.#&C0|
00001af0  3a 53 54 41 26 37 32 3a  4c 44 59 23 30 0d 05 be  |:STA&72:LDY#0...|
00001b00  b5 2e 74 72 61 6e 73 74  6f 70 20 4c 44 41 28 26  |..transtop LDA(&|
00001b10  37 32 29 2c 59 3a 80 23  26 33 46 3a 53 54 41 26  |72),Y:.#&3F:STA&|
00001b20  37 34 3a 4c 44 41 28 26  37 30 29 2c 59 3a 80 23  |74:LDA(&70),Y:.#|
00001b30  26 43 30 3a 43 4c 43 3a  41 44 43 26 37 34 3a 53  |&C0:CLC:ADC&74:S|
00001b40  54 41 28 26 37 30 29 2c  59 3a 49 4e 59 3a 43 50  |TA(&70),Y:INY:CP|
00001b50  59 23 26 34 30 3a 42 4e  45 74 72 61 6e 73 74 6f  |Y#&40:BNEtransto|
00001b60  70 3a 4c 44 59 23 30 3a  4c 44 41 26 37 32 3a 43  |p:LDY#0:LDA&72:C|
00001b70  4c 43 3a 41 44 43 23 26  34 30 3a 53 54 41 26 37  |LC:ADC#&40:STA&7|
00001b80  32 3a 4c 44 41 26 37 30  3a 43 4c 43 3a 41 44 43  |2:LDA&70:CLC:ADC|
00001b90  23 26 38 30 3a 53 54 41  26 37 30 3a 4c 44 41 26  |#&80:STA&70:LDA&|
00001ba0  37 31 3a 41 44 43 23 32  3a 4a 53 52 73 63 72 6f  |71:ADC#2:JSRscro|
00001bb0  6c 77 0d 05 c8 7d 2e 74  72 61 6e 73 62 6f 74 20  |lw...}.transbot |
00001bc0  4c 44 41 28 26 37 32 29  2c 59 3a 80 23 26 33 46  |LDA(&72),Y:.#&3F|
00001bd0  3a 53 54 41 26 37 34 3a  4c 44 41 28 26 37 30 29  |:STA&74:LDA(&70)|
00001be0  2c 59 3a 80 23 26 43 30  3a 43 4c 43 3a 41 44 43  |,Y:.#&C0:CLC:ADC|
00001bf0  26 37 34 3a 53 54 41 28  26 37 30 29 2c 59 3a 49  |&74:STA(&70),Y:I|
00001c00  4e 59 3a 43 50 59 23 26  34 30 3a 42 4e 45 74 72  |NY:CPY#&40:BNEtr|
00001c10  61 6e 73 62 6f 74 3a 52  54 53 3a 2e 64 6f 6f 72  |ansbot:RTS:.door|
00001c20  63 6f 6c 20 4a 4d 50 6c  6f 63 6b 74 79 70 65 0d  |col JMPlocktype.|
00001c30  05 d2 98 2e 67 65 74 72  65 6c 74 20 4c 44 41 78  |....getrelt LDAx|
00001c40  73 63 72 3a 53 54 41 67  78 73 3a 4c 44 41 63 65  |scr:STAgxs:LDAce|
00001c50  6e 78 3a 43 4c 43 3a 41  44 43 78 73 65 74 3a 2e  |nx:CLC:ADCxset:.|
00001c60  78 72 65 74 72 20 53 54  41 67 78 3a 43 4d 50 23  |xretr STAgx:CMP#|
00001c70  31 30 3a 42 43 43 78 6f  76 65 72 66 3a 43 4d 50  |10:BCCxoverf:CMP|
00001c80  23 26 38 30 3a 42 43 43  78 6f 76 65 72 72 3a 41  |#&80:BCCxoverr:A|
00001c90  44 43 23 39 3a 44 45 43  67 78 73 3a 4a 4d 50 78  |DC#9:DECgxs:JMPx|
00001ca0  72 65 74 72 3a 2e 78 6f  76 65 72 72 20 53 45 43  |retr:.xoverr SEC|
00001cb0  3a 53 42 43 23 31 30 3a  49 4e 43 67 78 73 3a 4a  |:SBC#10:INCgxs:J|
00001cc0  4d 50 78 72 65 74 72 0d  05 d7 a3 2e 78 6f 76 65  |MPxretr.....xove|
00001cd0  72 66 20 4c 44 41 79 73  63 72 3a 53 54 41 67 79  |rf LDAyscr:STAgy|
00001ce0  73 3a 4c 44 41 63 65 6e  79 3a 43 4c 43 3a 41 44  |s:LDAceny:CLC:AD|
00001cf0  43 79 73 65 74 3a 2e 79  72 65 74 72 20 53 54 41  |Cyset:.yretr STA|
00001d00  67 79 3a 43 4d 50 23 31  30 3a 42 43 43 79 6f 76  |gy:CMP#10:BCCyov|
00001d10  65 72 66 3a 43 4d 50 23  26 38 30 3a 42 43 43 79  |erf:CMP#&80:BCCy|
00001d20  6f 76 65 72 72 3a 41 44  43 23 39 3a 44 45 43 67  |overr:ADC#9:DECg|
00001d30  79 73 3a 4a 4d 50 79 72  65 74 72 3a 2e 79 6f 76  |ys:JMPyretr:.yov|
00001d40  65 72 72 20 53 45 43 3a  53 42 43 23 31 30 3a 49  |err SEC:SBC#10:I|
00001d50  4e 43 67 79 73 3a 4a 4d  50 79 72 65 74 72 3a 2e  |NCgys:JMPyretr:.|
00001d60  79 6f 76 65 72 66 20 52  54 53 0d 05 d9 ec 2e 67  |yoverf RTS.....g|
00001d70  65 74 62 6c 72 20 4a 53  52 67 65 74 72 65 6c 74  |etblr JSRgetrelt|
00001d80  3a 4a 4d 50 62 6c 6f 63  6b 63 61 6c 63 3a 2e 67  |:JMPblockcalc:.g|
00001d90  65 74 74 72 75 65 20 4c  44 41 78 73 65 74 3a 53  |ettrue LDAxset:S|
00001da0  54 41 67 78 3a 4c 44 41  79 73 65 74 3a 53 54 41  |TAgx:LDAyset:STA|
00001db0  67 79 3a 4c 44 41 78 73  63 72 3a 53 54 41 67 78  |gy:LDAxscr:STAgx|
00001dc0  73 3a 4c 44 41 79 73 63  72 3a 53 54 41 67 79 73  |s:LDAyscr:STAgys|
00001dd0  3a 4a 4d 50 62 6c 6f 63  6b 63 61 6c 63 3a 2e 67  |:JMPblockcalc:.g|
00001de0  65 74 62 6c 6f 63 6b 20  4a 4d 50 67 65 74 62 6c  |etblock JMPgetbl|
00001df0  72 3a 4a 4d 50 67 65 74  74 72 75 65 3a 2e 62 6c  |r:JMPgettrue:.bl|
00001e00  6f 63 6b 63 61 6c 63 20  4c 44 41 67 78 73 3a 43  |ockcalc LDAgxs:C|
00001e10  4d 50 23 31 36 3a 42 43  53 6f 66 66 73 69 64 65  |MP#16:BCSoffside|
00001e20  3a 4c 44 41 67 79 73 3a  43 4d 50 23 36 3a 42 43  |:LDAgys:CMP#6:BC|
00001e30  43 6f 6e 73 63 3a 2e 6f  66 66 73 69 64 65 20 4c  |Consc:.offside L|
00001e40  44 41 63 6c 6f 63 6b 3a  80 23 31 3a 53 54 41 26  |DAclock:.#1:STA&|
00001e50  37 32 3a 52 54 53 0d 05  da 56 2e 6f 6e 73 63 20  |72:RTS...V.onsc |
00001e60  4c 44 41 23 26 32 30 3a  43 4c 43 3a 41 44 43 67  |LDA#&20:CLC:ADCg|
00001e70  78 73 3a 53 54 41 26 37  31 3a 4c 44 41 67 79 73  |xs:STA&71:LDAgys|
00001e80  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 41 53 4c  |:ASL A:ASL A:ASL|
00001e90  20 41 3a 41 53 4c 20 41  3a 43 4c 43 3a 41 44 43  | A:ASL A:CLC:ADC|
00001ea0  26 37 31 3a 53 54 41 73  63 72 6e 6f 0d 05 dc c4  |&71:STAscrno....|
00001eb0  53 54 41 26 37 31 3a 4c  44 41 67 79 3a 53 54 41  |STA&71:LDAgy:STA|
00001ec0  26 37 30 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |&70:ASL A:ASL A:|
00001ed0  41 53 4c 20 41 3a 50 48  41 3a 43 4c 43 3a 41 44  |ASL A:PHA:CLC:AD|
00001ee0  43 26 37 30 3a 53 54 41  26 37 30 3a 50 4c 41 3a  |C&70:STA&70:PLA:|
00001ef0  41 53 4c 20 41 3a 43 4c  43 3a 41 44 43 26 37 30  |ASL A:CLC:ADC&70|
00001f00  3a 53 54 41 26 37 30 3a  4c 44 59 67 78 3a 4c 44  |:STA&70:LDYgx:LD|
00001f10  41 78 64 61 74 61 2c 59  3a 54 41 59 3a 4c 44 41  |Axdata,Y:TAY:LDA|
00001f20  28 26 37 30 29 2c 59 3a  52 4f 4c 20 41 3a 52 4f  |(&70),Y:ROL A:RO|
00001f30  4c 20 41 3a 52 4f 4c 20  41 3a 80 23 33 3a 53 54  |L A:ROL A:.#3:ST|
00001f40  41 26 37 32 3a 49 4e 59  3a 4c 44 41 28 26 37 30  |A&72:INY:LDA(&70|
00001f50  29 2c 59 3a 4c 53 52 20  41 3a 4c 53 52 20 41 3a  |),Y:LSR A:LSR A:|
00001f60  4c 53 52 20 41 3a 4c 53  52 20 41 3a 80 23 31 32  |LSR A:LSR A:.#12|
00001f70  0d 05 e6 7a 43 4c 43 3a  41 44 43 26 37 32 3a 53  |...zCLC:ADC&72:S|
00001f80  54 41 26 37 32 3a 4c 44  41 67 78 3a 4c 53 52 20  |TA&72:LDAgx:LSR |
00001f90  41 3a 54 41 59 3a 4c 44  41 68 62 64 61 74 2c 59  |A:TAY:LDAhbdat,Y|
00001fa0  3a 54 41 59 3a 4c 44 41  28 26 37 30 29 2c 59 3a  |:TAY:LDA(&70),Y:|
00001fb0  53 54 41 26 37 33 3a 4c  44 41 67 78 3a 80 23 31  |STA&73:LDAgx:.#1|
00001fc0  3a 42 4e 45 62 69 74 32  3a 4c 44 41 26 37 33 3a  |:BNEbit2:LDA&73:|
00001fd0  41 53 4c 20 41 3a 52 4f  4c 20 41 3a 52 4f 4c 20  |ASL A:ROL A:ROL |
00001fe0  41 3a 4a 4d 50 66 62 67  6f 74 0d 05 f0 5b 2e 62  |A:JMPfbgot...[.b|
00001ff0  69 74 32 20 4c 44 41 26  37 33 3a 41 53 4c 20 41  |it2 LDA&73:ASL A|
00002000  3a 52 4f 4c 20 41 3a 2e  66 62 67 6f 74 20 80 23  |:ROL A:.fbgot .#|
00002010  31 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 41 53  |1:ASL A:ASL A:AS|
00002020  4c 20 41 3a 41 53 4c 20  41 3a 43 4c 43 3a 41 44  |L A:ASL A:CLC:AD|
00002030  43 26 37 32 3a 41 53 4c  20 41 3a 53 54 41 26 37  |C&72:ASL A:STA&7|
00002040  32 3a 52 54 53 0d 05 fa  9b 2e 62 6c 61 73 63 72  |2:RTS.....blascr|
00002050  20 4a 53 52 72 65 73 65  74 73 63 72 3a 4a 53 52  | JSRresetscr:JSR|
00002060  73 63 72 6f 66 66 3a 4c  44 59 23 30 3a 53 54 59  |scroff:LDY#0:STY|
00002070  26 37 30 3a 4c 44 41 23  26 33 30 3a 53 54 41 26  |&70:LDA#&30:STA&|
00002080  37 31 3a 2e 62 6c 61 6e  6c 6f 70 20 4c 44 41 28  |71:.blanlop LDA(|
00002090  26 37 30 29 2c 59 3a 80  23 26 43 30 3a 53 54 41  |&70),Y:.#&C0:STA|
000020a0  28 26 37 30 29 2c 59 3a  49 4e 59 3a 42 4e 45 62  |(&70),Y:INY:BNEb|
000020b0  6c 61 6e 6c 6f 70 3a 49  4e 43 26 37 31 3a 4c 44  |lanlop:INC&71:LD|
000020c0  41 26 37 31 3a 43 4d 50  23 26 38 30 3a 42 4e 45  |A&71:CMP#&80:BNE|
000020d0  62 6c 61 6e 6c 6f 70 3a  4a 4d 50 73 63 72 6f 6e  |blanlop:JMPscron|
000020e0  0d 06 04 4b 2e 70 75 74  63 68 20 41 53 4c 20 41  |...K.putch ASL A|
000020f0  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 54 41 58  |:ASL A:ASL A:TAX|
00002100  3a 4c 44 41 73 63 72 6f  6c 6c 3a 53 54 41 26 37  |:LDAscroll:STA&7|
00002110  30 3a 4c 44 41 73 63 72  6f 6c 6c 2b 31 3a 53 54  |0:LDAscroll+1:ST|
00002120  41 26 37 31 3a 4c 44 59  78 63 68 0d 06 0e 4e 2e  |A&71:LDYxch...N.|
00002130  78 6c 6f 70 63 20 42 45  51 6e 6f 78 63 68 3a 4c  |xlopc BEQnoxch:L|
00002140  44 41 26 37 30 3a 43 4c  43 3a 41 44 43 23 26 32  |DA&70:CLC:ADC#&2|
00002150  30 3a 53 54 41 26 37 30  3a 4c 44 41 26 37 31 3a  |0:STA&70:LDA&71:|
00002160  41 44 43 23 30 3a 53 54  41 26 37 31 3a 44 45 59  |ADC#0:STA&71:DEY|
00002170  3a 4a 4d 50 78 6c 6f 70  63 0d 06 18 5c 2e 6e 6f  |:JMPxlopc...\.no|
00002180  78 63 68 20 4c 44 59 79  63 68 3a 2e 79 6c 6f 70  |xch LDYych:.ylop|
00002190  63 20 42 45 51 6e 6f 79  63 68 3a 4c 44 41 26 37  |c BEQnoych:LDA&7|
000021a0  30 3a 43 4c 43 3a 41 44  43 23 26 38 30 3a 53 54  |0:CLC:ADC#&80:ST|
000021b0  41 26 37 30 3a 4c 44 41  26 37 31 3a 41 44 43 23  |A&70:LDA&71:ADC#|
000021c0  32 3a 53 54 41 26 37 31  3a 44 45 59 3a 4a 4d 50  |2:STA&71:DEY:JMP|
000021d0  79 6c 6f 70 63 0d 06 22  67 2e 6e 6f 79 63 68 20  |ylopc.."g.noych |
000021e0  4a 53 52 73 63 72 6f 6c  77 3a 4c 44 59 23 30 3a  |JSRscrolw:LDY#0:|
000021f0  2e 73 6c 69 6e 65 20 4c  44 41 26 43 30 30 2c 58  |.sline LDA&C00,X|
00002200  3a 2e 6c 69 6e 65 6c 6f  70 20 50 48 41 3a 41 53  |:.linelop PHA:AS|
00002210  4c 20 41 3a 52 4f 4c 20  41 3a 52 4f 4c 20 41 3a  |L A:ROL A:ROL A:|
00002220  80 23 33 3a 42 45 51 62  6c 61 6e 63 68 3a 53 54  |.#3:BEQblanch:ST|
00002230  41 69 74 65 6d 70 3a 4c  44 41 23 30 0d 06 27 89  |Aitemp:LDA#0..'.|
00002240  2e 63 6f 6c 63 68 20 43  4c 43 3a 41 44 43 63 6f  |.colch CLC:ADCco|
00002250  6c 3a 44 45 43 69 74 65  6d 70 3a 42 4e 45 63 6f  |l:DECitemp:BNEco|
00002260  6c 63 68 3a 2e 62 6c 61  6e 63 68 20 53 54 41 69  |lch:.blanch STAi|
00002270  74 65 6d 70 3a 4c 44 41  28 26 37 30 29 2c 59 3a  |temp:LDA(&70),Y:|
00002280  80 23 26 43 30 3a 84 41  69 74 65 6d 70 3a 82 69  |.#&C0:.Aitemp:.i|
00002290  6e 76 66 6c 61 67 3a 53  54 41 28 26 37 30 29 2c  |nvflag:STA(&70),|
000022a0  59 3a 54 59 41 3a 43 4c  43 3a 41 44 43 23 38 3a  |Y:TYA:CLC:ADC#8:|
000022b0  54 41 59 3a 43 4d 50 23  26 32 30 3a 42 43 53 6e  |TAY:CMP#&20:BCSn|
000022c0  65 77 6c 69 6e 0d 06 2c  4d 50 4c 41 3a 41 53 4c  |ewlin..,MPLA:ASL|
000022d0  20 41 3a 41 53 4c 20 41  3a 4a 4d 50 6c 69 6e 65  | A:ASL A:JMPline|
000022e0  6c 6f 70 3a 2e 6e 65 77  6c 69 6e 20 80 23 37 3a  |lop:.newlin .#7:|
000022f0  54 41 59 3a 50 4c 41 3a  49 4e 59 3a 49 4e 58 3a  |TAY:PLA:INY:INX:|
00002300  43 50 59 23 38 3a 42 4e  45 73 6c 69 6e 65 3a 52  |CPY#8:BNEsline:R|
00002310  54 53 0d 06 2e 40 2e 73  63 72 6f 6c 77 20 43 4d  |TS...@.scrolw CM|
00002320  50 23 26 38 30 3a 42 43  43 6e 6f 73 63 72 6f 6c  |P#&80:BCCnoscrol|
00002330  77 3a 53 45 43 3a 53 42  43 23 26 35 30 3a 2e 6e  |w:SEC:SBC#&50:.n|
00002340  6f 73 63 72 6f 6c 77 20  53 54 41 26 37 31 3a 52  |oscrolw STA&71:R|
00002350  54 53 0d 06 2f 67 2e 6b  65 79 62 79 74 65 20 43  |TS../g.keybyte C|
00002360  50 58 7a 65 72 6f 62 79  74 65 3a 42 45 51 61 75  |PXzerobyte:BEQau|
00002370  74 6f 6b 65 79 3a 43 50  58 7a 65 72 6f 62 79 74  |tokey:CPXzerobyt|
00002380  65 2b 31 3a 42 45 51 61  75 74 6f 6b 65 79 3a 4c  |e+1:BEQautokey:L|
00002390  44 41 23 26 38 31 3a 4c  44 59 23 26 46 46 3a 4a  |DA#&81:LDY#&FF:J|
000023a0  4d 50 6f 73 62 79 74 65  3a 2e 61 75 74 6f 6b 65  |MPosbyte:.autoke|
000023b0  79 20 53 45 43 3a 52 54  53 0d 06 31 35 2e 6c 6d  |y SEC:RTS..15.lm|
000023c0  6f 76 65 73 20 45 51 55  42 31 3a 45 51 55 42 31  |oves EQUB1:EQUB1|
000023d0  3a 45 51 55 42 31 3a 45  51 55 42 31 3a 45 51 55  |:EQUB1:EQUB1:EQU|
000023e0  42 31 3a 45 51 55 42 37  3a 45 51 55 42 33 0d 06  |B1:EQUB7:EQUB3..|
000023f0  32 35 2e 72 6d 6f 76 65  73 20 45 51 55 42 32 3a  |25.rmoves EQUB2:|
00002400  45 51 55 42 32 3a 45 51  55 42 32 3a 45 51 55 42  |EQUB2:EQUB2:EQUB|
00002410  32 3a 45 51 55 42 32 3a  45 51 55 42 38 3a 45 51  |2:EQUB2:EQUB8:EQ|
00002420  55 42 34 0d 06 36 cf 2e  65 6e 65 72 73 20 4c 44  |UB4..6..eners LD|
00002430  58 23 26 44 44 3a 4a 53  52 6b 65 79 62 79 74 65  |X#&DD:JSRkeybyte|
00002440  3a 42 43 43 6e 6f 65 3a  4c 44 41 6b 65 6e 3a 42  |:BCCnoe:LDAken:B|
00002450  4e 45 6b 65 64 3a 4c 44  41 70 6f 77 65 72 3a 53  |NEked:LDApower:S|
00002460  54 41 6b 65 6e 3a 53 54  41 65 73 2b 34 3a 4c 44  |TAken:STAes+4:LD|
00002470  41 23 37 3a 4c 44 58 23  28 65 73 20 83 20 32 35  |A#7:LDX#(es . 25|
00002480  36 29 3a 4c 44 59 23 28  65 73 20 81 20 32 35 36  |6):LDY#(es . 256|
00002490  29 3a 4a 53 52 6f 73 77  6f 72 64 3a 4c 44 41 23  |):JSRosword:LDA#|
000024a0  30 3a 53 54 41 65 73 2b  34 3a 4c 44 41 23 37 3a  |0:STAes+4:LDA#7:|
000024b0  4c 44 58 23 28 65 73 20  83 20 32 35 36 29 3a 4c  |LDX#(es . 256):L|
000024c0  44 59 23 28 65 73 20 81  20 32 35 36 29 3a 4a 4d  |DY#(es . 256):JM|
000024d0  50 6f 73 77 6f 72 64 3a  2e 6e 6f 65 20 4c 44 41  |Posword:.noe LDA|
000024e0  23 30 3a 53 54 41 6b 65  6e 3a 2e 6b 65 64 20 52  |#0:STAken:.ked R|
000024f0  54 53 0d 06 40 21 2e 65  73 20 45 51 55 57 31 3a  |TS..@!.es EQUW1:|
00002500  45 51 55 57 2d 31 30 3a  45 51 55 57 30 3a 45 51  |EQUW-10:EQUW0:EQ|
00002510  55 57 35 0d 06 42 28 45  51 55 42 30 3a 2e 68 6f  |UW5..B(EQUB0:.ho|
00002520  72 73 20 45 51 55 42 32  3a 45 51 55 42 35 3a 45  |rs EQUB2:EQUB5:E|
00002530  51 55 42 37 3a 45 51 55  42 31 30 0d 06 44 29 45  |QUB7:EQUB10..D)E|
00002540  51 55 42 30 3a 2e 76 65  72 73 20 45 51 55 42 34  |QUB0:.vers EQUB4|
00002550  3a 45 51 55 42 38 3a 45  51 55 42 31 32 3a 45 51  |:EQUB8:EQUB12:EQ|
00002560  55 42 31 36 0d 06 47 5b  2e 6e 61 6d 65 20 45 51  |UB16..G[.name EQ|
00002570  55 42 39 3a 45 51 55 42  31 38 3a 45 51 55 42 31  |UB9:EQUB18:EQUB1|
00002580  34 3a 45 51 55 42 32 33  3a 45 51 55 42 31 37 3a  |4:EQUB23:EQUB17:|
00002590  45 51 55 42 35 3a 45 51  55 42 31 35 3a 45 51 55  |EQUB5:EQUB15:EQU|
000025a0  57 30 3a 45 51 55 42 32  33 3a 45 51 55 42 32 33  |W0:EQUB23:EQUB23|
000025b0  3a 45 51 55 42 32 33 3a  45 51 55 42 32 35 35 0d  |:EQUB23:EQUB255.|
000025c0  06 4a 07 5d 3a e1 0d ff                           |.J.]:...|
000025c8
Backup/Game2A.m0
Backup/Game2A.m1
Backup/Game2A.m2
Backup/Game2A.m4
Backup/Game2A.m5