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

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: Game2A
Read OK:
File size: 25B3 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:.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:JSRcheckos: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
 1160STAobch: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:STAwiper:.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.dispshr LDA#1:STAwiper:LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:CMP#2:BCCdsquit:CMP#8: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#13:STA&FE00:LDAbbcsh:STA&FE01:LDA#12: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:.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:JSRcheckos: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
�8STAobch: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:STAwiper:.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
(�.dispshr LDA#1:STAwiper:LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:CMP#2:BCCdsquit:CMP#8: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#13:STA&FE00:LDAbbcsh:STA&FE01:LDA#12: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 8b 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 6f 62 6a 65 63  |wer EQUB0:.objec|
000001f0  74 73 20 45 51 55 57 30  3a 2e 6f 62 63 68 20 45  |ts EQUW0:.obch E|
00000200  51 55 42 30 3a 2e 67 65  74 73 74 61 74 20 45 51  |QUB0:.getstat EQ|
00000210  55 42 30 0d 04 24 ad 2e  76 65 63 74 6f 72 20 45  |UB0..$..vector E|
00000220  51 55 57 30 3a 2e 6c 61  73 74 61 74 20 45 51 55  |QUW0:.lastat EQU|
00000230  42 30 3a 2e 6c 61 73 61  64 20 45 51 55 57 30 3a  |B0:.lasad EQUW0:|
00000240  2e 6c 61 73 64 69 72 20  45 51 55 42 30 3a 2e 6c  |.lasdir EQUB0:.l|
00000250  61 73 74 65 70 20 45 51  55 42 30 3a 2e 78 66 20  |astep EQUB0:.xf |
00000260  45 51 55 42 30 3a 2e 79  66 20 45 51 55 42 30 3a  |EQUB0:.yf EQUB0:|
00000270  2e 77 69 72 65 70 20 45  51 55 57 30 3a 2e 78 6d  |.wirep EQUW0:.xm|
00000280  6f 6e 74 20 45 51 55 42  30 3a 2e 79 6d 6f 6e 74  |ont EQUB0:.ymont|
00000290  20 45 51 55 42 30 3a 2e  6d 66 6c 61 67 20 45 51  | EQUB0:.mflag EQ|
000002a0  55 42 30 3a 2e 6d 6f 6e  73 74 61 74 20 45 51 55  |UB0:.monstat EQU|
000002b0  42 30 3a 2e 77 69 70 65  72 6d 20 45 51 55 42 30  |B0:.wiperm EQUB0|
000002c0  0d 04 2e 58 2e 73 63 72  6f 66 64 20 45 51 55 42  |...X.scrofd EQUB|
000002d0  30 3a 45 51 55 44 30 3a  2e 64 65 61 64 65 64 20  |0:EQUD0:.deaded |
000002e0  45 51 55 42 30 3a 2e 63  6c 65 61 72 75 70 20 45  |EQUB0:.clearup E|
000002f0  51 55 42 30 3a 2e 78 6d  6f 6f 20 45 51 55 42 30  |QUB0:.xmoo EQUB0|
00000300  3a 2e 79 6d 6f 6f 20 45  51 55 42 30 3a 2e 66 6e  |:.ymoo EQUB0:.fn|
00000310  73 74 20 45 51 55 42 30  0d 04 38 45 2e 73 63 72  |st EQUB0..8E.scr|
00000320  74 78 74 20 45 51 55 44  30 3a 2e 73 68 6f 6f 74  |txt EQUD0:.shoot|
00000330  20 45 51 55 42 30 3a 2e  73 63 72 6f 6c 6c 20 45  | EQUB0:.scroll E|
00000340  51 55 57 20 30 3a 2e 6b  65 6e 20 45 51 55 42 30  |QUW 0:.ken EQUB0|
00000350  3a 2e 73 74 6f 70 76 20  45 51 55 42 30 0d 04 3a  |:.stopv EQUB0..:|
00000360  45 2e 63 65 6e 78 20 45  51 55 42 30 3a 2e 63 65  |E.cenx EQUB0:.ce|
00000370  6e 79 20 45 51 55 42 30  3a 2e 67 78 20 45 51 55  |ny EQUB0:.gx EQU|
00000380  42 30 3a 2e 67 79 20 45  51 55 42 30 3a 2e 67 78  |B0:.gy EQUB0:.gx|
00000390  73 20 45 51 55 42 30 3a  2e 67 79 73 20 45 51 55  |s EQUB0:.gys EQU|
000003a0  42 30 0d 04 3b 50 2e 78  6f 73 20 45 51 55 42 30  |B0..;P.xos EQUB0|
000003b0  3a 2e 79 6f 73 20 45 51  55 42 30 3a 2e 63 65 6e  |:.yos EQUB0:.cen|
000003c0  78 6e 20 45 51 55 42 30  3a 2e 63 65 6e 79 6e 20  |xn EQUB0:.cenyn |
000003d0  45 51 55 42 30 3a 2e 69  74 65 6d 70 20 45 51 55  |EQUB0:.itemp EQU|
000003e0  42 30 3a 2e 7a 65 72 6f  73 74 61 74 20 45 51 55  |B0:.zerostat EQU|
000003f0  42 30 0d 04 3d 94 2e 64  65 6c 79 6f 75 20 4c 44  |B0..=..delyou LD|
00000400  58 78 6d 6f 6f 3a 4c 44  59 79 6d 6f 6f 3a 2e 6d  |Xxmoo:LDYymoo:.m|
00000410  63 64 20 53 54 58 78 73  65 74 3a 53 54 59 79 73  |cd STXxset:STYys|
00000420  65 74 3a 4a 53 52 6f 62  6a 72 65 6c 3a 4a 53 52  |et:JSRobjrel:JSR|
00000430  63 68 65 63 6b 6f 73 3a  4a 4d 50 62 6c 6f 63 6b  |checkos:JMPblock|
00000440  6f 6e 3a 2e 6f 62 6a 72  65 6c 20 4c 44 41 78 73  |on:.objrel LDAxs|
00000450  65 74 3a 53 45 43 3a 53  42 43 63 65 6e 78 3a 53  |et:SEC:SBCcenx:S|
00000460  54 41 78 73 65 74 3a 4c  44 41 79 73 65 74 3a 53  |TAxset:LDAyset:S|
00000470  45 43 3a 53 42 43 63 65  6e 79 3a 53 54 41 79 73  |EC:SBCceny:STAys|
00000480  65 74 3a 52 54 53 0d 04  4c 27 5d 3a e7 50 25 3e  |et:RTS..L']:.P%>|
00000490  26 37 30 8c f1 22 43 6f  64 65 20 4f 76 65 72 66  |&70.."Code Overf|
000004a0  6c 6f 77 20 74 6f 3a 22  3b 50 25 3a e0 0d 04 56  |low to:";P%:...V|
000004b0  1f 50 25 3d 26 31 30 30  30 3a 4f 25 3d 26 35 38  |.P%=&1000:O%=&58|
000004c0  30 30 3a 5b 4f 50 54 20  70 61 73 73 0d 04 60 a6  |00:[OPT pass..`.|
000004d0  4c 44 59 23 26 38 30 3a  4c 44 41 23 30 3a 2e 7a  |LDY#&80:LDA#0:.z|
000004e0  65 72 6f 6c 6f 70 20 53  54 41 26 31 46 46 46 2c  |erolop STA&1FFF,|
000004f0  59 3a 44 45 59 3a 42 4e  45 7a 65 72 6f 6c 6f 70  |Y:DEY:BNEzerolop|
00000500  3a 4c 44 41 23 26 46 46  3a 53 54 41 73 63 72 74  |:LDA#&FF:STAscrt|
00000510  78 74 2b 33 3a 53 45 49  3a 4c 44 41 26 32 30 34  |xt+3:SEI:LDA&204|
00000520  3a 53 54 41 76 65 63 74  6f 72 3a 4c 44 41 26 32  |:STAvector:LDA&2|
00000530  30 35 3a 53 54 41 76 65  63 74 6f 72 2b 31 3a 4c  |05:STAvector+1:L|
00000540  44 41 23 28 69 72 71 20  83 20 32 35 36 29 3a 53  |DA#(irq . 256):S|
00000550  54 41 26 32 30 34 3a 4c  44 41 23 28 69 72 71 20  |TA&204:LDA#(irq |
00000560  81 20 32 35 36 29 3a 53  54 41 26 32 30 35 3a 43  |. 256):STA&205:C|
00000570  4c 49 0d 04 6a 26 2e 70  72 6f 67 20 4a 53 52 74  |LI..j&.prog JSRt|
00000580  69 74 6c 65 3a 4a 53 52  62 6c 61 73 63 72 3a 4a  |itle:JSRblascr:J|
00000590  53 52 73 63 72 6f 66 66  0d 04 74 09 4c 44 41 23  |SRscroff..t.LDA#|
000005a0  31 0d 04 88 38 53 54 41  6f 62 63 68 3a 4c 44 59  |1...8STAobch:LDY|
000005b0  23 32 35 35 3a 53 54 59  70 6f 77 65 72 3a 53 54  |#255:STYpower:ST|
000005c0  59 6f 62 6a 65 63 74 73  3a 53 54 59 6f 62 6a 65  |Yobjects:STYobje|
000005d0  63 74 73 2b 31 3a 49 4e  59 0d 04 9c 4d 2e 67 61  |cts+1:INY...M.ga|
000005e0  6d 65 20 4c 44 41 23 31  34 3a 53 54 41 78 73 63  |me LDA#14:STAxsc|
000005f0  72 3a 4c 44 41 23 33 3a  53 54 41 79 73 63 72 3a  |r:LDA#3:STAyscr:|
00000600  4c 44 41 23 32 3a 53 54  41 78 70 6f 73 3a 4c 44  |LDA#2:STAxpos:LD|
00000610  41 23 37 3a 53 54 41 79  70 6f 73 3a 4a 53 52 73  |A#7:STAypos:JSRs|
00000620  63 72 64 69 73 70 0d 04  a6 7e 2e 6e 65 77 73 63  |crdisp...~.newsc|
00000630  72 20 4a 53 52 73 63 72  65 65 6e 3a 2e 6f 6c 64  |r JSRscreen:.old|
00000640  73 63 72 20 4a 53 52 71  75 69 74 63 68 3a 4c 44  |scr JSRquitch:LD|
00000650  41 23 30 3a 53 54 41 6d  6f 76 73 74 61 67 3a 4c  |A#0:STAmovstag:L|
00000660  44 41 66 69 6e 65 3a 42  45 51 6d 6f 76 65 73 6c  |DAfine:BEQmovesl|
00000670  6f 70 3a 53 54 41 63 68  61 6e 67 65 64 3a 4c 44  |op:STAchanged:LD|
00000680  41 77 69 70 65 72 3a 50  48 41 3a 4a 53 52 6d 61  |Awiper:PHA:JSRma|
00000690  69 6e 63 6c 65 61 72 3a  50 4c 41 3a 53 54 41 77  |inclear:PLA:STAw|
000006a0  69 70 65 72 0d 04 ab 5f  4a 53 52 64 6f 73 63 72  |iper..._JSRdoscr|
000006b0  6f 6c 6c 3a 2e 6d 6f 76  65 73 6c 6f 70 20 4c 44  |oll:.moveslop LD|
000006c0  41 63 68 61 6e 67 65 64  3a 42 45 51 6e 6f 64 79  |Achanged:BEQnody|
000006d0  6f 75 3a 4a 53 52 64 69  73 70 79 6f 75 3a 2e 6e  |ou:JSRdispyou:.n|
000006e0  6f 64 79 6f 75 20 4a 53  52 64 69 73 70 6d 6f 6e  |odyou JSRdispmon|
000006f0  3a 4a 53 52 77 61 69 74  3a 49 4e 43 6d 6f 76 73  |:JSRwait:INCmovs|
00000700  74 61 67 0d 04 b0 65 4a  53 52 64 6f 73 63 72 6f  |tag...eJSRdoscro|
00000710  6c 6c 3a 4c 44 41 6d 6f  76 73 74 61 67 3a 43 4d  |ll:LDAmovstag:CM|
00000720  50 23 33 3a 42 4e 45 6d  6f 76 65 73 6c 6f 70 3a  |P#3:BNEmoveslop:|
00000730  4a 53 52 7a 65 72 6f 70  72 6f 3a 4c 44 41 6d 66  |JSRzeropro:LDAmf|
00000740  69 6e 65 3a 50 48 41 3a  4c 44 41 66 69 6e 65 3a  |ine:PHA:LDAfine:|
00000750  53 54 41 66 6e 73 74 3a  4c 44 41 23 30 3a 53 54  |STAfnst:LDA#0:ST|
00000760  41 6d 6f 76 73 74 61 67  0d 04 ba 8b 53 54 41 63  |Amovstag....STAc|
00000770  68 61 6e 67 65 64 3a 53  54 41 66 69 6e 65 3a 53  |hanged:STAfine:S|
00000780  54 41 6d 66 69 6e 65 3a  4c 44 41 78 70 6f 73 3a  |TAmfine:LDAxpos:|
00000790  53 45 43 3a 53 42 43 23  35 3a 53 54 41 63 65 6e  |SEC:SBC#5:STAcen|
000007a0  78 3a 4c 44 41 79 70 6f  73 3a 53 45 43 3a 53 42  |x:LDAypos:SEC:SB|
000007b0  43 23 37 3a 53 54 41 63  65 6e 79 3a 4a 53 52 64  |C#7:STAceny:JSRd|
000007c0  69 73 70 79 6f 75 3a 4a  53 52 64 69 73 70 6d 6f  |ispyou:JSRdispmo|
000007d0  6e 3a 50 4c 41 3a 53 54  41 6d 66 69 6e 65 3a 4a  |n:PLA:STAmfine:J|
000007e0  53 52 77 61 69 74 3a 4a  53 52 6d 61 69 6e 63 6c  |SRwait:JSRmaincl|
000007f0  65 61 72 0d 04 c4 65 2e  66 69 6e 65 6e 64 20 4a  |ear...e.finend J|
00000800  53 52 65 6e 65 72 73 3a  4a 53 52 6c 61 73 65 72  |SReners:JSRlaser|
00000810  3a 4a 53 52 64 65 61 64  65 64 63 68 3a 4a 53 52  |:JSRdeadedch:JSR|
00000820  6d 6f 6e 70 72 6f 3a 4a  53 52 67 65 74 6f 70 75  |monpro:JSRgetopu|
00000830  74 3a 4c 44 41 75 70 76  65 6c 6f 3a 42 45 51 66  |t:LDAupvelo:BEQf|
00000840  61 6c 6c 68 3a 4a 53 52  6a 75 6d 70 75 70 3a 4a  |allh:JSRjumpup:J|
00000850  4d 50 6e 6f 66 61 6c 6c  0d 04 ce 83 2e 66 61 6c  |MPnofall.....fal|
00000860  6c 68 20 4c 44 41 78 70  6f 73 3a 53 54 41 78 73  |lh LDAxpos:STAxs|
00000870  65 74 3a 4c 44 41 79 70  6f 73 3a 53 54 41 79 73  |et:LDAypos:STAys|
00000880  65 74 3a 4a 53 52 67 65  74 62 6c 6f 63 6b 2b 33  |et:JSRgetblock+3|
00000890  3a 43 4d 50 23 38 3a 42  45 51 77 61 74 74 3a 43  |:CMP#8:BEQwatt:C|
000008a0  4d 50 23 31 30 3a 42 45  51 7a 65 72 67 3a 43 4d  |MP#10:BEQzerg:CM|
000008b0  50 23 31 32 3a 42 45 51  7a 65 72 67 3a 43 4d 50  |P#12:BEQzerg:CMP|
000008c0  23 35 3a 42 43 43 7a 65  72 73 3a 43 4d 50 23 31  |#5:BCCzers:CMP#1|
000008d0  34 3a 42 45 51 6c 61 64  64 65 72 0d 04 d3 6d 2e  |4:BEQladder...m.|
000008e0  6c 61 64 64 6f 77 6e 20  4c 44 41 79 70 6f 73 3a  |laddown LDAypos:|
000008f0  43 4d 50 23 39 3a 42 45  51 64 6f 77 6e 73 63 72  |CMP#9:BEQdownscr|
00000900  3a 49 4e 43 79 73 65 74  3a 4a 53 52 67 65 74 62  |:INCyset:JSRgetb|
00000910  6c 6f 63 6b 2b 33 3a 4a  53 52 64 6f 6f 72 63 68  |lock+3:JSRdoorch|
00000920  3a 42 43 53 66 61 6c 6c  64 6f 77 6e 3a 80 23 26  |:BCSfalldown:.#&|
00000930  33 30 3a 42 45 51 66 61  6c 6c 64 6f 77 6e 3a 42  |30:BEQfalldown:B|
00000940  4e 45 6e 6f 66 61 6c 6c  0d 04 d8 7d 2e 64 6f 77  |NEnofall...}.dow|
00000950  6e 73 63 72 20 4c 44 41  23 30 3a 53 54 41 79 70  |nscr LDA#0:STAyp|
00000960  6f 73 3a 49 4e 43 79 73  63 72 3a 4c 44 41 23 35  |os:INCyscr:LDA#5|
00000970  3a 53 54 41 66 69 6e 65  3a 4a 4d 50 6e 65 77 73  |:STAfine:JMPnews|
00000980  63 72 3a 2e 77 61 74 74  20 4a 4d 50 7a 61 70 3a  |cr:.watt JMPzap:|
00000990  2e 6c 61 64 64 65 72 20  4a 4d 50 20 6c 61 64 64  |.ladder JMP ladd|
000009a0  65 72 62 3a 2e 7a 65 72  67 20 4a 4d 50 20 7a 65  |erb:.zerg JMP ze|
000009b0  72 6f 67 72 3a 2e 7a 65  72 73 20 4a 4d 50 20 7a  |rogr:.zers JMP z|
000009c0  65 72 6f 63 68 0d 04 dd  48 2e 6c 65 66 74 73 63  |eroch...H.leftsc|
000009d0  72 20 4c 44 41 23 39 3a  53 54 41 78 70 6f 73 3a  |r LDA#9:STAxpos:|
000009e0  44 45 43 78 73 63 72 3a  4c 44 58 66 69 6e 65 3a  |DECxscr:LDXfine:|
000009f0  4c 44 41 6c 6d 6f 76 65  73 2c 58 3a 53 54 41 66  |LDAlmoves,X:STAf|
00000a00  69 6e 65 3a 4a 4d 50 73  63 72 65 65 6e 0d 04 e2  |ine:JMPscreen...|
00000a10  61 2e 66 61 6c 6c 64 6f  77 6e 20 4c 44 41 23 35  |a.falldown LDA#5|
00000a20  3a 53 54 41 66 69 6e 65  3a 49 4e 43 79 70 6f 73  |:STAfine:INCypos|
00000a30  3a 2e 6e 6f 66 61 6c 6c  20 4c 44 41 23 28 28 6f  |:.nofall LDA#((o|
00000a40  6c 64 73 63 72 2d 31 29  20 81 20 32 35 36 29 3a  |ldscr-1) . 256):|
00000a50  50 48 41 3a 4c 44 41 23  28 28 6f 6c 64 73 63 72  |PHA:LDA#((oldscr|
00000a60  2d 31 29 20 83 20 32 35  36 29 3a 50 48 41 0d 04  |-1) . 256):PHA..|
00000a70  ec 7f 2e 6d 6f 76 65 79  6f 75 20 4c 44 58 23 26  |...moveyou LDX#&|
00000a80  42 36 3a 4a 53 52 6b 65  79 62 79 74 65 3a 42 43  |B6:JSRkeybyte:BC|
00000a90  43 6e 6a 75 6d 70 3a 4a  53 52 6a 75 6d 70 3a 2e  |Cnjump:JSRjump:.|
00000aa0  6e 6a 75 6d 70 20 4c 44  58 23 26 39 45 3a 4a 53  |njump LDX#&9E:JS|
00000ab0  52 6b 65 79 62 79 74 65  3a 42 43 53 6c 65 66 74  |Rkeybyte:BCSleft|
00000ac0  3a 2e 6e 6c 65 66 74 20  4c 44 58 23 26 42 44 3a  |:.nleft LDX#&BD:|
00000ad0  4a 53 52 6b 65 79 62 79  74 65 3a 42 43 43 6e 72  |JSRkeybyte:BCCnr|
00000ae0  69 67 68 74 3a 42 43 53  72 69 67 68 74 0d 04 f6  |ight:BCSright...|
00000af0  b1 2e 6c 65 66 74 20 4c  44 41 23 30 3a 53 54 41  |..left LDA#0:STA|
00000b00  66 61 63 65 3a 53 54 41  72 67 68 74 73 3a 4c 44  |face:STArghts:LD|
00000b10  41 78 70 6f 73 3a 42 45  51 6c 65 66 74 73 63 72  |Axpos:BEQleftscr|
00000b20  3a 53 45 43 3a 53 42 43  23 31 3a 53 54 41 78 73  |:SEC:SBC#1:STAxs|
00000b30  65 74 3a 4c 44 41 79 70  6f 73 3a 53 54 41 79 73  |et:LDAypos:STAys|
00000b40  65 74 3a 4a 53 52 67 65  74 62 6c 6f 63 6b 2b 33  |et:JSRgetblock+3|
00000b50  3a 4a 53 52 64 6f 6f 72  63 68 3a 42 43 53 6e 6f  |:JSRdoorch:BCSno|
00000b60  75 70 6c 3a 80 23 26 33  30 3a 43 4d 50 23 26 31  |upl:.#&30:CMP#&1|
00000b70  30 3a 42 45 51 6e 6f 6d  6f 76 65 3a 43 4d 50 23  |0:BEQnomove:CMP#|
00000b80  26 32 30 3a 42 45 51 6e  6f 6d 6f 76 65 3a 43 4d  |&20:BEQnomove:CM|
00000b90  50 23 26 33 30 3a 42 4e  45 6e 6f 75 70 6c 0d 04  |P#&30:BNEnoupl..|
00000ba0  fb 3f 4c 44 41 66 69 6e  65 3a 42 4e 45 6e 72 69  |.?LDAfine:BNEnri|
00000bb0  67 68 74 3a 44 45 43 79  70 6f 73 3a 44 45 43 78  |ght:DECypos:DECx|
00000bc0  70 6f 73 3a 4c 44 41 23  33 3a 53 54 41 66 69 6e  |pos:LDA#3:STAfin|
00000bd0  65 3a 2e 6e 72 69 67 68  74 20 52 54 53 0d 05 00  |e:.nright RTS...|
00000be0  e7 2e 6e 6f 75 70 6c 20  44 45 43 78 70 6f 73 3a  |..noupl DECxpos:|
00000bf0  4c 44 58 66 69 6e 65 3a  4c 44 41 6c 6d 6f 76 65  |LDXfine:LDAlmove|
00000c00  73 2c 58 3a 53 54 41 66  69 6e 65 3a 2e 6e 6f 6d  |s,X:STAfine:.nom|
00000c10  6f 76 65 20 52 54 53 3a  2e 72 69 67 68 74 20 4c  |ove RTS:.right L|
00000c20  44 41 23 30 3a 53 54 41  72 67 68 74 73 3a 4c 44  |DA#0:STArghts:LD|
00000c30  41 23 31 3a 53 54 41 66  61 63 65 3a 4c 44 41 78  |A#1:STAface:LDAx|
00000c40  70 6f 73 3a 43 4d 50 23  39 3a 42 45 51 72 69 67  |pos:CMP#9:BEQrig|
00000c50  68 74 73 63 72 3a 43 4c  43 3a 41 44 43 23 31 3a  |htscr:CLC:ADC#1:|
00000c60  53 54 41 78 73 65 74 3a  4c 44 41 79 70 6f 73 3a  |STAxset:LDAypos:|
00000c70  53 54 41 79 73 65 74 3a  4a 53 52 67 65 74 62 6c  |STAyset:JSRgetbl|
00000c80  6f 63 6b 2b 33 3a 4a 53  52 64 6f 6f 72 63 68 3a  |ock+3:JSRdoorch:|
00000c90  42 43 53 6e 6f 75 70 72  3a 80 23 26 33 30 3a 43  |BCSnoupr:.#&30:C|
00000ca0  4d 50 23 26 31 30 3a 42  45 51 6e 6f 6d 6f 76 65  |MP#&10:BEQnomove|
00000cb0  72 3a 43 4d 50 23 26 32  30 3a 42 45 51 6e 6f 6d  |r:CMP#&20:BEQnom|
00000cc0  6f 76 65 72 0d 05 02 25  43 4d 50 23 26 33 30 3a  |over...%CMP#&30:|
00000cd0  42 4e 45 6e 6f 75 70 72  3a 4c 44 41 66 69 6e 65  |BNEnoupr:LDAfine|
00000ce0  3a 42 4e 45 6e 6f 73 6e  64 0d 05 0a a0 44 45 43  |:BNEnosnd....DEC|
00000cf0  79 70 6f 73 3a 4c 44 41  23 34 3a 2e 6e 6f 75 70  |ypos:LDA#4:.noup|
00000d00  72 73 20 49 4e 43 78 70  6f 73 3a 53 54 41 66 69  |rs INCxpos:STAfi|
00000d10  6e 65 3a 2e 6e 6f 73 6e  64 20 52 54 53 3a 2e 6e  |ne:.nosnd RTS:.n|
00000d20  6f 75 70 72 20 4c 44 58  66 69 6e 65 3a 4c 44 41  |oupr LDXfine:LDA|
00000d30  72 6d 6f 76 65 73 2c 58  3a 4a 4d 50 6e 6f 75 70  |rmoves,X:JMPnoup|
00000d40  72 73 3a 2e 6e 6f 6d 6f  76 65 72 20 4c 44 41 23  |rs:.nomover LDA#|
00000d50  31 3a 53 54 41 72 67 68  74 73 3a 53 54 41 63 68  |1:STArghts:STAch|
00000d60  61 6e 67 65 64 3a 52 54  53 3a 2e 72 69 67 68 74  |anged:RTS:.right|
00000d70  73 63 72 20 4c 44 41 23  30 3a 53 54 41 78 70 6f  |scr LDA#0:STAxpo|
00000d80  73 3a 49 4e 43 78 73 63  72 0d 05 0c 29 4c 44 58  |s:INCxscr...)LDX|
00000d90  66 69 6e 65 3a 4c 44 41  72 6d 6f 76 65 73 2c 58  |fine:LDArmoves,X|
00000da0  3a 53 54 41 66 69 6e 65  3a 4a 4d 50 73 63 72 65  |:STAfine:JMPscre|
00000db0  65 6e 0d 05 14 b5 2e 6a  75 6d 70 20 4c 44 41 79  |en.....jump LDAy|
00000dc0  70 6f 73 3a 43 4d 50 23  39 3a 42 45 51 6e 6f 73  |pos:CMP#9:BEQnos|
00000dd0  6e 64 3a 43 4c 43 3a 41  44 43 23 31 3a 53 54 41  |nd:CLC:ADC#1:STA|
00000de0  79 73 65 74 3a 4c 44 41  78 70 6f 73 3a 53 54 41  |yset:LDAxpos:STA|
00000df0  78 73 65 74 3a 4a 53 52  67 65 74 62 6c 6f 63 6b  |xset:JSRgetblock|
00000e00  2b 33 3a 80 23 26 33 30  3a 42 45 51 6e 6f 73 6e  |+3:.#&30:BEQnosn|
00000e10  64 3a 4c 44 41 23 33 3a  53 54 41 75 70 76 65 6c  |d:LDA#3:STAupvel|
00000e20  6f 3a 4c 44 41 73 6f 75  6e 64 3a 42 45 51 6e 6f  |o:LDAsound:BEQno|
00000e30  73 6e 64 3a 4c 44 41 23  37 3a 4c 44 58 23 28 6a  |snd:LDA#7:LDX#(j|
00000e40  75 6d 70 6e 20 83 20 32  35 36 29 3a 4c 44 59 23  |umpn . 256):LDY#|
00000e50  28 6a 75 6d 70 6e 20 81  20 32 35 36 29 3a 4a 4d  |(jumpn . 256):JM|
00000e60  50 6f 73 77 6f 72 64 0d  05 1b 44 2e 67 65 74 73  |Posword...D.gets|
00000e70  63 72 70 20 4c 44 41 78  73 65 74 3a 53 45 43 3a  |crp LDAxset:SEC:|
00000e80  53 42 43 63 65 6e 78 3a  53 54 41 67 78 3a 4c 44  |SBCcenx:STAgx:LD|
00000e90  41 79 73 65 74 3a 53 45  43 3a 53 42 43 63 65 6e  |Ayset:SEC:SBCcen|
00000ea0  79 3a 53 54 41 67 79 3a  52 54 53 0d 05 1d 26 2e  |y:STAgy:RTS...&.|
00000eb0  64 73 71 75 69 74 20 4c  44 41 23 30 3a 53 54 41  |dsquit LDA#0:STA|
00000ec0  77 69 70 65 72 3a 2e 6e  6f 77 69 70 65 20 52 54  |wiper:.nowipe RT|
00000ed0  53 0d 05 1e d1 2e 77 69  70 65 73 68 72 20 4c 44  |S.....wipeshr LD|
00000ee0  41 23 26 38 30 3a 53 54  41 77 69 72 65 70 3a 4c  |A#&80:STAwirep:L|
00000ef0  44 58 23 38 3a 2e 77 69  70 6c 62 20 4c 44 59 23  |DX#8:.wiplb LDY#|
00000f00  30 3a 2e 77 69 70 6c 6f  70 20 4c 44 41 28 77 69  |0:.wiplop LDA(wi|
00000f10  72 65 70 29 2c 59 3a 53  54 41 28 26 37 38 29 2c  |rep),Y:STA(&78),|
00000f20  59 3a 49 4e 59 3a 43 50  59 23 38 3a 42 4e 45 77  |Y:INY:CPY#8:BNEw|
00000f30  69 70 6c 6f 70 3a 44 45  58 3a 42 45 51 6e 6f 77  |iplop:DEX:BEQnow|
00000f40  69 70 65 3a 4c 44 41 77  69 72 65 70 3a 43 4c 43  |ipe:LDAwirep:CLC|
00000f50  3a 41 44 43 23 38 3a 53  54 41 77 69 72 65 70 3a  |:ADC#8:STAwirep:|
00000f60  4c 44 41 26 37 38 3a 41  44 43 61 64 6c 6f 2c 58  |LDA&78:ADCadlo,X|
00000f70  3a 53 54 41 26 37 38 3a  4c 44 41 26 37 39 3a 41  |:STA&78:LDA&79:A|
00000f80  44 43 61 64 68 69 2c 58  3a 4a 53 52 73 63 72 6f  |DCadhi,X:JSRscro|
00000f90  6c 77 3a 53 54 41 26 37  39 3a 4a 4d 50 77 69 70  |lw:STA&79:JMPwip|
00000fa0  6c 62 0d 05 28 9e 2e 64  69 73 70 73 68 72 20 4c  |lb..(..dispshr L|
00000fb0  44 41 23 31 3a 53 54 41  77 69 70 65 72 3a 4c 44  |DA#1:STAwiper:LD|
00000fc0  41 23 26 38 30 3a 53 54  41 77 69 72 65 70 3a 4c  |A#&80:STAwirep:L|
00000fd0  44 41 78 70 6f 73 3a 53  54 41 78 73 65 74 3a 4c  |DAxpos:STAxset:L|
00000fe0  44 41 79 70 6f 73 3a 53  54 41 79 73 65 74 3a 4a  |DAypos:STAyset:J|
00000ff0  53 52 67 65 74 73 63 72  70 3a 4c 44 41 67 78 3a  |SRgetscrp:LDAgx:|
00001000  43 4d 50 23 32 3a 42 43  43 64 73 71 75 69 74 3a  |CMP#2:BCCdsquit:|
00001010  43 4d 50 23 38 3a 42 43  53 64 73 71 75 69 74 3a  |CMP#8:BCSdsquit:|
00001020  4c 44 41 67 79 3a 42 45  51 64 73 71 75 69 74 3a  |LDAgy:BEQdsquit:|
00001030  43 4d 50 23 31 35 3a 42  43 53 64 73 71 75 69 74  |CMP#15:BCSdsquit|
00001040  0d 05 2d c1 4c 44 41 67  78 3a 41 53 4c 20 41 3a  |..-.LDAgx:ASL A:|
00001050  41 53 4c 20 41 3a 41 53  4c 20 41 3a 41 53 4c 20  |ASL A:ASL A:ASL |
00001060  41 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 43 4c  |A:ASL A:ASL A:CL|
00001070  43 3a 41 44 43 73 63 72  6f 6c 6c 3a 53 54 41 26  |C:ADCscroll:STA&|
00001080  37 30 3a 4c 44 41 23 30  3a 41 44 43 73 63 72 6f  |70:LDA#0:ADCscro|
00001090  6c 6c 2b 31 3a 53 54 41  26 37 31 3a 4c 44 41 67  |ll+1:STA&71:LDAg|
000010a0  78 3a 4c 53 52 20 41 3a  4c 53 52 20 41 3a 43 4c  |x:LSR A:LSR A:CL|
000010b0  43 3a 41 44 43 26 37 31  3a 53 54 41 26 37 31 3a  |C:ADC&71:STA&71:|
000010c0  4c 44 41 67 79 3a 43 4c  43 3a 41 44 43 26 37 31  |LDAgy:CLC:ADC&71|
000010d0  3a 53 54 41 26 37 31 3a  4c 44 41 67 79 3a 41 53  |:STA&71:LDAgy:AS|
000010e0  4c 20 41 3a 41 53 4c 20  41 3a 43 4c 43 3a 41 44  |L A:ASL A:CLC:AD|
000010f0  43 26 37 31 3a 53 54 41  26 37 31 3a 4c 44 59 23  |C&71:STA&71:LDY#|
00001100  30 0d 05 32 c8 53 54 59  26 37 32 3a 4c 44 41 23  |0..2.STY&72:LDA#|
00001110  26 31 41 3a 53 54 41 26  37 33 3a 4c 44 58 6d 6f  |&1A:STA&73:LDXmo|
00001120  76 73 74 61 67 3a 4c 44  41 73 65 71 75 65 6e 2c  |vstag:LDAsequen,|
00001130  58 3a 43 4c 43 3a 41 44  43 66 69 6e 65 3a 54 41  |X:CLC:ADCfine:TA|
00001140  58 3a 4c 44 41 26 37 30  3a 43 4c 43 3a 41 44 43  |X:LDA&70:CLC:ADC|
00001150  6c 6f 77 61 64 2c 58 3a  53 54 41 26 37 30 3a 4c  |lowad,X:STA&70:L|
00001160  44 41 26 37 31 3a 41 44  43 68 69 67 68 61 64 2c  |DA&71:ADChighad,|
00001170  58 3a 4a 53 52 73 63 72  6f 6c 77 3a 4c 44 41 6d  |X:JSRscrolw:LDAm|
00001180  66 6c 61 67 3a 42 4e 45  6d 6f 6e 73 61 64 72 3a  |flag:BNEmonsadr:|
00001190  43 50 58 23 30 3a 42 45  51 6e 6f 70 68 61 73 65  |CPX#0:BEQnophase|
000011a0  3a 4c 44 41 6d 6f 76 73  74 61 67 3a 43 4d 50 23  |:LDAmovstag:CMP#|
000011b0  32 3a 42 45 51 6e 6f 70  68 61 73 65 3a 4c 44 58  |2:BEQnophase:LDX|
000011c0  70 68 61 73 65 3a 49 4e  58 0d 05 3c c9 2e 61 64  |phase:INX..<..ad|
000011d0  64 70 68 20 4c 44 41 26  37 32 3a 43 4c 43 3a 41  |dph LDA&72:CLC:A|
000011e0  44 43 23 26 38 30 3a 53  54 41 26 37 32 3a 4c 44  |DC#&80:STA&72:LD|
000011f0  41 26 37 33 3a 41 44 43  23 30 3a 53 54 41 26 37  |A&73:ADC#0:STA&7|
00001200  33 3a 44 45 58 3a 42 4e  45 61 64 64 70 68 3a 4c  |3:DEX:BNEaddph:L|
00001210  44 41 70 68 61 73 65 3a  82 23 31 3a 53 54 41 70  |DAphase:.#1:STAp|
00001220  68 61 73 65 3a 4a 4d 50  6e 6f 70 68 61 73 65 3a  |hase:JMPnophase:|
00001230  2e 6d 6f 6e 73 61 64 72  20 4c 44 41 6d 6f 6e 73  |.monsadr LDAmons|
00001240  74 61 74 3a 82 23 31 3a  53 54 41 6d 6f 6e 73 74  |tat:.#1:STAmonst|
00001250  61 74 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 41  |at:ASL A:ASL A:A|
00001260  53 4c 20 41 3a 41 53 4c  20 41 3a 41 53 4c 20 41  |SL A:ASL A:ASL A|
00001270  3a 43 4c 43 3a 41 44 43  23 26 38 30 3a 53 54 41  |:CLC:ADC#&80:STA|
00001280  26 37 32 3a 4c 44 41 23  26 31 42 3a 53 54 41 26  |&72:LDA#&1B:STA&|
00001290  37 33 0d 05 46 5e 4c 44  41 6d 74 79 70 65 3a 43  |73..F^LDAmtype:C|
000012a0  4d 50 23 32 3a 42 4e 45  6e 6f 74 79 70 74 72 3a  |MP#2:BNEnotyptr:|
000012b0  4c 44 41 26 37 32 3a 43  4c 43 3a 41 44 43 23 26  |LDA&72:CLC:ADC#&|
000012c0  38 30 3a 53 54 41 26 37  32 3a 4c 44 41 26 37 33  |80:STA&72:LDA&73|
000012d0  3a 41 44 43 23 30 3a 53  54 41 26 37 33 3a 2e 6e  |:ADC#0:STA&73:.n|
000012e0  6f 74 79 70 74 72 20 4a  4d 50 6c 65 66 61 63 65  |otyptr JMPleface|
000012f0  0d 05 50 a6 2e 6e 6f 70  68 61 73 65 20 4c 44 41  |..P..nophase LDA|
00001300  72 67 68 74 73 3a 42 45  51 6e 6f 74 72 67 68 74  |rghts:BEQnotrght|
00001310  3a 4c 44 41 26 37 30 3a  43 4c 43 3a 41 44 43 23  |:LDA&70:CLC:ADC#|
00001320  33 32 3a 53 54 41 26 37  30 3a 4c 44 41 26 37 31  |32:STA&70:LDA&71|
00001330  3a 41 44 43 23 30 3a 53  54 41 26 37 31 3a 2e 6e  |:ADC#0:STA&71:.n|
00001340  6f 74 72 67 68 74 20 4c  44 41 66 61 63 65 3a 42  |otrght LDAface:B|
00001350  4e 45 6c 65 66 61 63 65  3a 4c 44 41 26 37 32 3a  |NEleface:LDA&72:|
00001360  43 4c 43 3a 41 44 43 23  26 32 30 3a 53 54 41 26  |CLC:ADC#&20:STA&|
00001370  37 32 3a 2e 6c 65 66 61  63 65 20 4c 44 41 26 37  |72:.leface LDA&7|
00001380  30 3a 53 54 41 26 37 38  3a 4c 44 41 26 37 31 3a  |0:STA&78:LDA&71:|
00001390  53 54 41 26 37 39 0d 05  5a ea 4c 44 58 23 38 3a  |STA&79..Z.LDX#8:|
000013a0  2e 6c 62 64 69 73 70 20  4c 44 59 23 30 3a 2e 6c  |.lbdisp LDY#0:.l|
000013b0  61 64 69 73 70 20 4c 44  41 28 26 37 30 29 2c 59  |adisp LDA(&70),Y|
000013c0  3a 53 54 41 28 77 69 72  65 70 29 2c 59 3a 84 41  |:STA(wirep),Y:.A|
000013d0  28 26 37 32 29 2c 59 3a  53 54 41 28 26 37 30 29  |(&72),Y:STA(&70)|
000013e0  2c 59 3a 49 4e 59 3a 43  50 59 23 38 3a 42 4e 45  |,Y:INY:CPY#8:BNE|
000013f0  6c 61 64 69 73 70 3a 44  45 58 3a 42 45 51 77 61  |ladisp:DEX:BEQwa|
00001400  69 74 65 6e 64 3a 4c 44  41 77 69 72 65 70 3a 43  |itend:LDAwirep:C|
00001410  4c 43 3a 41 44 43 23 38  3a 53 54 41 77 69 72 65  |LC:ADC#8:STAwire|
00001420  70 3a 4c 44 41 26 37 32  3a 41 44 43 6f 72 61 64  |p:LDA&72:ADCorad|
00001430  2c 58 3a 53 54 41 26 37  32 3a 4c 44 41 26 37 33  |,X:STA&72:LDA&73|
00001440  3a 41 44 43 23 30 3a 53  54 41 26 37 33 3a 4c 44  |:ADC#0:STA&73:LD|
00001450  41 26 37 30 3a 41 44 43  61 64 6c 6f 2c 58 3a 53  |A&70:ADCadlo,X:S|
00001460  54 41 26 37 30 3a 4c 44  41 26 37 31 3a 41 44 43  |TA&70:LDA&71:ADC|
00001470  61 64 68 69 2c 58 3a 4a  53 52 73 63 72 6f 6c 77  |adhi,X:JSRscrolw|
00001480  0d 05 64 0d 4a 4d 50 6c  62 64 69 73 70 0d 05 6e  |..d.JMPlbdisp..n|
00001490  3f 2e 77 61 69 74 20 4c  44 41 63 6c 6f 63 6b 3a  |?.wait LDAclock:|
000014a0  43 4d 50 26 38 30 3a 42  4e 45 77 61 69 74 3a 41  |CMP&80:BNEwait:A|
000014b0  44 43 23 35 3a 53 54 41  26 38 30 3a 2e 77 61 69  |DC#5:STA&80:.wai|
000014c0  74 65 6e 64 20 54 59 41  3a 52 54 53 0d 05 78 d8  |tend TYA:RTS..x.|
000014d0  2e 6a 75 6d 70 75 70 20  44 45 43 75 70 76 65 6c  |.jumpup DECupvel|
000014e0  6f 3a 4c 44 41 79 70 6f  73 3a 42 45 51 75 70 73  |o:LDAypos:BEQups|
000014f0  63 72 3a 53 45 43 3a 53  42 43 23 31 3a 53 54 41  |cr:SEC:SBC#1:STA|
00001500  79 73 65 74 3a 4c 44 41  78 70 6f 73 3a 53 54 41  |yset:LDAxpos:STA|
00001510  78 73 65 74 3a 4a 53 52  67 65 74 62 6c 6f 63 6b  |xset:JSRgetblock|
00001520  2b 33 3a 4a 53 52 64 6f  6f 72 63 68 3a 42 43 53  |+3:JSRdoorch:BCS|
00001530  75 70 6f 6e 65 3a 80 23  26 33 30 3a 42 45 51 75  |upone:.#&30:BEQu|
00001540  70 6f 6e 65 3a 4c 44 41  23 30 3a 53 54 41 75 70  |pone:LDA#0:STAup|
00001550  76 65 6c 6f 3a 52 54 53  3a 2e 75 70 6f 6e 65 20  |velo:RTS:.upone |
00001560  4c 44 41 23 36 3a 53 54  41 66 69 6e 65 3a 44 45  |LDA#6:STAfine:DE|
00001570  43 79 70 6f 73 3a 52 54  53 3a 2e 75 70 73 63 72  |Cypos:RTS:.upscr|
00001580  20 44 45 43 79 73 63 72  3a 4c 44 41 23 39 3a 53  | DECyscr:LDA#9:S|
00001590  54 41 79 70 6f 73 3a 4c  44 41 23 36 3a 53 54 41  |TAypos:LDA#6:STA|
000015a0  66 69 6e 65 0d 05 79 15  50 4c 41 3a 50 4c 41 3a  |fine..y.PLA:PLA:|
000015b0  4a 4d 50 6e 65 77 73 63  72 0d 05 82 dd 2e 72 65  |JMPnewscr.....re|
000015c0  73 65 74 73 63 72 20 4c  44 41 23 30 3a 53 54 41  |setscr LDA#0:STA|
000015d0  73 63 72 6f 6c 6c 3a 4c  44 41 23 26 33 30 3a 53  |scroll:LDA#&30:S|
000015e0  54 41 73 63 72 6f 6c 6c  2b 31 3a 2e 73 68 65 69  |TAscroll+1:.shei|
000015f0  6c 61 20 4c 44 58 62 62  63 66 6c 61 67 3a 42 4e  |la LDXbbcflag:BN|
00001600  45 62 62 63 73 68 65 69  6c 61 3a 4c 53 52 20 41  |Ebbcsheila:LSR A|
00001610  3a 53 54 41 26 46 45 30  33 3a 4c 44 41 73 63 72  |:STA&FE03:LDAscr|
00001620  6f 6c 6c 3a 52 4f 52 20  41 3a 53 54 41 26 46 45  |oll:ROR A:STA&FE|
00001630  30 32 3a 52 54 53 3a 2e  62 62 63 73 68 65 69 6c  |02:RTS:.bbcsheil|
00001640  61 20 4a 53 52 63 61 6c  63 62 62 63 3a 4c 44 41  |a JSRcalcbbc:LDA|
00001650  23 31 33 3a 53 54 41 26  46 45 30 30 3a 4c 44 41  |#13:STA&FE00:LDA|
00001660  62 62 63 73 68 3a 53 54  41 26 46 45 30 31 3a 4c  |bbcsh:STA&FE01:L|
00001670  44 41 23 31 32 3a 53 54  41 26 46 45 30 30 3a 4c  |DA#12:STA&FE00:L|
00001680  44 41 62 62 63 73 68 2b  31 3a 53 54 41 26 46 45  |DAbbcsh+1:STA&FE|
00001690  30 31 3a 52 54 53 0d 05  83 84 2e 73 63 72 65 65  |01:RTS.....scree|
000016a0  6e 20 4c 44 58 66 69 6e  65 3a 4c 44 41 63 65 6e  |n LDXfine:LDAcen|
000016b0  78 3a 43 4c 43 3a 41 44  43 61 64 6a 75 73 74 2c  |x:CLC:ADCadjust,|
000016c0  58 3a 53 54 41 63 65 6e  78 3a 4c 44 41 63 65 6e  |X:STAcenx:LDAcen|
000016d0  79 3a 43 4c 43 3a 41 44  43 61 64 6a 75 73 74 79  |y:CLC:ADCadjusty|
000016e0  2c 58 3a 53 54 41 63 65  6e 79 3a 4a 53 52 6d 6f  |,X:STAceny:JSRmo|
000016f0  6e 73 65 74 3a 4c 44 41  23 30 3a 53 54 41 63 6c  |nset:LDA#0:STAcl|
00001700  65 61 72 75 70 3a 53 54  41 6c 61 73 74 61 74 3a  |earup:STAlastat:|
00001710  53 54 41 69 6e 76 66 6c  61 67 0d 05 84 27 4c 44  |STAinvflag...'LD|
00001720  41 78 70 6f 73 3a 53 54  41 78 6f 6c 64 3a 4c 44  |Axpos:STAxold:LD|
00001730  41 79 70 6f 73 3a 53 54  41 79 6f 6c 64 3a 52 54  |Aypos:STAyold:RT|
00001740  53 0d 05 87 81 2e 73 63  72 64 69 73 70 20 4c 44  |S.....scrdisp LD|
00001750  41 78 70 6f 73 3a 53 45  43 3a 53 42 43 23 35 3a  |Axpos:SEC:SBC#5:|
00001760  53 54 41 63 65 6e 78 3a  4c 44 41 79 70 6f 73 3a  |STAcenx:LDAypos:|
00001770  53 45 43 3a 53 42 43 23  37 3a 53 54 41 63 65 6e  |SEC:SBC#7:STAcen|
00001780  79 3a 2e 74 69 74 64 69  73 70 20 4a 53 52 73 63  |y:.titdisp JSRsc|
00001790  72 6f 66 66 3a 4c 44 41  23 26 46 46 3a 53 54 41  |roff:LDA#&FF:STA|
000017a0  79 73 65 74 3a 2e 79 6c  6f 70 20 4c 44 41 23 26  |yset:.ylop LDA#&|
000017b0  46 46 3a 53 54 41 78 73  65 74 3a 49 4e 43 79 73  |FF:STAxset:INCys|
000017c0  65 74 0d 05 8c 50 2e 78  6c 6f 70 20 49 4e 43 78  |et...P.xlop INCx|
000017d0  73 65 74 3a 4a 53 52 62  6c 6f 63 6b 6f 6e 3a 4c  |set:JSRblockon:L|
000017e0  44 41 78 73 65 74 3a 43  4d 50 23 39 3a 42 4e 45  |DAxset:CMP#9:BNE|
000017f0  78 6c 6f 70 3a 2e 6e 65  78 74 79 20 4c 44 41 79  |xlop:.nexty LDAy|
00001800  73 65 74 3a 43 4d 50 23  31 35 3a 42 4e 45 79 6c  |set:CMP#15:BNEyl|
00001810  6f 70 0d 05 96 dc 2e 73  63 72 6f 6e 20 4c 44 41  |op.....scron LDA|
00001820  23 31 37 3a 53 54 41 73  63 72 6f 66 64 3a 2e 73  |#17:STAscrofd:.s|
00001830  63 72 6f 6e 6c 6f 70 20  4c 44 41 23 26 43 3a 4c  |cronlop LDA#&C:L|
00001840  44 58 23 28 73 63 72 6f  66 64 20 83 32 35 36 29  |DX#(scrofd .256)|
00001850  3a 4c 44 59 23 28 73 63  72 6f 66 64 20 81 32 35  |:LDY#(scrofd .25|
00001860  36 29 3a 4a 53 52 6f 73  77 6f 72 64 3a 44 45 43  |6):JSRosword:DEC|
00001870  73 63 72 6f 66 64 3a 4c  44 41 73 63 72 6f 66 64  |scrofd:LDAscrofd|
00001880  3a 80 23 37 3a 53 54 41  73 63 72 6f 66 64 2b 31  |:.#7:STAscrofd+1|
00001890  3a 4c 44 41 73 63 72 6f  66 64 3a 42 4e 45 73 63  |:LDAscrofd:BNEsc|
000018a0  72 6f 6e 6c 6f 70 3a 4c  44 41 63 6c 6f 63 6b 3a  |ronlop:LDAclock:|
000018b0  43 4c 43 3a 41 44 43 23  34 3a 53 54 41 26 38 30  |CLC:ADC#4:STA&80|
000018c0  3a 4c 44 41 23 30 3a 53  54 41 77 69 70 65 72 3a  |:LDA#0:STAwiper:|
000018d0  53 54 41 77 69 70 65 72  6d 3a 4c 44 41 23 31 3a  |STAwiperm:LDA#1:|
000018e0  53 54 41 63 68 61 6e 67  65 64 3a 52 54 53 0d 05  |STAchanged:RTS..|
000018f0  a0 91 2e 6c 61 64 64 65  72 62 20 4c 44 58 23 26  |...ladderb LDX#&|
00001900  39 37 3a 4a 53 52 6b 65  79 62 79 74 65 3a 42 43  |97:JSRkeybyte:BC|
00001910  53 66 61 6c 6c 73 65 74  3a 4c 44 58 23 26 42 36  |Sfallset:LDX#&B6|
00001920  3a 4a 53 52 6b 65 79 62  79 74 65 3a 42 43 43 73  |:JSRkeybyte:BCCs|
00001930  74 61 62 6c 65 3a 4c 44  41 23 31 3a 53 54 41 75  |table:LDA#1:STAu|
00001940  70 76 65 6c 6f 3a 4a 53  52 6a 75 6d 70 75 70 3a  |pvelo:JSRjumpup:|
00001950  4a 4d 50 6f 6c 64 73 63  72 3a 2e 73 74 61 62 6c  |JMPoldscr:.stabl|
00001960  65 20 4a 4d 50 6e 6f 66  61 6c 6c 3a 2e 66 61 6c  |e JMPnofall:.fal|
00001970  6c 73 65 74 20 4a 4d 50  6c 61 64 64 6f 77 6e 0d  |lset JMPladdown.|
00001980  05 aa c3 2e 62 6c 6f 63  6b 6f 6e 20 4a 53 52 6f  |....blockon JSRo|
00001990  62 6a 63 68 65 63 6b 3a  4a 53 52 67 65 74 62 6c  |bjcheck:JSRgetbl|
000019a0  6f 63 6b 3a 4c 44 41 78  73 65 74 3a 43 4d 50 23  |ock:LDAxset:CMP#|
000019b0  26 46 46 3a 42 4e 45 6e  6f 74 6c 73 3a 4c 44 41  |&FF:BNEnotls:LDA|
000019c0  23 39 3a 53 54 41 78 73  65 74 3a 2e 6e 6f 74 6c  |#9:STAxset:.notl|
000019d0  73 20 41 53 4c 20 41 3a  41 53 4c 20 41 3a 41 53  |s ASL A:ASL A:AS|
000019e0  4c 20 41 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |L A:ASL A:ASL A:|
000019f0  41 53 4c 20 41 3a 43 4c  43 3a 41 44 43 73 63 72  |ASL A:CLC:ADCscr|
00001a00  6f 6c 6c 3a 53 54 41 26  37 30 3a 4c 44 41 23 30  |oll:STA&70:LDA#0|
00001a10  3a 41 44 43 73 63 72 6f  6c 6c 2b 31 3a 53 54 41  |:ADCscroll+1:STA|
00001a20  26 37 31 3a 4c 44 41 78  73 65 74 3a 4c 53 52 20  |&71:LDAxset:LSR |
00001a30  41 3a 4c 53 52 20 41 3a  43 4c 43 3a 41 44 43 26  |A:LSR A:CLC:ADC&|
00001a40  37 31 0d 05 af 3f 43 4c  43 3a 41 44 43 79 73 65  |71...?CLC:ADCyse|
00001a50  74 3a 53 54 41 26 37 31  3a 4c 44 41 79 73 65 74  |t:STA&71:LDAyset|
00001a60  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 43 4c 43  |:ASL A:ASL A:CLC|
00001a70  3a 41 44 43 26 37 31 3a  4a 53 52 73 63 72 6f 6c  |:ADC&71:JSRscrol|
00001a80  77 0d 05 b4 67 4c 44 41  26 37 32 3a 4c 53 52 20  |w...gLDA&72:LSR |
00001a90  41 3a 4c 53 52 20 41 3a  43 4c 43 3a 41 44 43 23  |A:LSR A:CLC:ADC#|
00001aa0  26 32 30 3a 53 54 41 26  37 33 3a 4c 44 41 26 37  |&20:STA&73:LDA&7|
00001ab0  32 3a 43 4d 50 23 33 30  3a 42 45 51 64 6f 6f 72  |2:CMP#30:BEQdoor|
00001ac0  63 6f 6c 3a 4c 53 52 20  41 3a 52 4f 52 20 41 3a  |col:LSR A:ROR A:|
00001ad0  52 4f 52 20 41 3a 80 23  26 43 30 3a 53 54 41 26  |ROR A:.#&C0:STA&|
00001ae0  37 32 3a 4c 44 59 23 30  0d 05 be b5 2e 74 72 61  |72:LDY#0.....tra|
00001af0  6e 73 74 6f 70 20 4c 44  41 28 26 37 32 29 2c 59  |nstop LDA(&72),Y|
00001b00  3a 80 23 26 33 46 3a 53  54 41 26 37 34 3a 4c 44  |:.#&3F:STA&74:LD|
00001b10  41 28 26 37 30 29 2c 59  3a 80 23 26 43 30 3a 43  |A(&70),Y:.#&C0:C|
00001b20  4c 43 3a 41 44 43 26 37  34 3a 53 54 41 28 26 37  |LC:ADC&74:STA(&7|
00001b30  30 29 2c 59 3a 49 4e 59  3a 43 50 59 23 26 34 30  |0),Y:INY:CPY#&40|
00001b40  3a 42 4e 45 74 72 61 6e  73 74 6f 70 3a 4c 44 59  |:BNEtranstop:LDY|
00001b50  23 30 3a 4c 44 41 26 37  32 3a 43 4c 43 3a 41 44  |#0:LDA&72:CLC:AD|
00001b60  43 23 26 34 30 3a 53 54  41 26 37 32 3a 4c 44 41  |C#&40:STA&72:LDA|
00001b70  26 37 30 3a 43 4c 43 3a  41 44 43 23 26 38 30 3a  |&70:CLC:ADC#&80:|
00001b80  53 54 41 26 37 30 3a 4c  44 41 26 37 31 3a 41 44  |STA&70:LDA&71:AD|
00001b90  43 23 32 3a 4a 53 52 73  63 72 6f 6c 77 0d 05 c8  |C#2:JSRscrolw...|
00001ba0  7d 2e 74 72 61 6e 73 62  6f 74 20 4c 44 41 28 26  |}.transbot LDA(&|
00001bb0  37 32 29 2c 59 3a 80 23  26 33 46 3a 53 54 41 26  |72),Y:.#&3F:STA&|
00001bc0  37 34 3a 4c 44 41 28 26  37 30 29 2c 59 3a 80 23  |74:LDA(&70),Y:.#|
00001bd0  26 43 30 3a 43 4c 43 3a  41 44 43 26 37 34 3a 53  |&C0:CLC:ADC&74:S|
00001be0  54 41 28 26 37 30 29 2c  59 3a 49 4e 59 3a 43 50  |TA(&70),Y:INY:CP|
00001bf0  59 23 26 34 30 3a 42 4e  45 74 72 61 6e 73 62 6f  |Y#&40:BNEtransbo|
00001c00  74 3a 52 54 53 3a 2e 64  6f 6f 72 63 6f 6c 20 4a  |t:RTS:.doorcol J|
00001c10  4d 50 6c 6f 63 6b 74 79  70 65 0d 05 d2 98 2e 67  |MPlocktype.....g|
00001c20  65 74 72 65 6c 74 20 4c  44 41 78 73 63 72 3a 53  |etrelt LDAxscr:S|
00001c30  54 41 67 78 73 3a 4c 44  41 63 65 6e 78 3a 43 4c  |TAgxs:LDAcenx:CL|
00001c40  43 3a 41 44 43 78 73 65  74 3a 2e 78 72 65 74 72  |C:ADCxset:.xretr|
00001c50  20 53 54 41 67 78 3a 43  4d 50 23 31 30 3a 42 43  | STAgx:CMP#10:BC|
00001c60  43 78 6f 76 65 72 66 3a  43 4d 50 23 26 38 30 3a  |Cxoverf:CMP#&80:|
00001c70  42 43 43 78 6f 76 65 72  72 3a 41 44 43 23 39 3a  |BCCxoverr:ADC#9:|
00001c80  44 45 43 67 78 73 3a 4a  4d 50 78 72 65 74 72 3a  |DECgxs:JMPxretr:|
00001c90  2e 78 6f 76 65 72 72 20  53 45 43 3a 53 42 43 23  |.xoverr SEC:SBC#|
00001ca0  31 30 3a 49 4e 43 67 78  73 3a 4a 4d 50 78 72 65  |10:INCgxs:JMPxre|
00001cb0  74 72 0d 05 d7 a3 2e 78  6f 76 65 72 66 20 4c 44  |tr.....xoverf LD|
00001cc0  41 79 73 63 72 3a 53 54  41 67 79 73 3a 4c 44 41  |Ayscr:STAgys:LDA|
00001cd0  63 65 6e 79 3a 43 4c 43  3a 41 44 43 79 73 65 74  |ceny:CLC:ADCyset|
00001ce0  3a 2e 79 72 65 74 72 20  53 54 41 67 79 3a 43 4d  |:.yretr STAgy:CM|
00001cf0  50 23 31 30 3a 42 43 43  79 6f 76 65 72 66 3a 43  |P#10:BCCyoverf:C|
00001d00  4d 50 23 26 38 30 3a 42  43 43 79 6f 76 65 72 72  |MP#&80:BCCyoverr|
00001d10  3a 41 44 43 23 39 3a 44  45 43 67 79 73 3a 4a 4d  |:ADC#9:DECgys:JM|
00001d20  50 79 72 65 74 72 3a 2e  79 6f 76 65 72 72 20 53  |Pyretr:.yoverr S|
00001d30  45 43 3a 53 42 43 23 31  30 3a 49 4e 43 67 79 73  |EC:SBC#10:INCgys|
00001d40  3a 4a 4d 50 79 72 65 74  72 3a 2e 79 6f 76 65 72  |:JMPyretr:.yover|
00001d50  66 20 52 54 53 0d 05 d9  ec 2e 67 65 74 62 6c 72  |f RTS.....getblr|
00001d60  20 4a 53 52 67 65 74 72  65 6c 74 3a 4a 4d 50 62  | JSRgetrelt:JMPb|
00001d70  6c 6f 63 6b 63 61 6c 63  3a 2e 67 65 74 74 72 75  |lockcalc:.gettru|
00001d80  65 20 4c 44 41 78 73 65  74 3a 53 54 41 67 78 3a  |e LDAxset:STAgx:|
00001d90  4c 44 41 79 73 65 74 3a  53 54 41 67 79 3a 4c 44  |LDAyset:STAgy:LD|
00001da0  41 78 73 63 72 3a 53 54  41 67 78 73 3a 4c 44 41  |Axscr:STAgxs:LDA|
00001db0  79 73 63 72 3a 53 54 41  67 79 73 3a 4a 4d 50 62  |yscr:STAgys:JMPb|
00001dc0  6c 6f 63 6b 63 61 6c 63  3a 2e 67 65 74 62 6c 6f  |lockcalc:.getblo|
00001dd0  63 6b 20 4a 4d 50 67 65  74 62 6c 72 3a 4a 4d 50  |ck JMPgetblr:JMP|
00001de0  67 65 74 74 72 75 65 3a  2e 62 6c 6f 63 6b 63 61  |gettrue:.blockca|
00001df0  6c 63 20 4c 44 41 67 78  73 3a 43 4d 50 23 31 36  |lc LDAgxs:CMP#16|
00001e00  3a 42 43 53 6f 66 66 73  69 64 65 3a 4c 44 41 67  |:BCSoffside:LDAg|
00001e10  79 73 3a 43 4d 50 23 36  3a 42 43 43 6f 6e 73 63  |ys:CMP#6:BCConsc|
00001e20  3a 2e 6f 66 66 73 69 64  65 20 4c 44 41 63 6c 6f  |:.offside LDAclo|
00001e30  63 6b 3a 80 23 31 3a 53  54 41 26 37 32 3a 52 54  |ck:.#1:STA&72:RT|
00001e40  53 0d 05 da 56 2e 6f 6e  73 63 20 4c 44 41 23 26  |S...V.onsc LDA#&|
00001e50  32 30 3a 43 4c 43 3a 41  44 43 67 78 73 3a 53 54  |20:CLC:ADCgxs:ST|
00001e60  41 26 37 31 3a 4c 44 41  67 79 73 3a 41 53 4c 20  |A&71:LDAgys:ASL |
00001e70  41 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 41 53  |A:ASL A:ASL A:AS|
00001e80  4c 20 41 3a 43 4c 43 3a  41 44 43 26 37 31 3a 53  |L A:CLC:ADC&71:S|
00001e90  54 41 73 63 72 6e 6f 0d  05 dc c4 53 54 41 26 37  |TAscrno....STA&7|
00001ea0  31 3a 4c 44 41 67 79 3a  53 54 41 26 37 30 3a 41  |1:LDAgy:STA&70:A|
00001eb0  53 4c 20 41 3a 41 53 4c  20 41 3a 41 53 4c 20 41  |SL A:ASL A:ASL A|
00001ec0  3a 50 48 41 3a 43 4c 43  3a 41 44 43 26 37 30 3a  |:PHA:CLC:ADC&70:|
00001ed0  53 54 41 26 37 30 3a 50  4c 41 3a 41 53 4c 20 41  |STA&70:PLA:ASL A|
00001ee0  3a 43 4c 43 3a 41 44 43  26 37 30 3a 53 54 41 26  |:CLC:ADC&70:STA&|
00001ef0  37 30 3a 4c 44 59 67 78  3a 4c 44 41 78 64 61 74  |70:LDYgx:LDAxdat|
00001f00  61 2c 59 3a 54 41 59 3a  4c 44 41 28 26 37 30 29  |a,Y:TAY:LDA(&70)|
00001f10  2c 59 3a 52 4f 4c 20 41  3a 52 4f 4c 20 41 3a 52  |,Y:ROL A:ROL A:R|
00001f20  4f 4c 20 41 3a 80 23 33  3a 53 54 41 26 37 32 3a  |OL A:.#3:STA&72:|
00001f30  49 4e 59 3a 4c 44 41 28  26 37 30 29 2c 59 3a 4c  |INY:LDA(&70),Y:L|
00001f40  53 52 20 41 3a 4c 53 52  20 41 3a 4c 53 52 20 41  |SR A:LSR A:LSR A|
00001f50  3a 4c 53 52 20 41 3a 80  23 31 32 0d 05 e6 7a 43  |:LSR A:.#12...zC|
00001f60  4c 43 3a 41 44 43 26 37  32 3a 53 54 41 26 37 32  |LC:ADC&72:STA&72|
00001f70  3a 4c 44 41 67 78 3a 4c  53 52 20 41 3a 54 41 59  |:LDAgx:LSR A:TAY|
00001f80  3a 4c 44 41 68 62 64 61  74 2c 59 3a 54 41 59 3a  |:LDAhbdat,Y:TAY:|
00001f90  4c 44 41 28 26 37 30 29  2c 59 3a 53 54 41 26 37  |LDA(&70),Y:STA&7|
00001fa0  33 3a 4c 44 41 67 78 3a  80 23 31 3a 42 4e 45 62  |3:LDAgx:.#1:BNEb|
00001fb0  69 74 32 3a 4c 44 41 26  37 33 3a 41 53 4c 20 41  |it2:LDA&73:ASL A|
00001fc0  3a 52 4f 4c 20 41 3a 52  4f 4c 20 41 3a 4a 4d 50  |:ROL A:ROL A:JMP|
00001fd0  66 62 67 6f 74 0d 05 f0  5b 2e 62 69 74 32 20 4c  |fbgot...[.bit2 L|
00001fe0  44 41 26 37 33 3a 41 53  4c 20 41 3a 52 4f 4c 20  |DA&73:ASL A:ROL |
00001ff0  41 3a 2e 66 62 67 6f 74  20 80 23 31 3a 41 53 4c  |A:.fbgot .#1:ASL|
00002000  20 41 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 41  | A:ASL A:ASL A:A|
00002010  53 4c 20 41 3a 43 4c 43  3a 41 44 43 26 37 32 3a  |SL A:CLC:ADC&72:|
00002020  41 53 4c 20 41 3a 53 54  41 26 37 32 3a 52 54 53  |ASL A:STA&72:RTS|
00002030  0d 05 fa 9b 2e 62 6c 61  73 63 72 20 4a 53 52 72  |.....blascr JSRr|
00002040  65 73 65 74 73 63 72 3a  4a 53 52 73 63 72 6f 66  |esetscr:JSRscrof|
00002050  66 3a 4c 44 59 23 30 3a  53 54 59 26 37 30 3a 4c  |f:LDY#0:STY&70:L|
00002060  44 41 23 26 33 30 3a 53  54 41 26 37 31 3a 2e 62  |DA#&30:STA&71:.b|
00002070  6c 61 6e 6c 6f 70 20 4c  44 41 28 26 37 30 29 2c  |lanlop LDA(&70),|
00002080  59 3a 80 23 26 43 30 3a  53 54 41 28 26 37 30 29  |Y:.#&C0:STA(&70)|
00002090  2c 59 3a 49 4e 59 3a 42  4e 45 62 6c 61 6e 6c 6f  |,Y:INY:BNEblanlo|
000020a0  70 3a 49 4e 43 26 37 31  3a 4c 44 41 26 37 31 3a  |p:INC&71:LDA&71:|
000020b0  43 4d 50 23 26 38 30 3a  42 4e 45 62 6c 61 6e 6c  |CMP#&80:BNEblanl|
000020c0  6f 70 3a 4a 4d 50 73 63  72 6f 6e 0d 06 04 4b 2e  |op:JMPscron...K.|
000020d0  70 75 74 63 68 20 41 53  4c 20 41 3a 41 53 4c 20  |putch ASL A:ASL |
000020e0  41 3a 41 53 4c 20 41 3a  54 41 58 3a 4c 44 41 73  |A:ASL A:TAX:LDAs|
000020f0  63 72 6f 6c 6c 3a 53 54  41 26 37 30 3a 4c 44 41  |croll:STA&70:LDA|
00002100  73 63 72 6f 6c 6c 2b 31  3a 53 54 41 26 37 31 3a  |scroll+1:STA&71:|
00002110  4c 44 59 78 63 68 0d 06  0e 4e 2e 78 6c 6f 70 63  |LDYxch...N.xlopc|
00002120  20 42 45 51 6e 6f 78 63  68 3a 4c 44 41 26 37 30  | BEQnoxch:LDA&70|
00002130  3a 43 4c 43 3a 41 44 43  23 26 32 30 3a 53 54 41  |:CLC:ADC#&20:STA|
00002140  26 37 30 3a 4c 44 41 26  37 31 3a 41 44 43 23 30  |&70:LDA&71:ADC#0|
00002150  3a 53 54 41 26 37 31 3a  44 45 59 3a 4a 4d 50 78  |:STA&71:DEY:JMPx|
00002160  6c 6f 70 63 0d 06 18 5c  2e 6e 6f 78 63 68 20 4c  |lopc...\.noxch L|
00002170  44 59 79 63 68 3a 2e 79  6c 6f 70 63 20 42 45 51  |DYych:.ylopc BEQ|
00002180  6e 6f 79 63 68 3a 4c 44  41 26 37 30 3a 43 4c 43  |noych:LDA&70:CLC|
00002190  3a 41 44 43 23 26 38 30  3a 53 54 41 26 37 30 3a  |:ADC#&80:STA&70:|
000021a0  4c 44 41 26 37 31 3a 41  44 43 23 32 3a 53 54 41  |LDA&71:ADC#2:STA|
000021b0  26 37 31 3a 44 45 59 3a  4a 4d 50 79 6c 6f 70 63  |&71:DEY:JMPylopc|
000021c0  0d 06 22 67 2e 6e 6f 79  63 68 20 4a 53 52 73 63  |.."g.noych JSRsc|
000021d0  72 6f 6c 77 3a 4c 44 59  23 30 3a 2e 73 6c 69 6e  |rolw:LDY#0:.slin|
000021e0  65 20 4c 44 41 26 43 30  30 2c 58 3a 2e 6c 69 6e  |e LDA&C00,X:.lin|
000021f0  65 6c 6f 70 20 50 48 41  3a 41 53 4c 20 41 3a 52  |elop PHA:ASL A:R|
00002200  4f 4c 20 41 3a 52 4f 4c  20 41 3a 80 23 33 3a 42  |OL A:ROL A:.#3:B|
00002210  45 51 62 6c 61 6e 63 68  3a 53 54 41 69 74 65 6d  |EQblanch:STAitem|
00002220  70 3a 4c 44 41 23 30 0d  06 27 89 2e 63 6f 6c 63  |p:LDA#0..'..colc|
00002230  68 20 43 4c 43 3a 41 44  43 63 6f 6c 3a 44 45 43  |h CLC:ADCcol:DEC|
00002240  69 74 65 6d 70 3a 42 4e  45 63 6f 6c 63 68 3a 2e  |itemp:BNEcolch:.|
00002250  62 6c 61 6e 63 68 20 53  54 41 69 74 65 6d 70 3a  |blanch STAitemp:|
00002260  4c 44 41 28 26 37 30 29  2c 59 3a 80 23 26 43 30  |LDA(&70),Y:.#&C0|
00002270  3a 84 41 69 74 65 6d 70  3a 82 69 6e 76 66 6c 61  |:.Aitemp:.invfla|
00002280  67 3a 53 54 41 28 26 37  30 29 2c 59 3a 54 59 41  |g:STA(&70),Y:TYA|
00002290  3a 43 4c 43 3a 41 44 43  23 38 3a 54 41 59 3a 43  |:CLC:ADC#8:TAY:C|
000022a0  4d 50 23 26 32 30 3a 42  43 53 6e 65 77 6c 69 6e  |MP#&20:BCSnewlin|
000022b0  0d 06 2c 4d 50 4c 41 3a  41 53 4c 20 41 3a 41 53  |..,MPLA:ASL A:AS|
000022c0  4c 20 41 3a 4a 4d 50 6c  69 6e 65 6c 6f 70 3a 2e  |L A:JMPlinelop:.|
000022d0  6e 65 77 6c 69 6e 20 80  23 37 3a 54 41 59 3a 50  |newlin .#7:TAY:P|
000022e0  4c 41 3a 49 4e 59 3a 49  4e 58 3a 43 50 59 23 38  |LA:INY:INX:CPY#8|
000022f0  3a 42 4e 45 73 6c 69 6e  65 3a 52 54 53 0d 06 2e  |:BNEsline:RTS...|
00002300  40 2e 73 63 72 6f 6c 77  20 43 4d 50 23 26 38 30  |@.scrolw CMP#&80|
00002310  3a 42 43 43 6e 6f 73 63  72 6f 6c 77 3a 53 45 43  |:BCCnoscrolw:SEC|
00002320  3a 53 42 43 23 26 35 30  3a 2e 6e 6f 73 63 72 6f  |:SBC#&50:.noscro|
00002330  6c 77 20 53 54 41 26 37  31 3a 52 54 53 0d 06 2f  |lw STA&71:RTS../|
00002340  67 2e 6b 65 79 62 79 74  65 20 43 50 58 7a 65 72  |g.keybyte CPXzer|
00002350  6f 62 79 74 65 3a 42 45  51 61 75 74 6f 6b 65 79  |obyte:BEQautokey|
00002360  3a 43 50 58 7a 65 72 6f  62 79 74 65 2b 31 3a 42  |:CPXzerobyte+1:B|
00002370  45 51 61 75 74 6f 6b 65  79 3a 4c 44 41 23 26 38  |EQautokey:LDA#&8|
00002380  31 3a 4c 44 59 23 26 46  46 3a 4a 4d 50 6f 73 62  |1:LDY#&FF:JMPosb|
00002390  79 74 65 3a 2e 61 75 74  6f 6b 65 79 20 53 45 43  |yte:.autokey SEC|
000023a0  3a 52 54 53 0d 06 31 35  2e 6c 6d 6f 76 65 73 20  |:RTS..15.lmoves |
000023b0  45 51 55 42 31 3a 45 51  55 42 31 3a 45 51 55 42  |EQUB1:EQUB1:EQUB|
000023c0  31 3a 45 51 55 42 31 3a  45 51 55 42 31 3a 45 51  |1:EQUB1:EQUB1:EQ|
000023d0  55 42 37 3a 45 51 55 42  33 0d 06 32 35 2e 72 6d  |UB7:EQUB3..25.rm|
000023e0  6f 76 65 73 20 45 51 55  42 32 3a 45 51 55 42 32  |oves EQUB2:EQUB2|
000023f0  3a 45 51 55 42 32 3a 45  51 55 42 32 3a 45 51 55  |:EQUB2:EQUB2:EQU|
00002400  42 32 3a 45 51 55 42 38  3a 45 51 55 42 34 0d 06  |B2:EQUB8:EQUB4..|
00002410  36 cf 2e 65 6e 65 72 73  20 4c 44 58 23 26 44 44  |6..eners LDX#&DD|
00002420  3a 4a 53 52 6b 65 79 62  79 74 65 3a 42 43 43 6e  |:JSRkeybyte:BCCn|
00002430  6f 65 3a 4c 44 41 6b 65  6e 3a 42 4e 45 6b 65 64  |oe:LDAken:BNEked|
00002440  3a 4c 44 41 70 6f 77 65  72 3a 53 54 41 6b 65 6e  |:LDApower:STAken|
00002450  3a 53 54 41 65 73 2b 34  3a 4c 44 41 23 37 3a 4c  |:STAes+4:LDA#7:L|
00002460  44 58 23 28 65 73 20 83  20 32 35 36 29 3a 4c 44  |DX#(es . 256):LD|
00002470  59 23 28 65 73 20 81 20  32 35 36 29 3a 4a 53 52  |Y#(es . 256):JSR|
00002480  6f 73 77 6f 72 64 3a 4c  44 41 23 30 3a 53 54 41  |osword:LDA#0:STA|
00002490  65 73 2b 34 3a 4c 44 41  23 37 3a 4c 44 58 23 28  |es+4:LDA#7:LDX#(|
000024a0  65 73 20 83 20 32 35 36  29 3a 4c 44 59 23 28 65  |es . 256):LDY#(e|
000024b0  73 20 81 20 32 35 36 29  3a 4a 4d 50 6f 73 77 6f  |s . 256):JMPoswo|
000024c0  72 64 3a 2e 6e 6f 65 20  4c 44 41 23 30 3a 53 54  |rd:.noe LDA#0:ST|
000024d0  41 6b 65 6e 3a 2e 6b 65  64 20 52 54 53 0d 06 40  |Aken:.ked RTS..@|
000024e0  21 2e 65 73 20 45 51 55  57 31 3a 45 51 55 57 2d  |!.es EQUW1:EQUW-|
000024f0  31 30 3a 45 51 55 57 30  3a 45 51 55 57 35 0d 06  |10:EQUW0:EQUW5..|
00002500  42 28 45 51 55 42 30 3a  2e 68 6f 72 73 20 45 51  |B(EQUB0:.hors EQ|
00002510  55 42 32 3a 45 51 55 42  35 3a 45 51 55 42 37 3a  |UB2:EQUB5:EQUB7:|
00002520  45 51 55 42 31 30 0d 06  44 29 45 51 55 42 30 3a  |EQUB10..D)EQUB0:|
00002530  2e 76 65 72 73 20 45 51  55 42 34 3a 45 51 55 42  |.vers EQUB4:EQUB|
00002540  38 3a 45 51 55 42 31 32  3a 45 51 55 42 31 36 0d  |8:EQUB12:EQUB16.|
00002550  06 47 5b 2e 6e 61 6d 65  20 45 51 55 42 39 3a 45  |.G[.name EQUB9:E|
00002560  51 55 42 31 38 3a 45 51  55 42 31 34 3a 45 51 55  |QUB18:EQUB14:EQU|
00002570  42 32 33 3a 45 51 55 42  31 37 3a 45 51 55 42 35  |B23:EQUB17:EQUB5|
00002580  3a 45 51 55 42 31 35 3a  45 51 55 57 30 3a 45 51  |:EQUB15:EQUW0:EQ|
00002590  55 42 32 33 3a 45 51 55  42 32 33 3a 45 51 55 42  |UB23:EQUB23:EQUB|
000025a0  32 33 3a 45 51 55 42 32  35 35 0d 06 4a 07 5d 3a  |23:EQUB255..J.]:|
000025b0  e1 0d ff                                          |...|
000025b3
Game2A.m0
Game2A.m1
Game2A.m2
Game2A.m4
Game2A.m5