Home » Personal collection » Acorn ADFS disks » Archimedes » Unlabelled_disk_4.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 » Archimedes » Unlabelled_disk_4.ADF
Filename: Backup/Game2A
Read OK:
File size: 25BC bytes
Load address: FFFF0E00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
  232osbyte=&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:RTS
 1310.dispshr LDAwiper:BEQnowipe: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.nowipe LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:CMP#10:BCSdsquit:LDAgy:CMP#16:BCSdsquit
 1325LDA#1:STAwiper: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
 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:LDA#1:STAwiperm
 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:LDAclock:ADC#5:STA&80:.waitend 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:RTS
�.dispshr LDAwiper:BEQnowipe: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
(u.nowipe LDA#&80:STAwirep:LDAxpos:STAxset:LDAypos:STAyset:JSRgetscrp:LDAgx:CMP#10:BCSdsquit:LDAgy:CMP#16:BCSdsquit
-�LDA#1:STAwiper: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:LDA#1:STAwiperm
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
nD.wait LDAclock:CMP&80:BNEwait:LDAclock:ADC#5:STA&80:.waitend 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 00 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 1f 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 52 54 53 0d 05 1e  |STAwiperm:RTS...|
00000ee0  d3 2e 64 69 73 70 73 68  72 20 4c 44 41 77 69 70  |..dispshr LDAwip|
00000ef0  65 72 3a 42 45 51 6e 6f  77 69 70 65 3a 4c 44 58  |er:BEQnowipe:LDX|
00000f00  23 38 3a 2e 77 69 70 6c  62 20 4c 44 59 23 30 3a  |#8:.wiplb LDY#0:|
00000f10  2e 77 69 70 6c 6f 70 20  4c 44 41 28 77 69 72 65  |.wiplop LDA(wire|
00000f20  70 29 2c 59 3a 53 54 41  28 26 37 38 29 2c 59 3a  |p),Y:STA(&78),Y:|
00000f30  49 4e 59 3a 43 50 59 23  38 3a 42 4e 45 77 69 70  |INY:CPY#8:BNEwip|
00000f40  6c 6f 70 3a 44 45 58 3a  42 45 51 6e 6f 77 69 70  |lop:DEX:BEQnowip|
00000f50  65 3a 4c 44 41 77 69 72  65 70 3a 43 4c 43 3a 41  |e:LDAwirep:CLC:A|
00000f60  44 43 23 38 3a 53 54 41  77 69 72 65 70 3a 4c 44  |DC#8:STAwirep:LD|
00000f70  41 26 37 38 3a 41 44 43  61 64 6c 6f 2c 58 3a 53  |A&78:ADCadlo,X:S|
00000f80  54 41 26 37 38 3a 4c 44  41 26 37 39 3a 41 44 43  |TA&78:LDA&79:ADC|
00000f90  61 64 68 69 2c 58 3a 4a  53 52 73 63 72 6f 6c 77  |adhi,X:JSRscrolw|
00000fa0  3a 53 54 41 26 37 39 3a  4a 4d 50 77 69 70 6c 62  |:STA&79:JMPwiplb|
00000fb0  0d 05 28 75 2e 6e 6f 77  69 70 65 20 4c 44 41 23  |..(u.nowipe LDA#|
00000fc0  26 38 30 3a 53 54 41 77  69 72 65 70 3a 4c 44 41  |&80:STAwirep:LDA|
00000fd0  78 70 6f 73 3a 53 54 41  78 73 65 74 3a 4c 44 41  |xpos:STAxset:LDA|
00000fe0  79 70 6f 73 3a 53 54 41  79 73 65 74 3a 4a 53 52  |ypos:STAyset:JSR|
00000ff0  67 65 74 73 63 72 70 3a  4c 44 41 67 78 3a 43 4d  |getscrp:LDAgx:CM|
00001000  50 23 31 30 3a 42 43 53  64 73 71 75 69 74 3a 4c  |P#10:BCSdsquit:L|
00001010  44 41 67 79 3a 43 4d 50  23 31 36 3a 42 43 53 64  |DAgy:CMP#16:BCSd|
00001020  73 71 75 69 74 0d 05 2d  d0 4c 44 41 23 31 3a 53  |squit..-.LDA#1:S|
00001030  54 41 77 69 70 65 72 3a  4c 44 41 67 78 3a 41 53  |TAwiper:LDAgx:AS|
00001040  4c 20 41 3a 41 53 4c 20  41 3a 41 53 4c 20 41 3a  |L A:ASL A: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 43 4c 43 3a 41 44  43 73 63 72 6f 6c 6c 3a  |A:CLC:ADCscroll:|
00001070  53 54 41 26 37 30 3a 4c  44 41 23 30 3a 41 44 43  |STA&70:LDA#0:ADC|
00001080  73 63 72 6f 6c 6c 2b 31  3a 53 54 41 26 37 31 3a  |scroll+1:STA&71:|
00001090  4c 44 41 67 78 3a 4c 53  52 20 41 3a 4c 53 52 20  |LDAgx:LSR A:LSR |
000010a0  41 3a 43 4c 43 3a 41 44  43 26 37 31 3a 53 54 41  |A:CLC:ADC&71:STA|
000010b0  26 37 31 3a 4c 44 41 67  79 3a 43 4c 43 3a 41 44  |&71:LDAgy:CLC:AD|
000010c0  43 26 37 31 3a 53 54 41  26 37 31 3a 4c 44 41 67  |C&71:STA&71:LDAg|
000010d0  79 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 43 4c  |y:ASL A:ASL A:CL|
000010e0  43 3a 41 44 43 26 37 31  3a 53 54 41 26 37 31 3a  |C:ADC&71:STA&71:|
000010f0  4c 44 59 23 30 0d 05 32  c8 53 54 59 26 37 32 3a  |LDY#0..2.STY&72:|
00001100  4c 44 41 23 26 31 41 3a  53 54 41 26 37 33 3a 4c  |LDA#&1A:STA&73:L|
00001110  44 58 6d 6f 76 73 74 61  67 3a 4c 44 41 73 65 71  |DXmovstag:LDAseq|
00001120  75 65 6e 2c 58 3a 43 4c  43 3a 41 44 43 66 69 6e  |uen,X:CLC:ADCfin|
00001130  65 3a 54 41 58 3a 4c 44  41 26 37 30 3a 43 4c 43  |e:TAX:LDA&70:CLC|
00001140  3a 41 44 43 6c 6f 77 61  64 2c 58 3a 53 54 41 26  |:ADClowad,X:STA&|
00001150  37 30 3a 4c 44 41 26 37  31 3a 41 44 43 68 69 67  |70:LDA&71:ADChig|
00001160  68 61 64 2c 58 3a 4a 53  52 73 63 72 6f 6c 77 3a  |had,X:JSRscrolw:|
00001170  4c 44 41 6d 66 6c 61 67  3a 42 4e 45 6d 6f 6e 73  |LDAmflag:BNEmons|
00001180  61 64 72 3a 43 50 58 23  30 3a 42 45 51 6e 6f 70  |adr:CPX#0:BEQnop|
00001190  68 61 73 65 3a 4c 44 41  6d 6f 76 73 74 61 67 3a  |hase:LDAmovstag:|
000011a0  43 4d 50 23 32 3a 42 45  51 6e 6f 70 68 61 73 65  |CMP#2:BEQnophase|
000011b0  3a 4c 44 58 70 68 61 73  65 3a 49 4e 58 0d 05 3c  |:LDXphase:INX..<|
000011c0  d9 2e 61 64 64 70 68 20  4c 44 41 26 37 32 3a 43  |..addph LDA&72:C|
000011d0  4c 43 3a 41 44 43 23 26  38 30 3a 53 54 41 26 37  |LC:ADC#&80:STA&7|
000011e0  32 3a 4c 44 41 26 37 33  3a 41 44 43 23 30 3a 53  |2:LDA&73:ADC#0:S|
000011f0  54 41 26 37 33 3a 44 45  58 3a 42 4e 45 61 64 64  |TA&73:DEX:BNEadd|
00001200  70 68 3a 4c 44 41 70 68  61 73 65 3a 82 23 31 3a  |ph:LDAphase:.#1:|
00001210  53 54 41 70 68 61 73 65  3a 4a 4d 50 6e 6f 70 68  |STAphase:JMPnoph|
00001220  61 73 65 3a 2e 6d 6f 6e  73 61 64 72 20 4c 44 41  |ase:.monsadr LDA|
00001230  6d 6f 6e 73 74 61 74 3a  82 23 31 3a 53 54 41 6d  |monstat:.#1:STAm|
00001240  6f 6e 73 74 61 74 3a 41  53 4c 20 41 3a 41 53 4c  |onstat:ASL A:ASL|
00001250  20 41 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 41  | A:ASL A:ASL A:A|
00001260  53 4c 20 41 3a 43 4c 43  3a 41 44 43 23 26 38 30  |SL A:CLC:ADC#&80|
00001270  3a 53 54 41 26 37 32 3a  4c 44 41 23 26 31 42 3a  |:STA&72:LDA#&1B:|
00001280  53 54 41 26 37 33 3a 4c  44 41 23 31 3a 53 54 41  |STA&73:LDA#1:STA|
00001290  77 69 70 65 72 6d 0d 05  46 5e 4c 44 41 6d 74 79  |wiperm..F^LDAmty|
000012a0  70 65 3a 43 4d 50 23 32  3a 42 4e 45 6e 6f 74 79  |pe:CMP#2:BNEnoty|
000012b0  70 74 72 3a 4c 44 41 26  37 32 3a 43 4c 43 3a 41  |ptr:LDA&72:CLC:A|
000012c0  44 43 23 26 38 30 3a 53  54 41 26 37 32 3a 4c 44  |DC#&80:STA&72:LD|
000012d0  41 26 37 33 3a 41 44 43  23 30 3a 53 54 41 26 37  |A&73:ADC#0:STA&7|
000012e0  33 3a 2e 6e 6f 74 79 70  74 72 20 4a 4d 50 6c 65  |3:.notyptr JMPle|
000012f0  66 61 63 65 0d 05 50 a6  2e 6e 6f 70 68 61 73 65  |face..P..nophase|
00001300  20 4c 44 41 72 67 68 74  73 3a 42 45 51 6e 6f 74  | LDArghts:BEQnot|
00001310  72 67 68 74 3a 4c 44 41  26 37 30 3a 43 4c 43 3a  |rght:LDA&70:CLC:|
00001320  41 44 43 23 33 32 3a 53  54 41 26 37 30 3a 4c 44  |ADC#32:STA&70:LD|
00001330  41 26 37 31 3a 41 44 43  23 30 3a 53 54 41 26 37  |A&71:ADC#0:STA&7|
00001340  31 3a 2e 6e 6f 74 72 67  68 74 20 4c 44 41 66 61  |1:.notrght LDAfa|
00001350  63 65 3a 42 4e 45 6c 65  66 61 63 65 3a 4c 44 41  |ce:BNEleface:LDA|
00001360  26 37 32 3a 43 4c 43 3a  41 44 43 23 26 32 30 3a  |&72:CLC:ADC#&20:|
00001370  53 54 41 26 37 32 3a 2e  6c 65 66 61 63 65 20 4c  |STA&72:.leface L|
00001380  44 41 26 37 30 3a 53 54  41 26 37 38 3a 4c 44 41  |DA&70:STA&78:LDA|
00001390  26 37 31 3a 53 54 41 26  37 39 0d 05 5a ea 4c 44  |&71:STA&79..Z.LD|
000013a0  58 23 38 3a 2e 6c 62 64  69 73 70 20 4c 44 59 23  |X#8:.lbdisp LDY#|
000013b0  30 3a 2e 6c 61 64 69 73  70 20 4c 44 41 28 26 37  |0:.ladisp LDA(&7|
000013c0  30 29 2c 59 3a 53 54 41  28 77 69 72 65 70 29 2c  |0),Y:STA(wirep),|
000013d0  59 3a 84 41 28 26 37 32  29 2c 59 3a 53 54 41 28  |Y:.A(&72),Y:STA(|
000013e0  26 37 30 29 2c 59 3a 49  4e 59 3a 43 50 59 23 38  |&70),Y:INY:CPY#8|
000013f0  3a 42 4e 45 6c 61 64 69  73 70 3a 44 45 58 3a 42  |:BNEladisp:DEX:B|
00001400  45 51 77 61 69 74 65 6e  64 3a 4c 44 41 77 69 72  |EQwaitend:LDAwir|
00001410  65 70 3a 43 4c 43 3a 41  44 43 23 38 3a 53 54 41  |ep:CLC:ADC#8:STA|
00001420  77 69 72 65 70 3a 4c 44  41 26 37 32 3a 41 44 43  |wirep:LDA&72:ADC|
00001430  6f 72 61 64 2c 58 3a 53  54 41 26 37 32 3a 4c 44  |orad,X:STA&72:LD|
00001440  41 26 37 33 3a 41 44 43  23 30 3a 53 54 41 26 37  |A&73:ADC#0:STA&7|
00001450  33 3a 4c 44 41 26 37 30  3a 41 44 43 61 64 6c 6f  |3:LDA&70:ADCadlo|
00001460  2c 58 3a 53 54 41 26 37  30 3a 4c 44 41 26 37 31  |,X:STA&70:LDA&71|
00001470  3a 41 44 43 61 64 68 69  2c 58 3a 4a 53 52 73 63  |:ADCadhi,X:JSRsc|
00001480  72 6f 6c 77 0d 05 64 0d  4a 4d 50 6c 62 64 69 73  |rolw..d.JMPlbdis|
00001490  70 0d 05 6e 44 2e 77 61  69 74 20 4c 44 41 63 6c  |p..nD.wait LDAcl|
000014a0  6f 63 6b 3a 43 4d 50 26  38 30 3a 42 4e 45 77 61  |ock:CMP&80:BNEwa|
000014b0  69 74 3a 4c 44 41 63 6c  6f 63 6b 3a 41 44 43 23  |it:LDAclock:ADC#|
000014c0  35 3a 53 54 41 26 38 30  3a 2e 77 61 69 74 65 6e  |5:STA&80:.waiten|
000014d0  64 20 52 54 53 0d 05 78  d8 2e 6a 75 6d 70 75 70  |d RTS..x..jumpup|
000014e0  20 44 45 43 75 70 76 65  6c 6f 3a 4c 44 41 79 70  | DECupvelo:LDAyp|
000014f0  6f 73 3a 42 45 51 75 70  73 63 72 3a 53 45 43 3a  |os:BEQupscr:SEC:|
00001500  53 42 43 23 31 3a 53 54  41 79 73 65 74 3a 4c 44  |SBC#1:STAyset:LD|
00001510  41 78 70 6f 73 3a 53 54  41 78 73 65 74 3a 4a 53  |Axpos:STAxset:JS|
00001520  52 67 65 74 62 6c 6f 63  6b 2b 33 3a 4a 53 52 64  |Rgetblock+3:JSRd|
00001530  6f 6f 72 63 68 3a 42 43  53 75 70 6f 6e 65 3a 80  |oorch:BCSupone:.|
00001540  23 26 33 30 3a 42 45 51  75 70 6f 6e 65 3a 4c 44  |#&30:BEQupone:LD|
00001550  41 23 30 3a 53 54 41 75  70 76 65 6c 6f 3a 52 54  |A#0:STAupvelo:RT|
00001560  53 3a 2e 75 70 6f 6e 65  20 4c 44 41 23 36 3a 53  |S:.upone LDA#6:S|
00001570  54 41 66 69 6e 65 3a 44  45 43 79 70 6f 73 3a 52  |TAfine:DECypos:R|
00001580  54 53 3a 2e 75 70 73 63  72 20 44 45 43 79 73 63  |TS:.upscr DECysc|
00001590  72 3a 4c 44 41 23 39 3a  53 54 41 79 70 6f 73 3a  |r:LDA#9:STAypos:|
000015a0  4c 44 41 23 36 3a 53 54  41 66 69 6e 65 0d 05 79  |LDA#6:STAfine..y|
000015b0  15 50 4c 41 3a 50 4c 41  3a 4a 4d 50 6e 65 77 73  |.PLA:PLA:JMPnews|
000015c0  63 72 0d 05 82 dd 2e 72  65 73 65 74 73 63 72 20  |cr.....resetscr |
000015d0  4c 44 41 23 30 3a 53 54  41 73 63 72 6f 6c 6c 3a  |LDA#0:STAscroll:|
000015e0  4c 44 41 23 26 33 30 3a  53 54 41 73 63 72 6f 6c  |LDA#&30:STAscrol|
000015f0  6c 2b 31 3a 2e 73 68 65  69 6c 61 20 4c 44 58 62  |l+1:.sheila LDXb|
00001600  62 63 66 6c 61 67 3a 42  4e 45 62 62 63 73 68 65  |bcflag:BNEbbcshe|
00001610  69 6c 61 3a 4c 53 52 20  41 3a 53 54 41 26 46 45  |ila:LSR A:STA&FE|
00001620  30 33 3a 4c 44 41 73 63  72 6f 6c 6c 3a 52 4f 52  |03:LDAscroll:ROR|
00001630  20 41 3a 53 54 41 26 46  45 30 32 3a 52 54 53 3a  | A:STA&FE02:RTS:|
00001640  2e 62 62 63 73 68 65 69  6c 61 20 4a 53 52 63 61  |.bbcsheila JSRca|
00001650  6c 63 62 62 63 3a 4c 44  41 23 31 32 3a 53 54 41  |lcbbc:LDA#12:STA|
00001660  26 46 45 30 30 3a 4c 44  41 62 62 63 73 68 3a 53  |&FE00:LDAbbcsh:S|
00001670  54 41 26 46 45 30 31 3a  4c 44 41 23 31 33 3a 53  |TA&FE01:LDA#13:S|
00001680  54 41 26 46 45 30 30 3a  4c 44 41 62 62 63 73 68  |TA&FE00:LDAbbcsh|
00001690  2b 31 3a 53 54 41 26 46  45 30 31 3a 52 54 53 0d  |+1:STA&FE01:RTS.|
000016a0  05 83 84 2e 73 63 72 65  65 6e 20 4c 44 58 66 69  |....screen LDXfi|
000016b0  6e 65 3a 4c 44 41 63 65  6e 78 3a 43 4c 43 3a 41  |ne:LDAcenx:CLC:A|
000016c0  44 43 61 64 6a 75 73 74  2c 58 3a 53 54 41 63 65  |DCadjust,X:STAce|
000016d0  6e 78 3a 4c 44 41 63 65  6e 79 3a 43 4c 43 3a 41  |nx:LDAceny:CLC:A|
000016e0  44 43 61 64 6a 75 73 74  79 2c 58 3a 53 54 41 63  |DCadjusty,X:STAc|
000016f0  65 6e 79 3a 4a 53 52 6d  6f 6e 73 65 74 3a 4c 44  |eny:JSRmonset:LD|
00001700  41 23 30 3a 53 54 41 63  6c 65 61 72 75 70 3a 53  |A#0:STAclearup:S|
00001710  54 41 6c 61 73 74 61 74  3a 53 54 41 69 6e 76 66  |TAlastat:STAinvf|
00001720  6c 61 67 0d 05 84 27 4c  44 41 78 70 6f 73 3a 53  |lag...'LDAxpos:S|
00001730  54 41 78 6f 6c 64 3a 4c  44 41 79 70 6f 73 3a 53  |TAxold:LDAypos:S|
00001740  54 41 79 6f 6c 64 3a 52  54 53 0d 05 87 81 2e 73  |TAyold:RTS.....s|
00001750  63 72 64 69 73 70 20 4c  44 41 78 70 6f 73 3a 53  |crdisp LDAxpos:S|
00001760  45 43 3a 53 42 43 23 35  3a 53 54 41 63 65 6e 78  |EC:SBC#5:STAcenx|
00001770  3a 4c 44 41 79 70 6f 73  3a 53 45 43 3a 53 42 43  |:LDAypos:SEC:SBC|
00001780  23 37 3a 53 54 41 63 65  6e 79 3a 2e 74 69 74 64  |#7:STAceny:.titd|
00001790  69 73 70 20 4a 53 52 73  63 72 6f 66 66 3a 4c 44  |isp JSRscroff:LD|
000017a0  41 23 26 46 46 3a 53 54  41 79 73 65 74 3a 2e 79  |A#&FF:STAyset:.y|
000017b0  6c 6f 70 20 4c 44 41 23  26 46 46 3a 53 54 41 78  |lop LDA#&FF:STAx|
000017c0  73 65 74 3a 49 4e 43 79  73 65 74 0d 05 8c 50 2e  |set:INCyset...P.|
000017d0  78 6c 6f 70 20 49 4e 43  78 73 65 74 3a 4a 53 52  |xlop INCxset:JSR|
000017e0  62 6c 6f 63 6b 6f 6e 3a  4c 44 41 78 73 65 74 3a  |blockon:LDAxset:|
000017f0  43 4d 50 23 39 3a 42 4e  45 78 6c 6f 70 3a 2e 6e  |CMP#9:BNExlop:.n|
00001800  65 78 74 79 20 4c 44 41  79 73 65 74 3a 43 4d 50  |exty LDAyset:CMP|
00001810  23 31 35 3a 42 4e 45 79  6c 6f 70 0d 05 96 dc 2e  |#15:BNEylop.....|
00001820  73 63 72 6f 6e 20 4c 44  41 23 31 37 3a 53 54 41  |scron LDA#17:STA|
00001830  73 63 72 6f 66 64 3a 2e  73 63 72 6f 6e 6c 6f 70  |scrofd:.scronlop|
00001840  20 4c 44 41 23 26 43 3a  4c 44 58 23 28 73 63 72  | LDA#&C:LDX#(scr|
00001850  6f 66 64 20 83 32 35 36  29 3a 4c 44 59 23 28 73  |ofd .256):LDY#(s|
00001860  63 72 6f 66 64 20 81 32  35 36 29 3a 4a 53 52 6f  |crofd .256):JSRo|
00001870  73 77 6f 72 64 3a 44 45  43 73 63 72 6f 66 64 3a  |sword:DECscrofd:|
00001880  4c 44 41 73 63 72 6f 66  64 3a 80 23 37 3a 53 54  |LDAscrofd:.#7:ST|
00001890  41 73 63 72 6f 66 64 2b  31 3a 4c 44 41 73 63 72  |Ascrofd+1:LDAscr|
000018a0  6f 66 64 3a 42 4e 45 73  63 72 6f 6e 6c 6f 70 3a  |ofd:BNEscronlop:|
000018b0  4c 44 41 63 6c 6f 63 6b  3a 43 4c 43 3a 41 44 43  |LDAclock:CLC:ADC|
000018c0  23 34 3a 53 54 41 26 38  30 3a 4c 44 41 23 30 3a  |#4:STA&80:LDA#0:|
000018d0  53 54 41 77 69 70 65 72  3a 53 54 41 77 69 70 65  |STAwiper:STAwipe|
000018e0  72 6d 3a 4c 44 41 23 31  3a 53 54 41 63 68 61 6e  |rm:LDA#1:STAchan|
000018f0  67 65 64 3a 52 54 53 0d  05 a0 91 2e 6c 61 64 64  |ged:RTS.....ladd|
00001900  65 72 62 20 4c 44 58 23  26 39 37 3a 4a 53 52 6b  |erb LDX#&97:JSRk|
00001910  65 79 62 79 74 65 3a 42  43 53 66 61 6c 6c 73 65  |eybyte:BCSfallse|
00001920  74 3a 4c 44 58 23 26 42  36 3a 4a 53 52 6b 65 79  |t:LDX#&B6:JSRkey|
00001930  62 79 74 65 3a 42 43 43  73 74 61 62 6c 65 3a 4c  |byte:BCCstable:L|
00001940  44 41 23 31 3a 53 54 41  75 70 76 65 6c 6f 3a 4a  |DA#1:STAupvelo:J|
00001950  53 52 6a 75 6d 70 75 70  3a 4a 4d 50 6f 6c 64 73  |SRjumpup:JMPolds|
00001960  63 72 3a 2e 73 74 61 62  6c 65 20 4a 4d 50 6e 6f  |cr:.stable JMPno|
00001970  66 61 6c 6c 3a 2e 66 61  6c 6c 73 65 74 20 4a 4d  |fall:.fallset JM|
00001980  50 6c 61 64 64 6f 77 6e  0d 05 aa c3 2e 62 6c 6f  |Pladdown.....blo|
00001990  63 6b 6f 6e 20 4a 53 52  6f 62 6a 63 68 65 63 6b  |ckon JSRobjcheck|
000019a0  3a 4a 53 52 67 65 74 62  6c 6f 63 6b 3a 4c 44 41  |:JSRgetblock:LDA|
000019b0  78 73 65 74 3a 43 4d 50  23 26 46 46 3a 42 4e 45  |xset:CMP#&FF:BNE|
000019c0  6e 6f 74 6c 73 3a 4c 44  41 23 39 3a 53 54 41 78  |notls:LDA#9:STAx|
000019d0  73 65 74 3a 2e 6e 6f 74  6c 73 20 41 53 4c 20 41  |set:.notls ASL A|
000019e0  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 41 53 4c  |:ASL A:ASL A:ASL|
000019f0  20 41 3a 41 53 4c 20 41  3a 41 53 4c 20 41 3a 43  | A:ASL A:ASL A:C|
00001a00  4c 43 3a 41 44 43 73 63  72 6f 6c 6c 3a 53 54 41  |LC:ADCscroll:STA|
00001a10  26 37 30 3a 4c 44 41 23  30 3a 41 44 43 73 63 72  |&70:LDA#0:ADCscr|
00001a20  6f 6c 6c 2b 31 3a 53 54  41 26 37 31 3a 4c 44 41  |oll+1:STA&71:LDA|
00001a30  78 73 65 74 3a 4c 53 52  20 41 3a 4c 53 52 20 41  |xset:LSR A:LSR A|
00001a40  3a 43 4c 43 3a 41 44 43  26 37 31 0d 05 af 3f 43  |:CLC:ADC&71...?C|
00001a50  4c 43 3a 41 44 43 79 73  65 74 3a 53 54 41 26 37  |LC:ADCyset:STA&7|
00001a60  31 3a 4c 44 41 79 73 65  74 3a 41 53 4c 20 41 3a  |1:LDAyset:ASL A:|
00001a70  41 53 4c 20 41 3a 43 4c  43 3a 41 44 43 26 37 31  |ASL A:CLC:ADC&71|
00001a80  3a 4a 53 52 73 63 72 6f  6c 77 0d 05 b4 67 4c 44  |:JSRscrolw...gLD|
00001a90  41 26 37 32 3a 4c 53 52  20 41 3a 4c 53 52 20 41  |A&72:LSR A:LSR A|
00001aa0  3a 43 4c 43 3a 41 44 43  23 26 32 30 3a 53 54 41  |:CLC:ADC#&20:STA|
00001ab0  26 37 33 3a 4c 44 41 26  37 32 3a 43 4d 50 23 33  |&73:LDA&72:CMP#3|
00001ac0  30 3a 42 45 51 64 6f 6f  72 63 6f 6c 3a 4c 53 52  |0:BEQdoorcol:LSR|
00001ad0  20 41 3a 52 4f 52 20 41  3a 52 4f 52 20 41 3a 80  | A:ROR A:ROR A:.|
00001ae0  23 26 43 30 3a 53 54 41  26 37 32 3a 4c 44 59 23  |#&C0:STA&72:LDY#|
00001af0  30 0d 05 be b5 2e 74 72  61 6e 73 74 6f 70 20 4c  |0.....transtop L|
00001b00  44 41 28 26 37 32 29 2c  59 3a 80 23 26 33 46 3a  |DA(&72),Y:.#&3F:|
00001b10  53 54 41 26 37 34 3a 4c  44 41 28 26 37 30 29 2c  |STA&74:LDA(&70),|
00001b20  59 3a 80 23 26 43 30 3a  43 4c 43 3a 41 44 43 26  |Y:.#&C0:CLC:ADC&|
00001b30  37 34 3a 53 54 41 28 26  37 30 29 2c 59 3a 49 4e  |74:STA(&70),Y:IN|
00001b40  59 3a 43 50 59 23 26 34  30 3a 42 4e 45 74 72 61  |Y:CPY#&40:BNEtra|
00001b50  6e 73 74 6f 70 3a 4c 44  59 23 30 3a 4c 44 41 26  |nstop:LDY#0:LDA&|
00001b60  37 32 3a 43 4c 43 3a 41  44 43 23 26 34 30 3a 53  |72:CLC:ADC#&40:S|
00001b70  54 41 26 37 32 3a 4c 44  41 26 37 30 3a 43 4c 43  |TA&72:LDA&70:CLC|
00001b80  3a 41 44 43 23 26 38 30  3a 53 54 41 26 37 30 3a  |:ADC#&80:STA&70:|
00001b90  4c 44 41 26 37 31 3a 41  44 43 23 32 3a 4a 53 52  |LDA&71:ADC#2:JSR|
00001ba0  73 63 72 6f 6c 77 0d 05  c8 7d 2e 74 72 61 6e 73  |scrolw...}.trans|
00001bb0  62 6f 74 20 4c 44 41 28  26 37 32 29 2c 59 3a 80  |bot LDA(&72),Y:.|
00001bc0  23 26 33 46 3a 53 54 41  26 37 34 3a 4c 44 41 28  |#&3F:STA&74:LDA(|
00001bd0  26 37 30 29 2c 59 3a 80  23 26 43 30 3a 43 4c 43  |&70),Y:.#&C0:CLC|
00001be0  3a 41 44 43 26 37 34 3a  53 54 41 28 26 37 30 29  |:ADC&74:STA(&70)|
00001bf0  2c 59 3a 49 4e 59 3a 43  50 59 23 26 34 30 3a 42  |,Y:INY:CPY#&40:B|
00001c00  4e 45 74 72 61 6e 73 62  6f 74 3a 52 54 53 3a 2e  |NEtransbot:RTS:.|
00001c10  64 6f 6f 72 63 6f 6c 20  4a 4d 50 6c 6f 63 6b 74  |doorcol JMPlockt|
00001c20  79 70 65 0d 05 d2 98 2e  67 65 74 72 65 6c 74 20  |ype.....getrelt |
00001c30  4c 44 41 78 73 63 72 3a  53 54 41 67 78 73 3a 4c  |LDAxscr:STAgxs:L|
00001c40  44 41 63 65 6e 78 3a 43  4c 43 3a 41 44 43 78 73  |DAcenx:CLC:ADCxs|
00001c50  65 74 3a 2e 78 72 65 74  72 20 53 54 41 67 78 3a  |et:.xretr STAgx:|
00001c60  43 4d 50 23 31 30 3a 42  43 43 78 6f 76 65 72 66  |CMP#10:BCCxoverf|
00001c70  3a 43 4d 50 23 26 38 30  3a 42 43 43 78 6f 76 65  |:CMP#&80:BCCxove|
00001c80  72 72 3a 41 44 43 23 39  3a 44 45 43 67 78 73 3a  |rr:ADC#9:DECgxs:|
00001c90  4a 4d 50 78 72 65 74 72  3a 2e 78 6f 76 65 72 72  |JMPxretr:.xoverr|
00001ca0  20 53 45 43 3a 53 42 43  23 31 30 3a 49 4e 43 67  | SEC:SBC#10:INCg|
00001cb0  78 73 3a 4a 4d 50 78 72  65 74 72 0d 05 d7 a3 2e  |xs:JMPxretr.....|
00001cc0  78 6f 76 65 72 66 20 4c  44 41 79 73 63 72 3a 53  |xoverf LDAyscr:S|
00001cd0  54 41 67 79 73 3a 4c 44  41 63 65 6e 79 3a 43 4c  |TAgys:LDAceny:CL|
00001ce0  43 3a 41 44 43 79 73 65  74 3a 2e 79 72 65 74 72  |C:ADCyset:.yretr|
00001cf0  20 53 54 41 67 79 3a 43  4d 50 23 31 30 3a 42 43  | STAgy:CMP#10:BC|
00001d00  43 79 6f 76 65 72 66 3a  43 4d 50 23 26 38 30 3a  |Cyoverf:CMP#&80:|
00001d10  42 43 43 79 6f 76 65 72  72 3a 41 44 43 23 39 3a  |BCCyoverr:ADC#9:|
00001d20  44 45 43 67 79 73 3a 4a  4d 50 79 72 65 74 72 3a  |DECgys:JMPyretr:|
00001d30  2e 79 6f 76 65 72 72 20  53 45 43 3a 53 42 43 23  |.yoverr SEC:SBC#|
00001d40  31 30 3a 49 4e 43 67 79  73 3a 4a 4d 50 79 72 65  |10:INCgys:JMPyre|
00001d50  74 72 3a 2e 79 6f 76 65  72 66 20 52 54 53 0d 05  |tr:.yoverf RTS..|
00001d60  d9 ec 2e 67 65 74 62 6c  72 20 4a 53 52 67 65 74  |...getblr JSRget|
00001d70  72 65 6c 74 3a 4a 4d 50  62 6c 6f 63 6b 63 61 6c  |relt:JMPblockcal|
00001d80  63 3a 2e 67 65 74 74 72  75 65 20 4c 44 41 78 73  |c:.gettrue LDAxs|
00001d90  65 74 3a 53 54 41 67 78  3a 4c 44 41 79 73 65 74  |et:STAgx:LDAyset|
00001da0  3a 53 54 41 67 79 3a 4c  44 41 78 73 63 72 3a 53  |:STAgy:LDAxscr:S|
00001db0  54 41 67 78 73 3a 4c 44  41 79 73 63 72 3a 53 54  |TAgxs:LDAyscr:ST|
00001dc0  41 67 79 73 3a 4a 4d 50  62 6c 6f 63 6b 63 61 6c  |Agys:JMPblockcal|
00001dd0  63 3a 2e 67 65 74 62 6c  6f 63 6b 20 4a 4d 50 67  |c:.getblock JMPg|
00001de0  65 74 62 6c 72 3a 4a 4d  50 67 65 74 74 72 75 65  |etblr:JMPgettrue|
00001df0  3a 2e 62 6c 6f 63 6b 63  61 6c 63 20 4c 44 41 67  |:.blockcalc LDAg|
00001e00  78 73 3a 43 4d 50 23 31  36 3a 42 43 53 6f 66 66  |xs:CMP#16:BCSoff|
00001e10  73 69 64 65 3a 4c 44 41  67 79 73 3a 43 4d 50 23  |side:LDAgys:CMP#|
00001e20  36 3a 42 43 43 6f 6e 73  63 3a 2e 6f 66 66 73 69  |6:BCConsc:.offsi|
00001e30  64 65 20 4c 44 41 63 6c  6f 63 6b 3a 80 23 31 3a  |de LDAclock:.#1:|
00001e40  53 54 41 26 37 32 3a 52  54 53 0d 05 da 56 2e 6f  |STA&72:RTS...V.o|
00001e50  6e 73 63 20 4c 44 41 23  26 32 30 3a 43 4c 43 3a  |nsc LDA#&20:CLC:|
00001e60  41 44 43 67 78 73 3a 53  54 41 26 37 31 3a 4c 44  |ADCgxs:STA&71:LD|
00001e70  41 67 79 73 3a 41 53 4c  20 41 3a 41 53 4c 20 41  |Agys:ASL A:ASL A|
00001e80  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 43 4c 43  |:ASL A:ASL A:CLC|
00001e90  3a 41 44 43 26 37 31 3a  53 54 41 73 63 72 6e 6f  |:ADC&71:STAscrno|
00001ea0  0d 05 dc c4 53 54 41 26  37 31 3a 4c 44 41 67 79  |....STA&71:LDAgy|
00001eb0  3a 53 54 41 26 37 30 3a  41 53 4c 20 41 3a 41 53  |:STA&70:ASL A:AS|
00001ec0  4c 20 41 3a 41 53 4c 20  41 3a 50 48 41 3a 43 4c  |L A:ASL A:PHA:CL|
00001ed0  43 3a 41 44 43 26 37 30  3a 53 54 41 26 37 30 3a  |C:ADC&70:STA&70:|
00001ee0  50 4c 41 3a 41 53 4c 20  41 3a 43 4c 43 3a 41 44  |PLA:ASL A:CLC:AD|
00001ef0  43 26 37 30 3a 53 54 41  26 37 30 3a 4c 44 59 67  |C&70:STA&70:LDYg|
00001f00  78 3a 4c 44 41 78 64 61  74 61 2c 59 3a 54 41 59  |x:LDAxdata,Y:TAY|
00001f10  3a 4c 44 41 28 26 37 30  29 2c 59 3a 52 4f 4c 20  |:LDA(&70),Y:ROL |
00001f20  41 3a 52 4f 4c 20 41 3a  52 4f 4c 20 41 3a 80 23  |A:ROL A:ROL A:.#|
00001f30  33 3a 53 54 41 26 37 32  3a 49 4e 59 3a 4c 44 41  |3:STA&72:INY:LDA|
00001f40  28 26 37 30 29 2c 59 3a  4c 53 52 20 41 3a 4c 53  |(&70),Y:LSR A:LS|
00001f50  52 20 41 3a 4c 53 52 20  41 3a 4c 53 52 20 41 3a  |R A:LSR A:LSR A:|
00001f60  80 23 31 32 0d 05 e6 7a  43 4c 43 3a 41 44 43 26  |.#12...zCLC:ADC&|
00001f70  37 32 3a 53 54 41 26 37  32 3a 4c 44 41 67 78 3a  |72:STA&72:LDAgx:|
00001f80  4c 53 52 20 41 3a 54 41  59 3a 4c 44 41 68 62 64  |LSR A:TAY:LDAhbd|
00001f90  61 74 2c 59 3a 54 41 59  3a 4c 44 41 28 26 37 30  |at,Y:TAY:LDA(&70|
00001fa0  29 2c 59 3a 53 54 41 26  37 33 3a 4c 44 41 67 78  |),Y:STA&73:LDAgx|
00001fb0  3a 80 23 31 3a 42 4e 45  62 69 74 32 3a 4c 44 41  |:.#1:BNEbit2:LDA|
00001fc0  26 37 33 3a 41 53 4c 20  41 3a 52 4f 4c 20 41 3a  |&73:ASL A:ROL A:|
00001fd0  52 4f 4c 20 41 3a 4a 4d  50 66 62 67 6f 74 0d 05  |ROL A:JMPfbgot..|
00001fe0  f0 5b 2e 62 69 74 32 20  4c 44 41 26 37 33 3a 41  |.[.bit2 LDA&73:A|
00001ff0  53 4c 20 41 3a 52 4f 4c  20 41 3a 2e 66 62 67 6f  |SL A:ROL A:.fbgo|
00002000  74 20 80 23 31 3a 41 53  4c 20 41 3a 41 53 4c 20  |t .#1:ASL A:ASL |
00002010  41 3a 41 53 4c 20 41 3a  41 53 4c 20 41 3a 43 4c  |A:ASL A:ASL A:CL|
00002020  43 3a 41 44 43 26 37 32  3a 41 53 4c 20 41 3a 53  |C:ADC&72:ASL A:S|
00002030  54 41 26 37 32 3a 52 54  53 0d 05 fa 9b 2e 62 6c  |TA&72:RTS.....bl|
00002040  61 73 63 72 20 4a 53 52  72 65 73 65 74 73 63 72  |ascr JSRresetscr|
00002050  3a 4a 53 52 73 63 72 6f  66 66 3a 4c 44 59 23 30  |:JSRscroff:LDY#0|
00002060  3a 53 54 59 26 37 30 3a  4c 44 41 23 26 33 30 3a  |:STY&70:LDA#&30:|
00002070  53 54 41 26 37 31 3a 2e  62 6c 61 6e 6c 6f 70 20  |STA&71:.blanlop |
00002080  4c 44 41 28 26 37 30 29  2c 59 3a 80 23 26 43 30  |LDA(&70),Y:.#&C0|
00002090  3a 53 54 41 28 26 37 30  29 2c 59 3a 49 4e 59 3a  |:STA(&70),Y:INY:|
000020a0  42 4e 45 62 6c 61 6e 6c  6f 70 3a 49 4e 43 26 37  |BNEblanlop:INC&7|
000020b0  31 3a 4c 44 41 26 37 31  3a 43 4d 50 23 26 38 30  |1:LDA&71:CMP#&80|
000020c0  3a 42 4e 45 62 6c 61 6e  6c 6f 70 3a 4a 4d 50 73  |:BNEblanlop:JMPs|
000020d0  63 72 6f 6e 0d 06 04 4b  2e 70 75 74 63 68 20 41  |cron...K.putch A|
000020e0  53 4c 20 41 3a 41 53 4c  20 41 3a 41 53 4c 20 41  |SL A:ASL A:ASL A|
000020f0  3a 54 41 58 3a 4c 44 41  73 63 72 6f 6c 6c 3a 53  |:TAX:LDAscroll:S|
00002100  54 41 26 37 30 3a 4c 44  41 73 63 72 6f 6c 6c 2b  |TA&70:LDAscroll+|
00002110  31 3a 53 54 41 26 37 31  3a 4c 44 59 78 63 68 0d  |1:STA&71:LDYxch.|
00002120  06 0e 4e 2e 78 6c 6f 70  63 20 42 45 51 6e 6f 78  |..N.xlopc BEQnox|
00002130  63 68 3a 4c 44 41 26 37  30 3a 43 4c 43 3a 41 44  |ch:LDA&70:CLC:AD|
00002140  43 23 26 32 30 3a 53 54  41 26 37 30 3a 4c 44 41  |C#&20:STA&70:LDA|
00002150  26 37 31 3a 41 44 43 23  30 3a 53 54 41 26 37 31  |&71:ADC#0:STA&71|
00002160  3a 44 45 59 3a 4a 4d 50  78 6c 6f 70 63 0d 06 18  |:DEY:JMPxlopc...|
00002170  5c 2e 6e 6f 78 63 68 20  4c 44 59 79 63 68 3a 2e  |\.noxch LDYych:.|
00002180  79 6c 6f 70 63 20 42 45  51 6e 6f 79 63 68 3a 4c  |ylopc BEQnoych:L|
00002190  44 41 26 37 30 3a 43 4c  43 3a 41 44 43 23 26 38  |DA&70:CLC:ADC#&8|
000021a0  30 3a 53 54 41 26 37 30  3a 4c 44 41 26 37 31 3a  |0:STA&70:LDA&71:|
000021b0  41 44 43 23 32 3a 53 54  41 26 37 31 3a 44 45 59  |ADC#2:STA&71:DEY|
000021c0  3a 4a 4d 50 79 6c 6f 70  63 0d 06 22 67 2e 6e 6f  |:JMPylopc.."g.no|
000021d0  79 63 68 20 4a 53 52 73  63 72 6f 6c 77 3a 4c 44  |ych JSRscrolw:LD|
000021e0  59 23 30 3a 2e 73 6c 69  6e 65 20 4c 44 41 26 43  |Y#0:.sline LDA&C|
000021f0  30 30 2c 58 3a 2e 6c 69  6e 65 6c 6f 70 20 50 48  |00,X:.linelop PH|
00002200  41 3a 41 53 4c 20 41 3a  52 4f 4c 20 41 3a 52 4f  |A:ASL A:ROL A:RO|
00002210  4c 20 41 3a 80 23 33 3a  42 45 51 62 6c 61 6e 63  |L A:.#3:BEQblanc|
00002220  68 3a 53 54 41 69 74 65  6d 70 3a 4c 44 41 23 30  |h:STAitemp:LDA#0|
00002230  0d 06 27 89 2e 63 6f 6c  63 68 20 43 4c 43 3a 41  |..'..colch CLC:A|
00002240  44 43 63 6f 6c 3a 44 45  43 69 74 65 6d 70 3a 42  |DCcol:DECitemp:B|
00002250  4e 45 63 6f 6c 63 68 3a  2e 62 6c 61 6e 63 68 20  |NEcolch:.blanch |
00002260  53 54 41 69 74 65 6d 70  3a 4c 44 41 28 26 37 30  |STAitemp:LDA(&70|
00002270  29 2c 59 3a 80 23 26 43  30 3a 84 41 69 74 65 6d  |),Y:.#&C0:.Aitem|
00002280  70 3a 82 69 6e 76 66 6c  61 67 3a 53 54 41 28 26  |p:.invflag:STA(&|
00002290  37 30 29 2c 59 3a 54 59  41 3a 43 4c 43 3a 41 44  |70),Y:TYA:CLC:AD|
000022a0  43 23 38 3a 54 41 59 3a  43 4d 50 23 26 32 30 3a  |C#8:TAY:CMP#&20:|
000022b0  42 43 53 6e 65 77 6c 69  6e 0d 06 2c 4d 50 4c 41  |BCSnewlin..,MPLA|
000022c0  3a 41 53 4c 20 41 3a 41  53 4c 20 41 3a 4a 4d 50  |:ASL A:ASL A:JMP|
000022d0  6c 69 6e 65 6c 6f 70 3a  2e 6e 65 77 6c 69 6e 20  |linelop:.newlin |
000022e0  80 23 37 3a 54 41 59 3a  50 4c 41 3a 49 4e 59 3a  |.#7:TAY:PLA:INY:|
000022f0  49 4e 58 3a 43 50 59 23  38 3a 42 4e 45 73 6c 69  |INX:CPY#8:BNEsli|
00002300  6e 65 3a 52 54 53 0d 06  2e 40 2e 73 63 72 6f 6c  |ne:RTS...@.scrol|
00002310  77 20 43 4d 50 23 26 38  30 3a 42 43 43 6e 6f 73  |w CMP#&80:BCCnos|
00002320  63 72 6f 6c 77 3a 53 45  43 3a 53 42 43 23 26 35  |crolw:SEC:SBC#&5|
00002330  30 3a 2e 6e 6f 73 63 72  6f 6c 77 20 53 54 41 26  |0:.noscrolw STA&|
00002340  37 31 3a 52 54 53 0d 06  2f 67 2e 6b 65 79 62 79  |71:RTS../g.keyby|
00002350  74 65 20 43 50 58 7a 65  72 6f 62 79 74 65 3a 42  |te CPXzerobyte:B|
00002360  45 51 61 75 74 6f 6b 65  79 3a 43 50 58 7a 65 72  |EQautokey:CPXzer|
00002370  6f 62 79 74 65 2b 31 3a  42 45 51 61 75 74 6f 6b  |obyte+1:BEQautok|
00002380  65 79 3a 4c 44 41 23 26  38 31 3a 4c 44 59 23 26  |ey:LDA#&81:LDY#&|
00002390  46 46 3a 4a 4d 50 6f 73  62 79 74 65 3a 2e 61 75  |FF:JMPosbyte:.au|
000023a0  74 6f 6b 65 79 20 53 45  43 3a 52 54 53 0d 06 31  |tokey SEC:RTS..1|
000023b0  35 2e 6c 6d 6f 76 65 73  20 45 51 55 42 31 3a 45  |5.lmoves EQUB1:E|
000023c0  51 55 42 31 3a 45 51 55  42 31 3a 45 51 55 42 31  |QUB1:EQUB1:EQUB1|
000023d0  3a 45 51 55 42 31 3a 45  51 55 42 37 3a 45 51 55  |:EQUB1:EQUB7:EQU|
000023e0  42 33 0d 06 32 35 2e 72  6d 6f 76 65 73 20 45 51  |B3..25.rmoves EQ|
000023f0  55 42 32 3a 45 51 55 42  32 3a 45 51 55 42 32 3a  |UB2:EQUB2:EQUB2:|
00002400  45 51 55 42 32 3a 45 51  55 42 32 3a 45 51 55 42  |EQUB2:EQUB2:EQUB|
00002410  38 3a 45 51 55 42 34 0d  06 36 cf 2e 65 6e 65 72  |8:EQUB4..6..ener|
00002420  73 20 4c 44 58 23 26 44  44 3a 4a 53 52 6b 65 79  |s LDX#&DD:JSRkey|
00002430  62 79 74 65 3a 42 43 43  6e 6f 65 3a 4c 44 41 6b  |byte:BCCnoe:LDAk|
00002440  65 6e 3a 42 4e 45 6b 65  64 3a 4c 44 41 70 6f 77  |en:BNEked:LDApow|
00002450  65 72 3a 53 54 41 6b 65  6e 3a 53 54 41 65 73 2b  |er:STAken:STAes+|
00002460  34 3a 4c 44 41 23 37 3a  4c 44 58 23 28 65 73 20  |4:LDA#7:LDX#(es |
00002470  83 20 32 35 36 29 3a 4c  44 59 23 28 65 73 20 81  |. 256):LDY#(es .|
00002480  20 32 35 36 29 3a 4a 53  52 6f 73 77 6f 72 64 3a  | 256):JSRosword:|
00002490  4c 44 41 23 30 3a 53 54  41 65 73 2b 34 3a 4c 44  |LDA#0:STAes+4:LD|
000024a0  41 23 37 3a 4c 44 58 23  28 65 73 20 83 20 32 35  |A#7:LDX#(es . 25|
000024b0  36 29 3a 4c 44 59 23 28  65 73 20 81 20 32 35 36  |6):LDY#(es . 256|
000024c0  29 3a 4a 4d 50 6f 73 77  6f 72 64 3a 2e 6e 6f 65  |):JMPosword:.noe|
000024d0  20 4c 44 41 23 30 3a 53  54 41 6b 65 6e 3a 2e 6b  | LDA#0:STAken:.k|
000024e0  65 64 20 52 54 53 0d 06  40 21 2e 65 73 20 45 51  |ed RTS..@!.es EQ|
000024f0  55 57 31 3a 45 51 55 57  2d 31 30 3a 45 51 55 57  |UW1:EQUW-10:EQUW|
00002500  30 3a 45 51 55 57 35 0d  06 42 28 45 51 55 42 30  |0:EQUW5..B(EQUB0|
00002510  3a 2e 68 6f 72 73 20 45  51 55 42 32 3a 45 51 55  |:.hors EQUB2:EQU|
00002520  42 35 3a 45 51 55 42 37  3a 45 51 55 42 31 30 0d  |B5:EQUB7:EQUB10.|
00002530  06 44 29 45 51 55 42 30  3a 2e 76 65 72 73 20 45  |.D)EQUB0:.vers E|
00002540  51 55 42 34 3a 45 51 55  42 38 3a 45 51 55 42 31  |QUB4:EQUB8:EQUB1|
00002550  32 3a 45 51 55 42 31 36  0d 06 47 5b 2e 6e 61 6d  |2:EQUB16..G[.nam|
00002560  65 20 45 51 55 42 39 3a  45 51 55 42 31 38 3a 45  |e EQUB9:EQUB18:E|
00002570  51 55 42 31 34 3a 45 51  55 42 32 33 3a 45 51 55  |QUB14:EQUB23:EQU|
00002580  42 31 37 3a 45 51 55 42  35 3a 45 51 55 42 31 35  |B17:EQUB5:EQUB15|
00002590  3a 45 51 55 57 30 3a 45  51 55 42 32 33 3a 45 51  |:EQUW0:EQUB23:EQ|
000025a0  55 42 32 33 3a 45 51 55  42 32 33 3a 45 51 55 42  |UB23:EQUB23:EQUB|
000025b0  32 35 35 0d 06 4a 07 5d  3a e1 0d ff              |255..J.]:...|
000025bc
Backup/Game2A.m0
Backup/Game2A.m1
Backup/Game2A.m2
Backup/Game2A.m4
Backup/Game2A.m5