Home » Personal collection » Acorn ADFS disks » Electron » Electron_disk_loader_A.ADF » Dloader2

Dloader2

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 » Electron_disk_loader_A.ADF
Filename: Dloader2
Read OK:
File size: 1847 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

There are 2 duplicate copies of this file in the archive:

File contents
    1 HIMEM=&3A7F
    5 OFILE=&AA3A:BACK=&801A:OBroutine=&8012:B2routine=&B800:filenames$=""
    6 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3
   10 FORpass=0 TO 2 STEP 2:P%=&3A80:[OPTpass
   20 LDA#0:STA&FCDC:STA&FCDE:LDA#15:STA&F4:STA&FE05:LDX#2:SEI:.test TXA:STA&F4:STA&FE05:LDA#0:LDA&8800
   30 INC&8800:CMP&8800:BNEfound:DEX:DEX:BPLtest:LDX#&FF
   40 .found DEC&8800:CLI:STXbank1+1:INX:STXbank2+1
   50 .BASICrom LDA#11:STA&F4:STA&FE05:LDA#0:STA&70:STA&72:STA&74:LDA#&80:STA&71:LDA#&40:STA&73:LDA#&A0:STA&75:JSRmoveloop2:LDA#15:STA&F4:STA&FE05:JSRbank1:LDA#0:STA&70:STA&72:STA&74:LDA#&40:STA&71:LDA#&80:STA&73:LDA#&60:STA&75:JSRmoveloop2
   60LDA#11:STA&F4:STA&FE05:LDA#0:STA&70:STA&72:STA&74:LDA#&A0:STA&71:LDA#&40:STA&73:LDA#&C0:STA&75:JSRmoveloop2:LDA#15:STA&F4:STA&FE05:JSRbank1:LDA#0:STA&70:STA&72:STA&74:LDA#&40:STA&71:LDA#&A0:STA&73:LDA#&60:STA&75:JSRmoveloop2
   70 .bank2entry JSRbank2:LDA#(enter MOD256):STA&70:LDA#(enter DIV256):STA&71:LDY#0:LDA#&4C:STA(&70),Y:INY:LDA#(B2routine MOD256):STA(&70),Y:INY:LDA#(B2routine DIV256):STA(&70),Y
   80 .bank2main LDA#(start MOD256):STA&70:LDA#(start DIV256):STA&71:LDA#(bank1 MOD256):STA&74:LDA#(bank1 DIV256):STA&75:LDA#(B2routine MOD256):STA&72:LDA#(B2routine DIV256):STA&73:JSRmoveloop2
   90 .ADFSdata LDA#0:STA&70:STA&72:STA&74:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STA&75:JSRmoveloop2
  100 .b1return LDA#(bank1 MOD256):STA&70:LDA#(bank1 DIV256):STA&71:LDA#(BACK-(osbyte-bank1-1)) MOD256):STA&72:LDA#(BACK-(osbyte-bank1-1)) DIV256):STA&73:LDA#((osbyte-1) MOD256):STA&74:LDA#((osbyte-1) DIV256):STA&75:JSRmoveloop2
  110 .b1osbyte JSRbank1:LDA#(osbyte MOD256):STA&70:LDA#(osbyte DIV256):STA&71:LDA#(OBroutine MOD256):STA&72:LDA#(OBroutine DIV256):STA&73:LDA#(file MOD256):STA&74:LDA#(file DIV256):STA&75:JSRmoveloop2
  120 .b1osfile LDA#(file MOD256):STA&70:LDA#(file DIV256):STA&71:LDA#(OFILE MOD256):STA&72:LDA#(OFILE DIV256):STA&73:LDA#(fileret MOD256):STA&74:LDA#(fileret DIV256):STA&75:JSRmoveloop2
  130 .b1fileret LDA#(fileret MOD256):STA&70:LDA#(fileret DIV256):STA&71:LDA#(BACK MOD256):STA&72:LDA#(BACK DIV256):STA&73:LDA#(fretend MOD256):STA&74:LDA#(fretend DIV256):STA&75:JSRmoveloop2
  140 .page LDA#0:STA&70:STA&72:LDA&18:STA&71:LDA#&E:STA&73:STA&18:LDA&12:STA&74:LDA&13:STA&75:JSRmoveloop2
  150 .langROM LDAbank1+1:STA&28C:CLC:ADC#&A0:STA&70:LDA#2:STA&71:LDY#0:LDA#&60:STA(&70),Y:LDA#0:STA&2AB
  160 .vect LDA&20A:STAOBroutine+5:LDA&20B:STAOBroutine+6:JSRbank2:LDA&212:STAosfileLO:LDA&213:STAosfileHI:LDA&21E:STAosfscLO:LDA&21F:STAosfscHI:JSRvectors:JSRbank1:RTS
  170 .moveloop2 LDY#0:.loop LDA(&70),Y:STA(&72),Y:INC&70:BNEa:INC&71:.a INC&72:BNEb:INC&73:.b LDA&70:CMP&74:BNEloop:LDA&71:CMP&75:BNEloop:RTS
  180 ]:O%=P%:start=O%:P%=B2routine:[OPTpass+4
  190 LDA#0:ADC#0:PHA:LDAosfscLO:STA&21E:LDAosfscHI:STA&21F:LDAosfileLO:STA&212:LDAosfileHI:STA&213:STXendadd:LDX#0:.savevars LDA&70,X:STAtempstore,X:INX:CPX#6:BNEsavevars:STY&75:LDXendadd:STX&74:PLA:BEQfilerout:JMPfscrout
  200 .filerout LDY#0:LDX(&74),Y:INY:LDA(&74),Y:STX&70:STA&71:DEY:LDX#0:JSRfilename:LDX#0
  210 .load LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&9D:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&89:STA&71:LDA#9:STA&73:LDA#&9D:STAendadd:LDY#0:JSRmoveloop:JMPloadadd
  220 .moveloop LDA(&70),Y:STA(&72),Y:INY:BNEmoveloop:INC&71:INC&73:LDA&71:CMPendadd:BNEmoveloop:RTS
  230 .loadadd LDA#0:STA&A00:LDA#&B:STA&A01:STXendadd:CPX#1:BEQfindadd:LDA#0:STA&72:LDA#&A:STA&73:LDA&74:STA&70:LDA#3:STAendadd:LDA&75:LDY#0:.ram CMP#&B1:BNEno1:LDA#&1D:JMPst:.no1 CMP#&1D:BCSst:CMP#9:BCCst:CLC:ADC#&94:.st STA&71
  240 .tr LDA(&70),Y:STA(&72),Y:INC&72:LDA&72:CMP#&12:BEQexec:INC&70:BNEtr:INC&71:LDA&71:JMPram
  250 .exec LDA#0:STA&A00:LDA#&B:STA&A01:LDA&A06:BNEfindadd:LDA&A02:STA&70:LDA&A03:STA&71:LDA#2:STAendadd
  260 .findadd LDA#5:LDX#0:LDY#&A:JSROSFILE:CMP#1:BEQrun:JMPerror1:.run LDXendadd:CPX#1:BNEladdr:PLA:PLA:LDX&A06:LDY&A07:DEX:CPX#&FF:BNEstack:DEY:.stack TYA:PHA:TXA:PHA:JMParea
  270 .laddr CPX#2:BNEarea:LDA&70:STA&A02:LDA&71:STA&A03:.area LDA&A03:CMP#&1D:BCSload2:CMP#9:BCSbyteload:CLC:LDA&A02:ADC&A0A:LDA&A03:ADC&A0B:CMP#9:BCSbyteload
  280 .load2 LDA#&FF:LDX#0:LDY#&A:JSROSFILE:JMPend
  290 .byteload LDA#&40:LDX#0:LDY#&B:JSROSFIND:CMP#0:BNEok:JMPerror1:.ok LDA&A02:STA&70:LDA&A03:CMP#9:BCCnorm:CLC:ADC#&94:.norm STA&71:.bget CLC:JSROSBGET:BCSendload:STA(&70,X):INC&70:BNEbget:INC&71:LDA&71:CMP#&B1:BEQsub:CMP#9:BNEbget
  300 LDA#&9D:STA&71:BNEbget:.sub LDA#&1D:STA&71:BNEbget:.endload LDA#0:JSROSFIND
  310 .end LDA#0:STA&70:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&9D:STA&71:LDA#9:STA&73:LDA#&B1:STAendadd:JSRmoveloop
  320 .ret JSRvectors2:JMPvars:]:vectors=O%:[OPTpass+4:.vectors2 LDA#(OBroutine MOD256):STA&20A:LDA#(OBroutine DIV256):STA&20B:LDA#(OFILE MOD256):STA&212:LDA#(OFILE DIV256):STA&213:LDA#(OFSC MOD256):STA&21E:LDA#(OFSC DIV256):STA&21F:RTS
  330 .vars LDY&75:LDX&74:STXendadd:LDX#0:.loadvars LDAtempstore,X:STA&70,X:INX:CPX#6:BNEloadvars:LDXendadd:JMP BACK-(osbyte-bank1-1)
  340 .fscrout PLA:PHA:BEQret:CMP#4:BEQfsc:JSRoldOSFSC:JMPret:.fsc JSRfilename:LDX#1:JMPload:.oldOSFSC JMP(osfscLO)
  350 .filename LDY#0:LDA&74:STA&70:LDA&75:STA&71:LDA(&74),Y:CMP#&D:BNEnotzero:CMP#&20:BNEnotzero:JSRname:.notzero LDA#0:STA&72:LDA#&8B:STA&73:.transloop LDA(&70),Y:STA(&72),Y::CMP#&D:BEQendfile:CMP#&20:BNEcontfile:LDA#&D:STA(&72),Y
  360 BNEendfile:.contfile INY:JMPtransloop:.endfile RTS:.name LDAnameLO:STA&70:STA&72:LDAnameHI:STA&71:STA&73:LDA(&70),Y:CMP#0:BNEok2:JMPerror2:.ok2 LDA(&72),Y:INC&72:BNEno:INC&73:.no CMP#&D:BNEok2:LDA&72:STAnameLO:LDA&73:STAnameHI:RTS
  370 .error1 LDA#(notfound MOD256):STA&70:LDA#(notfound DIV256):STA&71:JMPerror:.error2 LDA#(nomore MOD256):STA&70:LDA#(nomore DIV256):STA&71:.error LDY#0:.printloop LDA(&70),Y:INY:JSROSASCI:CMP#&D:BNEprintloop:JMPret
  380 .notfound EQUS"Not found":EQUB13:.nomore EQUS"No more filenames":EQUB13:.nameLO EQUBnames MOD256:.nameHI EQUBnames DIV256:.endadd EQUB0:.osfileLO EQUB0:.osfileHI EQUB0:.osfscLO EQUB0:.osfscHI EQUB0
  385 .tempstore EQUD0:EQUW0:.names:]:$O%=filenames$:O%=O%+LEN(filenames$)+1:?(O%-1)=0
  390 bank1=O%:[OPTpass+4:LDA#0:STA&F4:STA&FE05:]:P%=O%:[OPTpass+4:RTS:]:osbyte=O%:P%=OBroutine:[OPTpass+4:CMP#140:BEQtape:JMP&0000:.tape RTS:]
  400 file=O%:P%=OFILE:[OPTpass+4:CLC:BCCof:.OFSC SEC:.of PHA:]:bank2=O%:[OPTpass+4:LDA#0:STA&F4:STA&FE05:.enter:]:P%=O%:[OPTpass+4:RTS:]:fileret=O%:P%=BACK:[OPTpass+4:PLA:RTS:]:fretend=O%:NEXT
 �=&3A7F
I OFILE=&AA3A:BACK=&801A:OBroutine=&8012:B2routine=&B800:filenames$=""
8 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3

& �pass=0 � 2 � 2:P%=&3A80:[OPTpass
f LDA#0:STA&FCDC:STA&FCDE:LDA#15:STA&F4:STA&FE05:LDX#2:SEI:.test TXA:STA&F4:STA&FE05:LDA#0:LDA&8800
7 INC&8800:CMP&8800:BNEfound:DEX:DEX:BPLtest:LDX#&FF
(2 .found DEC&8800:CLI:STXbank1+1:INX:STXbank2+1
2� .BASICrom LDA#11:STA&F4:STA&FE05:LDA#0:STA&70:STA&72:STA&74:LDA#&80:STA&71:LDA#&40:STA&73:LDA#&A0:STA&75:JSRmoveloop2:LDA#15:STA&F4:STA&FE05:JSRbank1:LDA#0:STA&70:STA&72:STA&74:LDA#&40:STA&71:LDA#&80:STA&73:LDA#&60:STA&75:JSRmoveloop2
<�LDA#11:STA&F4:STA&FE05:LDA#0:STA&70:STA&72:STA&74:LDA#&A0:STA&71:LDA#&40:STA&73:LDA#&C0:STA&75:JSRmoveloop2:LDA#15:STA&F4:STA&FE05:JSRbank1:LDA#0:STA&70:STA&72:STA&74:LDA#&40:STA&71:LDA#&A0:STA&73:LDA#&60:STA&75:JSRmoveloop2
F� .bank2entry JSRbank2:LDA#(enter �256):STA&70:LDA#(enter �256):STA&71:LDY#0:LDA#&4C:STA(&70),Y:INY:LDA#(B2routine �256):STA(&70),Y:INY:LDA#(B2routine �256):STA(&70),Y
P� .bank2main LDA#(start �256):STA&70:LDA#(start �256):STA&71:LDA#(bank1 �256):STA&74:LDA#(bank1 �256):STA&75:LDA#(B2routine �256):STA&72:LDA#(B2routine �256):STA&73:JSRmoveloop2
Za .ADFSdata LDA#0:STA&70:STA&72:STA&74:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STA&75:JSRmoveloop2
d� .b1return LDA#(bank1 �256):STA&70:LDA#(bank1 �256):STA&71:LDA#(BACK-(osbyte-bank1-1)) �256):STA&72:LDA#(BACK-(osbyte-bank1-1)) �256):STA&73:LDA#((osbyte-1) �256):STA&74:LDA#((osbyte-1) �256):STA&75:JSRmoveloop2
n� .b1osbyte JSRbank1:LDA#(osbyte �256):STA&70:LDA#(osbyte �256):STA&71:LDA#(OBroutine �256):STA&72:LDA#(OBroutine �256):STA&73:LDA#(file �256):STA&74:LDA#(file �256):STA&75:JSRmoveloop2
x� .b1osfile LDA#(file �256):STA&70:LDA#(file �256):STA&71:LDA#(OFILE �256):STA&72:LDA#(OFILE �256):STA&73:LDA#(fileret �256):STA&74:LDA#(fileret �256):STA&75:JSRmoveloop2
�� .b1fileret LDA#(fileret �256):STA&70:LDA#(fileret �256):STA&71:LDA#(BACK �256):STA&72:LDA#(BACK �256):STA&73:LDA#(fretend �256):STA&74:LDA#(fretend �256):STA&75:JSRmoveloop2
�j .page LDA#0:STA&70:STA&72:LDA&18:STA&71:LDA#&E:STA&73:STA&18:LDA&12:STA&74:LDA&13:STA&75:JSRmoveloop2
�g .langROM LDAbank1+1:STA&28C:CLC:ADC#&A0:STA&70:LDA#2:STA&71:LDY#0:LDA#&60:STA(&70),Y:LDA#0:STA&2AB
�� .vect LDA&20A:STAOBroutine+5:LDA&20B:STAOBroutine+6:JSRbank2:LDA&212:STAosfileLO:LDA&213:STAosfileHI:LDA&21E:STAosfscLO:LDA&21F:STAosfscHI:JSRvectors:JSRbank1:RTS
�� .moveloop2 LDY#0:.loop LDA(&70),Y:STA(&72),Y:INC&70:BNEa:INC&71:.a INC&72:BNEb:INC&73:.b LDA&70:CMP&74:BNEloop:LDA&71:CMP&75:BNEloop:RTS
�- ]:O%=P%:start=O%:P%=B2routine:[OPTpass+4
�� LDA#0:ADC#0:PHA:LDAosfscLO:STA&21E:LDAosfscHI:STA&21F:LDAosfileLO:STA&212:LDAosfileHI:STA&213:STXendadd:LDX#0:.savevars LDA&70,X:STAtempstore,X:INX:CPX#6:BNEsavevars:STY&75:LDXendadd:STX&74:PLA:BEQfilerout:JMPfscrout
�X .filerout LDY#0:LDX(&74),Y:INY:LDA(&74),Y:STX&70:STA&71:DEY:LDX#0:JSRfilename:LDX#0
ҩ .load LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&9D:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&89:STA&71:LDA#9:STA&73:LDA#&9D:STAendadd:LDY#0:JSRmoveloop:JMPloadadd
�c .moveloop LDA(&70),Y:STA(&72),Y:INY:BNEmoveloop:INC&71:INC&73:LDA&71:CMPendadd:BNEmoveloop:RTS
�� .loadadd LDA#0:STA&A00:LDA#&B:STA&A01:STXendadd:CPX#1:BEQfindadd:LDA#0:STA&72:LDA#&A:STA&73:LDA&74:STA&70:LDA#3:STAendadd:LDA&75:LDY#0:.ram CMP#&B1:BNEno1:LDA#&1D:JMPst:.no1 CMP#&1D:BCSst:CMP#9:BCCst:CLC:ADC#&94:.st STA&71
�^ .tr LDA(&70),Y:STA(&72),Y:INC&72:LDA&72:CMP#&12:BEQexec:INC&70:BNEtr:INC&71:LDA&71:JMPram
�h .exec LDA#0:STA&A00:LDA#&B:STA&A01:LDA&A06:BNEfindadd:LDA&A02:STA&70:LDA&A03:STA&71:LDA#2:STAendadd
� .findadd LDA#5:LDX#0:LDY#&A:JSROSFILE:CMP#1:BEQrun:JMPerror1:.run LDXendadd:CPX#1:BNEladdr:PLA:PLA:LDX&A06:LDY&A07:DEX:CPX#&FF:BNEstack:DEY:.stack TYA:PHA:TXA:PHA:JMParea
� .laddr CPX#2:BNEarea:LDA&70:STA&A02:LDA&71:STA&A03:.area LDA&A03:CMP#&1D:BCSload2:CMP#9:BCSbyteload:CLC:LDA&A02:ADC&A0A:LDA&A03:ADC&A0B:CMP#9:BCSbyteload
1 .load2 LDA#&FF:LDX#0:LDY#&A:JSROSFILE:JMPend
"� .byteload LDA#&40:LDX#0:LDY#&B:JSROSFIND:CMP#0:BNEok:JMPerror1:.ok LDA&A02:STA&70:LDA&A03:CMP#9:BCCnorm:CLC:ADC#&94:.norm STA&71:.bget CLC:JSROSBGET:BCSendload:STA(&70,X):INC&70:BNEbget:INC&71:LDA&71:CMP#&B1:BEQsub:CMP#9:BNEbget
,P LDA#&9D:STA&71:BNEbget:.sub LDA#&1D:STA&71:BNEbget:.endload LDA#0:JSROSFIND
6� .end LDA#0:STA&70:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&9D:STA&71:LDA#9:STA&73:LDA#&B1:STAendadd:JSRmoveloop
@� .ret JSRvectors2:JMPvars:]:vectors=O%:[OPTpass+4:.vectors2 LDA#(OBroutine �256):STA&20A:LDA#(OBroutine �256):STA&20B:LDA#(OFILE �256):STA&212:LDA#(OFILE �256):STA&213:LDA#(OFSC �256):STA&21E:LDA#(OFSC �256):STA&21F:RTS
J� .vars LDY&75:LDX&74:STXendadd:LDX#0:.loadvars LDAtempstore,X:STA&70,X:INX:CPX#6:BNEloadvars:LDXendadd:JMP BACK-(osbyte-bank1-1)
Tr .fscrout PLA:PHA:BEQret:CMP#4:BEQfsc:JSRoldOSFSC:JMPret:.fsc JSRfilename:LDX#1:JMPload:.oldOSFSC JMP(osfscLO)
^� .filename LDY#0:LDA&74:STA&70:LDA&75:STA&71:LDA(&74),Y:CMP#&D:BNEnotzero:CMP#&20:BNEnotzero:JSRname:.notzero LDA#0:STA&72:LDA#&8B:STA&73:.transloop LDA(&70),Y:STA(&72),Y::CMP#&D:BEQendfile:CMP#&20:BNEcontfile:LDA#&D:STA(&72),Y
h� BNEendfile:.contfile INY:JMPtransloop:.endfile RTS:.name LDAnameLO:STA&70:STA&72:LDAnameHI:STA&71:STA&73:LDA(&70),Y:CMP#0:BNEok2:JMPerror2:.ok2 LDA(&72),Y:INC&72:BNEno:INC&73:.no CMP#&D:BNEok2:LDA&72:STAnameLO:LDA&73:STAnameHI:RTS
r� .error1 LDA#(notfound �256):STA&70:LDA#(notfound �256):STA&71:JMPerror:.error2 LDA#(nomore �256):STA&70:LDA#(nomore �256):STA&71:.error LDY#0:.printloop LDA(&70),Y:INY:JSROSASCI:CMP#&D:BNEprintloop:JMPret
|� .notfound EQUS"Not found":EQUB13:.nomore EQUS"No more filenames":EQUB13:.nameLO EQUBnames �256:.nameHI EQUBnames �256:.endadd EQUB0:.osfileLO EQUB0:.osfileHI EQUB0:.osfscLO EQUB0:.osfscHI EQUB0
�S .tempstore EQUD0:EQUW0:.names:]:$O%=filenames$:O%=O%+�(filenames$)+1:?(O%-1)=0
�� bank1=O%:[OPTpass+4:LDA#0:STA&F4:STA&FE05:]:P%=O%:[OPTpass+4:RTS:]:osbyte=O%:P%=OBroutine:[OPTpass+4:CMP#140:BEQtape:JMP&0000:.tape RTS:]
�� file=O%:P%=OFILE:[OPTpass+4:CLC:BCCof:.OFSC SEC:.of PHA:]:bank2=O%:[OPTpass+4:LDA#0:STA&F4:STA&FE05:.enter:]:P%=O%:[OPTpass+4:RTS:]:fileret=O%:P%=BACK:[OPTpass+4:PLA:RTS:]:fretend=O%:�
�
00000000  0d 00 01 0c 20 d3 3d 26  33 41 37 46 0d 00 05 49  |.... .=&3A7F...I|
00000010  20 4f 46 49 4c 45 3d 26  41 41 33 41 3a 42 41 43  | OFILE=&AA3A:BAC|
00000020  4b 3d 26 38 30 31 41 3a  4f 42 72 6f 75 74 69 6e  |K=&801A:OBroutin|
00000030  65 3d 26 38 30 31 32 3a  42 32 72 6f 75 74 69 6e  |e=&8012:B2routin|
00000040  65 3d 26 42 38 30 30 3a  66 69 6c 65 6e 61 6d 65  |e=&B800:filename|
00000050  73 24 3d 22 22 0d 00 06  38 20 4f 53 46 49 4c 45  |s$=""...8 OSFILE|
00000060  3d 26 46 46 44 44 3a 4f  53 42 47 45 54 3d 26 46  |=&FFDD:OSBGET=&F|
00000070  46 44 37 3a 4f 53 46 49  4e 44 3d 26 46 46 43 45  |FD7:OSFIND=&FFCE|
00000080  3a 4f 53 41 53 43 49 3d  26 46 46 45 33 0d 00 0a  |:OSASCI=&FFE3...|
00000090  26 20 e3 70 61 73 73 3d  30 20 b8 20 32 20 88 20  |& .pass=0 . 2 . |
000000a0  32 3a 50 25 3d 26 33 41  38 30 3a 5b 4f 50 54 70  |2:P%=&3A80:[OPTp|
000000b0  61 73 73 0d 00 14 66 20  4c 44 41 23 30 3a 53 54  |ass...f LDA#0:ST|
000000c0  41 26 46 43 44 43 3a 53  54 41 26 46 43 44 45 3a  |A&FCDC:STA&FCDE:|
000000d0  4c 44 41 23 31 35 3a 53  54 41 26 46 34 3a 53 54  |LDA#15:STA&F4:ST|
000000e0  41 26 46 45 30 35 3a 4c  44 58 23 32 3a 53 45 49  |A&FE05:LDX#2:SEI|
000000f0  3a 2e 74 65 73 74 20 54  58 41 3a 53 54 41 26 46  |:.test TXA:STA&F|
00000100  34 3a 53 54 41 26 46 45  30 35 3a 4c 44 41 23 30  |4:STA&FE05:LDA#0|
00000110  3a 4c 44 41 26 38 38 30  30 0d 00 1e 37 20 49 4e  |:LDA&8800...7 IN|
00000120  43 26 38 38 30 30 3a 43  4d 50 26 38 38 30 30 3a  |C&8800:CMP&8800:|
00000130  42 4e 45 66 6f 75 6e 64  3a 44 45 58 3a 44 45 58  |BNEfound:DEX:DEX|
00000140  3a 42 50 4c 74 65 73 74  3a 4c 44 58 23 26 46 46  |:BPLtest:LDX#&FF|
00000150  0d 00 28 32 20 2e 66 6f  75 6e 64 20 44 45 43 26  |..(2 .found DEC&|
00000160  38 38 30 30 3a 43 4c 49  3a 53 54 58 62 61 6e 6b  |8800:CLI:STXbank|
00000170  31 2b 31 3a 49 4e 58 3a  53 54 58 62 61 6e 6b 32  |1+1:INX:STXbank2|
00000180  2b 31 0d 00 32 ef 20 2e  42 41 53 49 43 72 6f 6d  |+1..2. .BASICrom|
00000190  20 4c 44 41 23 31 31 3a  53 54 41 26 46 34 3a 53  | LDA#11:STA&F4:S|
000001a0  54 41 26 46 45 30 35 3a  4c 44 41 23 30 3a 53 54  |TA&FE05:LDA#0:ST|
000001b0  41 26 37 30 3a 53 54 41  26 37 32 3a 53 54 41 26  |A&70:STA&72:STA&|
000001c0  37 34 3a 4c 44 41 23 26  38 30 3a 53 54 41 26 37  |74:LDA#&80:STA&7|
000001d0  31 3a 4c 44 41 23 26 34  30 3a 53 54 41 26 37 33  |1:LDA#&40:STA&73|
000001e0  3a 4c 44 41 23 26 41 30  3a 53 54 41 26 37 35 3a  |:LDA#&A0:STA&75:|
000001f0  4a 53 52 6d 6f 76 65 6c  6f 6f 70 32 3a 4c 44 41  |JSRmoveloop2:LDA|
00000200  23 31 35 3a 53 54 41 26  46 34 3a 53 54 41 26 46  |#15:STA&F4:STA&F|
00000210  45 30 35 3a 4a 53 52 62  61 6e 6b 31 3a 4c 44 41  |E05:JSRbank1:LDA|
00000220  23 30 3a 53 54 41 26 37  30 3a 53 54 41 26 37 32  |#0:STA&70:STA&72|
00000230  3a 53 54 41 26 37 34 3a  4c 44 41 23 26 34 30 3a  |:STA&74:LDA#&40:|
00000240  53 54 41 26 37 31 3a 4c  44 41 23 26 38 30 3a 53  |STA&71:LDA#&80:S|
00000250  54 41 26 37 33 3a 4c 44  41 23 26 36 30 3a 53 54  |TA&73:LDA#&60:ST|
00000260  41 26 37 35 3a 4a 53 52  6d 6f 76 65 6c 6f 6f 70  |A&75:JSRmoveloop|
00000270  32 0d 00 3c e4 4c 44 41  23 31 31 3a 53 54 41 26  |2..<.LDA#11:STA&|
00000280  46 34 3a 53 54 41 26 46  45 30 35 3a 4c 44 41 23  |F4:STA&FE05:LDA#|
00000290  30 3a 53 54 41 26 37 30  3a 53 54 41 26 37 32 3a  |0:STA&70:STA&72:|
000002a0  53 54 41 26 37 34 3a 4c  44 41 23 26 41 30 3a 53  |STA&74:LDA#&A0:S|
000002b0  54 41 26 37 31 3a 4c 44  41 23 26 34 30 3a 53 54  |TA&71:LDA#&40:ST|
000002c0  41 26 37 33 3a 4c 44 41  23 26 43 30 3a 53 54 41  |A&73:LDA#&C0:STA|
000002d0  26 37 35 3a 4a 53 52 6d  6f 76 65 6c 6f 6f 70 32  |&75:JSRmoveloop2|
000002e0  3a 4c 44 41 23 31 35 3a  53 54 41 26 46 34 3a 53  |:LDA#15:STA&F4:S|
000002f0  54 41 26 46 45 30 35 3a  4a 53 52 62 61 6e 6b 31  |TA&FE05:JSRbank1|
00000300  3a 4c 44 41 23 30 3a 53  54 41 26 37 30 3a 53 54  |:LDA#0:STA&70:ST|
00000310  41 26 37 32 3a 53 54 41  26 37 34 3a 4c 44 41 23  |A&72:STA&74:LDA#|
00000320  26 34 30 3a 53 54 41 26  37 31 3a 4c 44 41 23 26  |&40:STA&71:LDA#&|
00000330  41 30 3a 53 54 41 26 37  33 3a 4c 44 41 23 26 36  |A0:STA&73:LDA#&6|
00000340  30 3a 53 54 41 26 37 35  3a 4a 53 52 6d 6f 76 65  |0:STA&75:JSRmove|
00000350  6c 6f 6f 70 32 0d 00 46  aa 20 2e 62 61 6e 6b 32  |loop2..F. .bank2|
00000360  65 6e 74 72 79 20 4a 53  52 62 61 6e 6b 32 3a 4c  |entry JSRbank2:L|
00000370  44 41 23 28 65 6e 74 65  72 20 83 32 35 36 29 3a  |DA#(enter .256):|
00000380  53 54 41 26 37 30 3a 4c  44 41 23 28 65 6e 74 65  |STA&70:LDA#(ente|
00000390  72 20 81 32 35 36 29 3a  53 54 41 26 37 31 3a 4c  |r .256):STA&71:L|
000003a0  44 59 23 30 3a 4c 44 41  23 26 34 43 3a 53 54 41  |DY#0:LDA#&4C:STA|
000003b0  28 26 37 30 29 2c 59 3a  49 4e 59 3a 4c 44 41 23  |(&70),Y:INY:LDA#|
000003c0  28 42 32 72 6f 75 74 69  6e 65 20 83 32 35 36 29  |(B2routine .256)|
000003d0  3a 53 54 41 28 26 37 30  29 2c 59 3a 49 4e 59 3a  |:STA(&70),Y:INY:|
000003e0  4c 44 41 23 28 42 32 72  6f 75 74 69 6e 65 20 81  |LDA#(B2routine .|
000003f0  32 35 36 29 3a 53 54 41  28 26 37 30 29 2c 59 0d  |256):STA(&70),Y.|
00000400  00 50 b4 20 2e 62 61 6e  6b 32 6d 61 69 6e 20 4c  |.P. .bank2main L|
00000410  44 41 23 28 73 74 61 72  74 20 83 32 35 36 29 3a  |DA#(start .256):|
00000420  53 54 41 26 37 30 3a 4c  44 41 23 28 73 74 61 72  |STA&70:LDA#(star|
00000430  74 20 81 32 35 36 29 3a  53 54 41 26 37 31 3a 4c  |t .256):STA&71:L|
00000440  44 41 23 28 62 61 6e 6b  31 20 83 32 35 36 29 3a  |DA#(bank1 .256):|
00000450  53 54 41 26 37 34 3a 4c  44 41 23 28 62 61 6e 6b  |STA&74:LDA#(bank|
00000460  31 20 81 32 35 36 29 3a  53 54 41 26 37 35 3a 4c  |1 .256):STA&75:L|
00000470  44 41 23 28 42 32 72 6f  75 74 69 6e 65 20 83 32  |DA#(B2routine .2|
00000480  35 36 29 3a 53 54 41 26  37 32 3a 4c 44 41 23 28  |56):STA&72:LDA#(|
00000490  42 32 72 6f 75 74 69 6e  65 20 81 32 35 36 29 3a  |B2routine .256):|
000004a0  53 54 41 26 37 33 3a 4a  53 52 6d 6f 76 65 6c 6f  |STA&73:JSRmovelo|
000004b0  6f 70 32 0d 00 5a 61 20  2e 41 44 46 53 64 61 74  |op2..Za .ADFSdat|
000004c0  61 20 4c 44 41 23 30 3a  53 54 41 26 37 30 3a 53  |a LDA#0:STA&70:S|
000004d0  54 41 26 37 32 3a 53 54  41 26 37 34 3a 4c 44 41  |TA&72:STA&74:LDA|
000004e0  23 39 3a 53 54 41 26 37  31 3a 4c 44 41 23 26 38  |#9:STA&71:LDA#&8|
000004f0  39 3a 53 54 41 26 37 33  3a 4c 44 41 23 26 31 44  |9:STA&73:LDA#&1D|
00000500  3a 53 54 41 26 37 35 3a  4a 53 52 6d 6f 76 65 6c  |:STA&75:JSRmovel|
00000510  6f 6f 70 32 0d 00 64 d7  20 2e 62 31 72 65 74 75  |oop2..d. .b1retu|
00000520  72 6e 20 4c 44 41 23 28  62 61 6e 6b 31 20 83 32  |rn LDA#(bank1 .2|
00000530  35 36 29 3a 53 54 41 26  37 30 3a 4c 44 41 23 28  |56):STA&70:LDA#(|
00000540  62 61 6e 6b 31 20 81 32  35 36 29 3a 53 54 41 26  |bank1 .256):STA&|
00000550  37 31 3a 4c 44 41 23 28  42 41 43 4b 2d 28 6f 73  |71:LDA#(BACK-(os|
00000560  62 79 74 65 2d 62 61 6e  6b 31 2d 31 29 29 20 83  |byte-bank1-1)) .|
00000570  32 35 36 29 3a 53 54 41  26 37 32 3a 4c 44 41 23  |256):STA&72:LDA#|
00000580  28 42 41 43 4b 2d 28 6f  73 62 79 74 65 2d 62 61  |(BACK-(osbyte-ba|
00000590  6e 6b 31 2d 31 29 29 20  81 32 35 36 29 3a 53 54  |nk1-1)) .256):ST|
000005a0  41 26 37 33 3a 4c 44 41  23 28 28 6f 73 62 79 74  |A&73:LDA#((osbyt|
000005b0  65 2d 31 29 20 83 32 35  36 29 3a 53 54 41 26 37  |e-1) .256):STA&7|
000005c0  34 3a 4c 44 41 23 28 28  6f 73 62 79 74 65 2d 31  |4:LDA#((osbyte-1|
000005d0  29 20 81 32 35 36 29 3a  53 54 41 26 37 35 3a 4a  |) .256):STA&75:J|
000005e0  53 52 6d 6f 76 65 6c 6f  6f 70 32 0d 00 6e bc 20  |SRmoveloop2..n. |
000005f0  2e 62 31 6f 73 62 79 74  65 20 4a 53 52 62 61 6e  |.b1osbyte JSRban|
00000600  6b 31 3a 4c 44 41 23 28  6f 73 62 79 74 65 20 83  |k1:LDA#(osbyte .|
00000610  32 35 36 29 3a 53 54 41  26 37 30 3a 4c 44 41 23  |256):STA&70:LDA#|
00000620  28 6f 73 62 79 74 65 20  81 32 35 36 29 3a 53 54  |(osbyte .256):ST|
00000630  41 26 37 31 3a 4c 44 41  23 28 4f 42 72 6f 75 74  |A&71:LDA#(OBrout|
00000640  69 6e 65 20 83 32 35 36  29 3a 53 54 41 26 37 32  |ine .256):STA&72|
00000650  3a 4c 44 41 23 28 4f 42  72 6f 75 74 69 6e 65 20  |:LDA#(OBroutine |
00000660  81 32 35 36 29 3a 53 54  41 26 37 33 3a 4c 44 41  |.256):STA&73:LDA|
00000670  23 28 66 69 6c 65 20 83  32 35 36 29 3a 53 54 41  |#(file .256):STA|
00000680  26 37 34 3a 4c 44 41 23  28 66 69 6c 65 20 81 32  |&74:LDA#(file .2|
00000690  35 36 29 3a 53 54 41 26  37 35 3a 4a 53 52 6d 6f  |56):STA&75:JSRmo|
000006a0  76 65 6c 6f 6f 70 32 0d  00 78 ad 20 2e 62 31 6f  |veloop2..x. .b1o|
000006b0  73 66 69 6c 65 20 4c 44  41 23 28 66 69 6c 65 20  |sfile LDA#(file |
000006c0  83 32 35 36 29 3a 53 54  41 26 37 30 3a 4c 44 41  |.256):STA&70:LDA|
000006d0  23 28 66 69 6c 65 20 81  32 35 36 29 3a 53 54 41  |#(file .256):STA|
000006e0  26 37 31 3a 4c 44 41 23  28 4f 46 49 4c 45 20 83  |&71:LDA#(OFILE .|
000006f0  32 35 36 29 3a 53 54 41  26 37 32 3a 4c 44 41 23  |256):STA&72:LDA#|
00000700  28 4f 46 49 4c 45 20 81  32 35 36 29 3a 53 54 41  |(OFILE .256):STA|
00000710  26 37 33 3a 4c 44 41 23  28 66 69 6c 65 72 65 74  |&73:LDA#(fileret|
00000720  20 83 32 35 36 29 3a 53  54 41 26 37 34 3a 4c 44  | .256):STA&74:LD|
00000730  41 23 28 66 69 6c 65 72  65 74 20 81 32 35 36 29  |A#(fileret .256)|
00000740  3a 53 54 41 26 37 35 3a  4a 53 52 6d 6f 76 65 6c  |:STA&75:JSRmovel|
00000750  6f 6f 70 32 0d 00 82 b2  20 2e 62 31 66 69 6c 65  |oop2.... .b1file|
00000760  72 65 74 20 4c 44 41 23  28 66 69 6c 65 72 65 74  |ret LDA#(fileret|
00000770  20 83 32 35 36 29 3a 53  54 41 26 37 30 3a 4c 44  | .256):STA&70:LD|
00000780  41 23 28 66 69 6c 65 72  65 74 20 81 32 35 36 29  |A#(fileret .256)|
00000790  3a 53 54 41 26 37 31 3a  4c 44 41 23 28 42 41 43  |:STA&71:LDA#(BAC|
000007a0  4b 20 83 32 35 36 29 3a  53 54 41 26 37 32 3a 4c  |K .256):STA&72:L|
000007b0  44 41 23 28 42 41 43 4b  20 81 32 35 36 29 3a 53  |DA#(BACK .256):S|
000007c0  54 41 26 37 33 3a 4c 44  41 23 28 66 72 65 74 65  |TA&73:LDA#(frete|
000007d0  6e 64 20 83 32 35 36 29  3a 53 54 41 26 37 34 3a  |nd .256):STA&74:|
000007e0  4c 44 41 23 28 66 72 65  74 65 6e 64 20 81 32 35  |LDA#(fretend .25|
000007f0  36 29 3a 53 54 41 26 37  35 3a 4a 53 52 6d 6f 76  |6):STA&75:JSRmov|
00000800  65 6c 6f 6f 70 32 0d 00  8c 6a 20 2e 70 61 67 65  |eloop2...j .page|
00000810  20 4c 44 41 23 30 3a 53  54 41 26 37 30 3a 53 54  | LDA#0:STA&70:ST|
00000820  41 26 37 32 3a 4c 44 41  26 31 38 3a 53 54 41 26  |A&72:LDA&18:STA&|
00000830  37 31 3a 4c 44 41 23 26  45 3a 53 54 41 26 37 33  |71:LDA#&E:STA&73|
00000840  3a 53 54 41 26 31 38 3a  4c 44 41 26 31 32 3a 53  |:STA&18:LDA&12:S|
00000850  54 41 26 37 34 3a 4c 44  41 26 31 33 3a 53 54 41  |TA&74:LDA&13:STA|
00000860  26 37 35 3a 4a 53 52 6d  6f 76 65 6c 6f 6f 70 32  |&75:JSRmoveloop2|
00000870  0d 00 96 67 20 2e 6c 61  6e 67 52 4f 4d 20 4c 44  |...g .langROM LD|
00000880  41 62 61 6e 6b 31 2b 31  3a 53 54 41 26 32 38 43  |Abank1+1:STA&28C|
00000890  3a 43 4c 43 3a 41 44 43  23 26 41 30 3a 53 54 41  |:CLC:ADC#&A0:STA|
000008a0  26 37 30 3a 4c 44 41 23  32 3a 53 54 41 26 37 31  |&70:LDA#2:STA&71|
000008b0  3a 4c 44 59 23 30 3a 4c  44 41 23 26 36 30 3a 53  |:LDY#0:LDA#&60:S|
000008c0  54 41 28 26 37 30 29 2c  59 3a 4c 44 41 23 30 3a  |TA(&70),Y:LDA#0:|
000008d0  53 54 41 26 32 41 42 0d  00 a0 a7 20 2e 76 65 63  |STA&2AB.... .vec|
000008e0  74 20 4c 44 41 26 32 30  41 3a 53 54 41 4f 42 72  |t LDA&20A:STAOBr|
000008f0  6f 75 74 69 6e 65 2b 35  3a 4c 44 41 26 32 30 42  |outine+5:LDA&20B|
00000900  3a 53 54 41 4f 42 72 6f  75 74 69 6e 65 2b 36 3a  |:STAOBroutine+6:|
00000910  4a 53 52 62 61 6e 6b 32  3a 4c 44 41 26 32 31 32  |JSRbank2:LDA&212|
00000920  3a 53 54 41 6f 73 66 69  6c 65 4c 4f 3a 4c 44 41  |:STAosfileLO:LDA|
00000930  26 32 31 33 3a 53 54 41  6f 73 66 69 6c 65 48 49  |&213:STAosfileHI|
00000940  3a 4c 44 41 26 32 31 45  3a 53 54 41 6f 73 66 73  |:LDA&21E:STAosfs|
00000950  63 4c 4f 3a 4c 44 41 26  32 31 46 3a 53 54 41 6f  |cLO:LDA&21F:STAo|
00000960  73 66 73 63 48 49 3a 4a  53 52 76 65 63 74 6f 72  |sfscHI:JSRvector|
00000970  73 3a 4a 53 52 62 61 6e  6b 31 3a 52 54 53 0d 00  |s:JSRbank1:RTS..|
00000980  aa 8d 20 2e 6d 6f 76 65  6c 6f 6f 70 32 20 4c 44  |.. .moveloop2 LD|
00000990  59 23 30 3a 2e 6c 6f 6f  70 20 4c 44 41 28 26 37  |Y#0:.loop LDA(&7|
000009a0  30 29 2c 59 3a 53 54 41  28 26 37 32 29 2c 59 3a  |0),Y:STA(&72),Y:|
000009b0  49 4e 43 26 37 30 3a 42  4e 45 61 3a 49 4e 43 26  |INC&70:BNEa:INC&|
000009c0  37 31 3a 2e 61 20 49 4e  43 26 37 32 3a 42 4e 45  |71:.a INC&72:BNE|
000009d0  62 3a 49 4e 43 26 37 33  3a 2e 62 20 4c 44 41 26  |b:INC&73:.b LDA&|
000009e0  37 30 3a 43 4d 50 26 37  34 3a 42 4e 45 6c 6f 6f  |70:CMP&74:BNEloo|
000009f0  70 3a 4c 44 41 26 37 31  3a 43 4d 50 26 37 35 3a  |p:LDA&71:CMP&75:|
00000a00  42 4e 45 6c 6f 6f 70 3a  52 54 53 0d 00 b4 2d 20  |BNEloop:RTS...- |
00000a10  5d 3a 4f 25 3d 50 25 3a  73 74 61 72 74 3d 4f 25  |]:O%=P%:start=O%|
00000a20  3a 50 25 3d 42 32 72 6f  75 74 69 6e 65 3a 5b 4f  |:P%=B2routine:[O|
00000a30  50 54 70 61 73 73 2b 34  0d 00 be dd 20 4c 44 41  |PTpass+4.... LDA|
00000a40  23 30 3a 41 44 43 23 30  3a 50 48 41 3a 4c 44 41  |#0:ADC#0:PHA:LDA|
00000a50  6f 73 66 73 63 4c 4f 3a  53 54 41 26 32 31 45 3a  |osfscLO:STA&21E:|
00000a60  4c 44 41 6f 73 66 73 63  48 49 3a 53 54 41 26 32  |LDAosfscHI:STA&2|
00000a70  31 46 3a 4c 44 41 6f 73  66 69 6c 65 4c 4f 3a 53  |1F:LDAosfileLO:S|
00000a80  54 41 26 32 31 32 3a 4c  44 41 6f 73 66 69 6c 65  |TA&212:LDAosfile|
00000a90  48 49 3a 53 54 41 26 32  31 33 3a 53 54 58 65 6e  |HI:STA&213:STXen|
00000aa0  64 61 64 64 3a 4c 44 58  23 30 3a 2e 73 61 76 65  |dadd:LDX#0:.save|
00000ab0  76 61 72 73 20 4c 44 41  26 37 30 2c 58 3a 53 54  |vars LDA&70,X:ST|
00000ac0  41 74 65 6d 70 73 74 6f  72 65 2c 58 3a 49 4e 58  |Atempstore,X:INX|
00000ad0  3a 43 50 58 23 36 3a 42  4e 45 73 61 76 65 76 61  |:CPX#6:BNEsaveva|
00000ae0  72 73 3a 53 54 59 26 37  35 3a 4c 44 58 65 6e 64  |rs:STY&75:LDXend|
00000af0  61 64 64 3a 53 54 58 26  37 34 3a 50 4c 41 3a 42  |add:STX&74:PLA:B|
00000b00  45 51 66 69 6c 65 72 6f  75 74 3a 4a 4d 50 66 73  |EQfilerout:JMPfs|
00000b10  63 72 6f 75 74 0d 00 c8  58 20 2e 66 69 6c 65 72  |crout...X .filer|
00000b20  6f 75 74 20 4c 44 59 23  30 3a 4c 44 58 28 26 37  |out LDY#0:LDX(&7|
00000b30  34 29 2c 59 3a 49 4e 59  3a 4c 44 41 28 26 37 34  |4),Y:INY:LDA(&74|
00000b40  29 2c 59 3a 53 54 58 26  37 30 3a 53 54 41 26 37  |),Y:STX&70:STA&7|
00000b50  31 3a 44 45 59 3a 4c 44  58 23 30 3a 4a 53 52 66  |1:DEY:LDX#0:JSRf|
00000b60  69 6c 65 6e 61 6d 65 3a  4c 44 58 23 30 0d 00 d2  |ilename:LDX#0...|
00000b70  a9 20 2e 6c 6f 61 64 20  4c 44 41 23 30 3a 53 54  |. .load LDA#0:ST|
00000b80  41 26 37 30 3a 53 54 41  26 37 32 3a 4c 44 41 23  |A&70:STA&72:LDA#|
00000b90  39 3a 53 54 41 26 37 31  3a 4c 44 41 23 26 39 44  |9:STA&71:LDA#&9D|
00000ba0  3a 53 54 41 26 37 33 3a  4c 44 41 23 26 31 44 3a  |:STA&73:LDA#&1D:|
00000bb0  53 54 41 65 6e 64 61 64  64 3a 4c 44 59 23 30 3a  |STAendadd:LDY#0:|
00000bc0  4a 53 52 6d 6f 76 65 6c  6f 6f 70 3a 4c 44 41 23  |JSRmoveloop:LDA#|
00000bd0  26 38 39 3a 53 54 41 26  37 31 3a 4c 44 41 23 39  |&89:STA&71:LDA#9|
00000be0  3a 53 54 41 26 37 33 3a  4c 44 41 23 26 39 44 3a  |:STA&73:LDA#&9D:|
00000bf0  53 54 41 65 6e 64 61 64  64 3a 4c 44 59 23 30 3a  |STAendadd:LDY#0:|
00000c00  4a 53 52 6d 6f 76 65 6c  6f 6f 70 3a 4a 4d 50 6c  |JSRmoveloop:JMPl|
00000c10  6f 61 64 61 64 64 0d 00  dc 63 20 2e 6d 6f 76 65  |oadadd...c .move|
00000c20  6c 6f 6f 70 20 4c 44 41  28 26 37 30 29 2c 59 3a  |loop LDA(&70),Y:|
00000c30  53 54 41 28 26 37 32 29  2c 59 3a 49 4e 59 3a 42  |STA(&72),Y:INY:B|
00000c40  4e 45 6d 6f 76 65 6c 6f  6f 70 3a 49 4e 43 26 37  |NEmoveloop:INC&7|
00000c50  31 3a 49 4e 43 26 37 33  3a 4c 44 41 26 37 31 3a  |1:INC&73:LDA&71:|
00000c60  43 4d 50 65 6e 64 61 64  64 3a 42 4e 45 6d 6f 76  |CMPendadd:BNEmov|
00000c70  65 6c 6f 6f 70 3a 52 54  53 0d 00 e6 e3 20 2e 6c  |eloop:RTS.... .l|
00000c80  6f 61 64 61 64 64 20 4c  44 41 23 30 3a 53 54 41  |oadadd LDA#0:STA|
00000c90  26 41 30 30 3a 4c 44 41  23 26 42 3a 53 54 41 26  |&A00:LDA#&B:STA&|
00000ca0  41 30 31 3a 53 54 58 65  6e 64 61 64 64 3a 43 50  |A01:STXendadd:CP|
00000cb0  58 23 31 3a 42 45 51 66  69 6e 64 61 64 64 3a 4c  |X#1:BEQfindadd:L|
00000cc0  44 41 23 30 3a 53 54 41  26 37 32 3a 4c 44 41 23  |DA#0:STA&72:LDA#|
00000cd0  26 41 3a 53 54 41 26 37  33 3a 4c 44 41 26 37 34  |&A:STA&73:LDA&74|
00000ce0  3a 53 54 41 26 37 30 3a  4c 44 41 23 33 3a 53 54  |:STA&70:LDA#3:ST|
00000cf0  41 65 6e 64 61 64 64 3a  4c 44 41 26 37 35 3a 4c  |Aendadd:LDA&75:L|
00000d00  44 59 23 30 3a 2e 72 61  6d 20 43 4d 50 23 26 42  |DY#0:.ram CMP#&B|
00000d10  31 3a 42 4e 45 6e 6f 31  3a 4c 44 41 23 26 31 44  |1:BNEno1:LDA#&1D|
00000d20  3a 4a 4d 50 73 74 3a 2e  6e 6f 31 20 43 4d 50 23  |:JMPst:.no1 CMP#|
00000d30  26 31 44 3a 42 43 53 73  74 3a 43 4d 50 23 39 3a  |&1D:BCSst:CMP#9:|
00000d40  42 43 43 73 74 3a 43 4c  43 3a 41 44 43 23 26 39  |BCCst:CLC:ADC#&9|
00000d50  34 3a 2e 73 74 20 53 54  41 26 37 31 0d 00 f0 5e  |4:.st STA&71...^|
00000d60  20 2e 74 72 20 4c 44 41  28 26 37 30 29 2c 59 3a  | .tr LDA(&70),Y:|
00000d70  53 54 41 28 26 37 32 29  2c 59 3a 49 4e 43 26 37  |STA(&72),Y:INC&7|
00000d80  32 3a 4c 44 41 26 37 32  3a 43 4d 50 23 26 31 32  |2:LDA&72:CMP#&12|
00000d90  3a 42 45 51 65 78 65 63  3a 49 4e 43 26 37 30 3a  |:BEQexec:INC&70:|
00000da0  42 4e 45 74 72 3a 49 4e  43 26 37 31 3a 4c 44 41  |BNEtr:INC&71:LDA|
00000db0  26 37 31 3a 4a 4d 50 72  61 6d 0d 00 fa 68 20 2e  |&71:JMPram...h .|
00000dc0  65 78 65 63 20 4c 44 41  23 30 3a 53 54 41 26 41  |exec LDA#0:STA&A|
00000dd0  30 30 3a 4c 44 41 23 26  42 3a 53 54 41 26 41 30  |00:LDA#&B:STA&A0|
00000de0  31 3a 4c 44 41 26 41 30  36 3a 42 4e 45 66 69 6e  |1:LDA&A06:BNEfin|
00000df0  64 61 64 64 3a 4c 44 41  26 41 30 32 3a 53 54 41  |dadd:LDA&A02:STA|
00000e00  26 37 30 3a 4c 44 41 26  41 30 33 3a 53 54 41 26  |&70:LDA&A03:STA&|
00000e10  37 31 3a 4c 44 41 23 32  3a 53 54 41 65 6e 64 61  |71:LDA#2:STAenda|
00000e20  64 64 0d 01 04 af 20 2e  66 69 6e 64 61 64 64 20  |dd.... .findadd |
00000e30  4c 44 41 23 35 3a 4c 44  58 23 30 3a 4c 44 59 23  |LDA#5:LDX#0:LDY#|
00000e40  26 41 3a 4a 53 52 4f 53  46 49 4c 45 3a 43 4d 50  |&A:JSROSFILE:CMP|
00000e50  23 31 3a 42 45 51 72 75  6e 3a 4a 4d 50 65 72 72  |#1:BEQrun:JMPerr|
00000e60  6f 72 31 3a 2e 72 75 6e  20 4c 44 58 65 6e 64 61  |or1:.run LDXenda|
00000e70  64 64 3a 43 50 58 23 31  3a 42 4e 45 6c 61 64 64  |dd:CPX#1:BNEladd|
00000e80  72 3a 50 4c 41 3a 50 4c  41 3a 4c 44 58 26 41 30  |r:PLA:PLA:LDX&A0|
00000e90  36 3a 4c 44 59 26 41 30  37 3a 44 45 58 3a 43 50  |6:LDY&A07:DEX:CP|
00000ea0  58 23 26 46 46 3a 42 4e  45 73 74 61 63 6b 3a 44  |X#&FF:BNEstack:D|
00000eb0  45 59 3a 2e 73 74 61 63  6b 20 54 59 41 3a 50 48  |EY:.stack TYA:PH|
00000ec0  41 3a 54 58 41 3a 50 48  41 3a 4a 4d 50 61 72 65  |A:TXA:PHA:JMPare|
00000ed0  61 0d 01 0e 9e 20 2e 6c  61 64 64 72 20 43 50 58  |a.... .laddr CPX|
00000ee0  23 32 3a 42 4e 45 61 72  65 61 3a 4c 44 41 26 37  |#2:BNEarea:LDA&7|
00000ef0  30 3a 53 54 41 26 41 30  32 3a 4c 44 41 26 37 31  |0:STA&A02:LDA&71|
00000f00  3a 53 54 41 26 41 30 33  3a 2e 61 72 65 61 20 4c  |:STA&A03:.area L|
00000f10  44 41 26 41 30 33 3a 43  4d 50 23 26 31 44 3a 42  |DA&A03:CMP#&1D:B|
00000f20  43 53 6c 6f 61 64 32 3a  43 4d 50 23 39 3a 42 43  |CSload2:CMP#9:BC|
00000f30  53 62 79 74 65 6c 6f 61  64 3a 43 4c 43 3a 4c 44  |Sbyteload:CLC:LD|
00000f40  41 26 41 30 32 3a 41 44  43 26 41 30 41 3a 4c 44  |A&A02:ADC&A0A:LD|
00000f50  41 26 41 30 33 3a 41 44  43 26 41 30 42 3a 43 4d  |A&A03:ADC&A0B:CM|
00000f60  50 23 39 3a 42 43 53 62  79 74 65 6c 6f 61 64 0d  |P#9:BCSbyteload.|
00000f70  01 18 31 20 2e 6c 6f 61  64 32 20 4c 44 41 23 26  |..1 .load2 LDA#&|
00000f80  46 46 3a 4c 44 58 23 30  3a 4c 44 59 23 26 41 3a  |FF:LDX#0:LDY#&A:|
00000f90  4a 53 52 4f 53 46 49 4c  45 3a 4a 4d 50 65 6e 64  |JSROSFILE:JMPend|
00000fa0  0d 01 22 e9 20 2e 62 79  74 65 6c 6f 61 64 20 4c  |..". .byteload L|
00000fb0  44 41 23 26 34 30 3a 4c  44 58 23 30 3a 4c 44 59  |DA#&40:LDX#0:LDY|
00000fc0  23 26 42 3a 4a 53 52 4f  53 46 49 4e 44 3a 43 4d  |#&B:JSROSFIND:CM|
00000fd0  50 23 30 3a 42 4e 45 6f  6b 3a 4a 4d 50 65 72 72  |P#0:BNEok:JMPerr|
00000fe0  6f 72 31 3a 2e 6f 6b 20  4c 44 41 26 41 30 32 3a  |or1:.ok LDA&A02:|
00000ff0  53 54 41 26 37 30 3a 4c  44 41 26 41 30 33 3a 43  |STA&70:LDA&A03:C|
00001000  4d 50 23 39 3a 42 43 43  6e 6f 72 6d 3a 43 4c 43  |MP#9:BCCnorm:CLC|
00001010  3a 41 44 43 23 26 39 34  3a 2e 6e 6f 72 6d 20 53  |:ADC#&94:.norm S|
00001020  54 41 26 37 31 3a 2e 62  67 65 74 20 43 4c 43 3a  |TA&71:.bget CLC:|
00001030  4a 53 52 4f 53 42 47 45  54 3a 42 43 53 65 6e 64  |JSROSBGET:BCSend|
00001040  6c 6f 61 64 3a 53 54 41  28 26 37 30 2c 58 29 3a  |load:STA(&70,X):|
00001050  49 4e 43 26 37 30 3a 42  4e 45 62 67 65 74 3a 49  |INC&70:BNEbget:I|
00001060  4e 43 26 37 31 3a 4c 44  41 26 37 31 3a 43 4d 50  |NC&71:LDA&71:CMP|
00001070  23 26 42 31 3a 42 45 51  73 75 62 3a 43 4d 50 23  |#&B1:BEQsub:CMP#|
00001080  39 3a 42 4e 45 62 67 65  74 0d 01 2c 50 20 4c 44  |9:BNEbget..,P LD|
00001090  41 23 26 39 44 3a 53 54  41 26 37 31 3a 42 4e 45  |A#&9D:STA&71:BNE|
000010a0  62 67 65 74 3a 2e 73 75  62 20 4c 44 41 23 26 31  |bget:.sub LDA#&1|
000010b0  44 3a 53 54 41 26 37 31  3a 42 4e 45 62 67 65 74  |D:STA&71:BNEbget|
000010c0  3a 2e 65 6e 64 6c 6f 61  64 20 4c 44 41 23 30 3a  |:.endload LDA#0:|
000010d0  4a 53 52 4f 53 46 49 4e  44 0d 01 36 90 20 2e 65  |JSROSFIND..6. .e|
000010e0  6e 64 20 4c 44 41 23 30  3a 53 54 41 26 37 30 3a  |nd LDA#0:STA&70:|
000010f0  4c 44 41 23 39 3a 53 54  41 26 37 31 3a 4c 44 41  |LDA#9:STA&71:LDA|
00001100  23 26 38 39 3a 53 54 41  26 37 33 3a 4c 44 41 23  |#&89:STA&73:LDA#|
00001110  26 31 44 3a 53 54 41 65  6e 64 61 64 64 3a 4c 44  |&1D:STAendadd:LD|
00001120  59 23 30 3a 4a 53 52 6d  6f 76 65 6c 6f 6f 70 3a  |Y#0:JSRmoveloop:|
00001130  4c 44 41 23 26 39 44 3a  53 54 41 26 37 31 3a 4c  |LDA#&9D:STA&71:L|
00001140  44 41 23 39 3a 53 54 41  26 37 33 3a 4c 44 41 23  |DA#9:STA&73:LDA#|
00001150  26 42 31 3a 53 54 41 65  6e 64 61 64 64 3a 4a 53  |&B1:STAendadd:JS|
00001160  52 6d 6f 76 65 6c 6f 6f  70 0d 01 40 df 20 2e 72  |Rmoveloop..@. .r|
00001170  65 74 20 4a 53 52 76 65  63 74 6f 72 73 32 3a 4a  |et JSRvectors2:J|
00001180  4d 50 76 61 72 73 3a 5d  3a 76 65 63 74 6f 72 73  |MPvars:]:vectors|
00001190  3d 4f 25 3a 5b 4f 50 54  70 61 73 73 2b 34 3a 2e  |=O%:[OPTpass+4:.|
000011a0  76 65 63 74 6f 72 73 32  20 4c 44 41 23 28 4f 42  |vectors2 LDA#(OB|
000011b0  72 6f 75 74 69 6e 65 20  83 32 35 36 29 3a 53 54  |routine .256):ST|
000011c0  41 26 32 30 41 3a 4c 44  41 23 28 4f 42 72 6f 75  |A&20A:LDA#(OBrou|
000011d0  74 69 6e 65 20 81 32 35  36 29 3a 53 54 41 26 32  |tine .256):STA&2|
000011e0  30 42 3a 4c 44 41 23 28  4f 46 49 4c 45 20 83 32  |0B:LDA#(OFILE .2|
000011f0  35 36 29 3a 53 54 41 26  32 31 32 3a 4c 44 41 23  |56):STA&212:LDA#|
00001200  28 4f 46 49 4c 45 20 81  32 35 36 29 3a 53 54 41  |(OFILE .256):STA|
00001210  26 32 31 33 3a 4c 44 41  23 28 4f 46 53 43 20 83  |&213:LDA#(OFSC .|
00001220  32 35 36 29 3a 53 54 41  26 32 31 45 3a 4c 44 41  |256):STA&21E:LDA|
00001230  23 28 4f 46 53 43 20 81  32 35 36 29 3a 53 54 41  |#(OFSC .256):STA|
00001240  26 32 31 46 3a 52 54 53  0d 01 4a 84 20 2e 76 61  |&21F:RTS..J. .va|
00001250  72 73 20 4c 44 59 26 37  35 3a 4c 44 58 26 37 34  |rs LDY&75:LDX&74|
00001260  3a 53 54 58 65 6e 64 61  64 64 3a 4c 44 58 23 30  |:STXendadd:LDX#0|
00001270  3a 2e 6c 6f 61 64 76 61  72 73 20 4c 44 41 74 65  |:.loadvars LDAte|
00001280  6d 70 73 74 6f 72 65 2c  58 3a 53 54 41 26 37 30  |mpstore,X:STA&70|
00001290  2c 58 3a 49 4e 58 3a 43  50 58 23 36 3a 42 4e 45  |,X:INX:CPX#6:BNE|
000012a0  6c 6f 61 64 76 61 72 73  3a 4c 44 58 65 6e 64 61  |loadvars:LDXenda|
000012b0  64 64 3a 4a 4d 50 20 42  41 43 4b 2d 28 6f 73 62  |dd:JMP BACK-(osb|
000012c0  79 74 65 2d 62 61 6e 6b  31 2d 31 29 0d 01 54 72  |yte-bank1-1)..Tr|
000012d0  20 2e 66 73 63 72 6f 75  74 20 50 4c 41 3a 50 48  | .fscrout PLA:PH|
000012e0  41 3a 42 45 51 72 65 74  3a 43 4d 50 23 34 3a 42  |A:BEQret:CMP#4:B|
000012f0  45 51 66 73 63 3a 4a 53  52 6f 6c 64 4f 53 46 53  |EQfsc:JSRoldOSFS|
00001300  43 3a 4a 4d 50 72 65 74  3a 2e 66 73 63 20 4a 53  |C:JMPret:.fsc JS|
00001310  52 66 69 6c 65 6e 61 6d  65 3a 4c 44 58 23 31 3a  |Rfilename:LDX#1:|
00001320  4a 4d 50 6c 6f 61 64 3a  2e 6f 6c 64 4f 53 46 53  |JMPload:.oldOSFS|
00001330  43 20 4a 4d 50 28 6f 73  66 73 63 4c 4f 29 0d 01  |C JMP(osfscLO)..|
00001340  5e e7 20 2e 66 69 6c 65  6e 61 6d 65 20 4c 44 59  |^. .filename LDY|
00001350  23 30 3a 4c 44 41 26 37  34 3a 53 54 41 26 37 30  |#0:LDA&74:STA&70|
00001360  3a 4c 44 41 26 37 35 3a  53 54 41 26 37 31 3a 4c  |:LDA&75:STA&71:L|
00001370  44 41 28 26 37 34 29 2c  59 3a 43 4d 50 23 26 44  |DA(&74),Y:CMP#&D|
00001380  3a 42 4e 45 6e 6f 74 7a  65 72 6f 3a 43 4d 50 23  |:BNEnotzero:CMP#|
00001390  26 32 30 3a 42 4e 45 6e  6f 74 7a 65 72 6f 3a 4a  |&20:BNEnotzero:J|
000013a0  53 52 6e 61 6d 65 3a 2e  6e 6f 74 7a 65 72 6f 20  |SRname:.notzero |
000013b0  4c 44 41 23 30 3a 53 54  41 26 37 32 3a 4c 44 41  |LDA#0:STA&72:LDA|
000013c0  23 26 38 42 3a 53 54 41  26 37 33 3a 2e 74 72 61  |#&8B:STA&73:.tra|
000013d0  6e 73 6c 6f 6f 70 20 4c  44 41 28 26 37 30 29 2c  |nsloop LDA(&70),|
000013e0  59 3a 53 54 41 28 26 37  32 29 2c 59 3a 3a 43 4d  |Y:STA(&72),Y::CM|
000013f0  50 23 26 44 3a 42 45 51  65 6e 64 66 69 6c 65 3a  |P#&D:BEQendfile:|
00001400  43 4d 50 23 26 32 30 3a  42 4e 45 63 6f 6e 74 66  |CMP#&20:BNEcontf|
00001410  69 6c 65 3a 4c 44 41 23  26 44 3a 53 54 41 28 26  |ile:LDA#&D:STA(&|
00001420  37 32 29 2c 59 0d 01 68  eb 20 42 4e 45 65 6e 64  |72),Y..h. BNEend|
00001430  66 69 6c 65 3a 2e 63 6f  6e 74 66 69 6c 65 20 49  |file:.contfile I|
00001440  4e 59 3a 4a 4d 50 74 72  61 6e 73 6c 6f 6f 70 3a  |NY:JMPtransloop:|
00001450  2e 65 6e 64 66 69 6c 65  20 52 54 53 3a 2e 6e 61  |.endfile RTS:.na|
00001460  6d 65 20 4c 44 41 6e 61  6d 65 4c 4f 3a 53 54 41  |me LDAnameLO:STA|
00001470  26 37 30 3a 53 54 41 26  37 32 3a 4c 44 41 6e 61  |&70:STA&72:LDAna|
00001480  6d 65 48 49 3a 53 54 41  26 37 31 3a 53 54 41 26  |meHI:STA&71:STA&|
00001490  37 33 3a 4c 44 41 28 26  37 30 29 2c 59 3a 43 4d  |73:LDA(&70),Y:CM|
000014a0  50 23 30 3a 42 4e 45 6f  6b 32 3a 4a 4d 50 65 72  |P#0:BNEok2:JMPer|
000014b0  72 6f 72 32 3a 2e 6f 6b  32 20 4c 44 41 28 26 37  |ror2:.ok2 LDA(&7|
000014c0  32 29 2c 59 3a 49 4e 43  26 37 32 3a 42 4e 45 6e  |2),Y:INC&72:BNEn|
000014d0  6f 3a 49 4e 43 26 37 33  3a 2e 6e 6f 20 43 4d 50  |o:INC&73:.no CMP|
000014e0  23 26 44 3a 42 4e 45 6f  6b 32 3a 4c 44 41 26 37  |#&D:BNEok2:LDA&7|
000014f0  32 3a 53 54 41 6e 61 6d  65 4c 4f 3a 4c 44 41 26  |2:STAnameLO:LDA&|
00001500  37 33 3a 53 54 41 6e 61  6d 65 48 49 3a 52 54 53  |73:STAnameHI:RTS|
00001510  0d 01 72 d1 20 2e 65 72  72 6f 72 31 20 4c 44 41  |..r. .error1 LDA|
00001520  23 28 6e 6f 74 66 6f 75  6e 64 20 83 32 35 36 29  |#(notfound .256)|
00001530  3a 53 54 41 26 37 30 3a  4c 44 41 23 28 6e 6f 74  |:STA&70:LDA#(not|
00001540  66 6f 75 6e 64 20 81 32  35 36 29 3a 53 54 41 26  |found .256):STA&|
00001550  37 31 3a 4a 4d 50 65 72  72 6f 72 3a 2e 65 72 72  |71:JMPerror:.err|
00001560  6f 72 32 20 4c 44 41 23  28 6e 6f 6d 6f 72 65 20  |or2 LDA#(nomore |
00001570  83 32 35 36 29 3a 53 54  41 26 37 30 3a 4c 44 41  |.256):STA&70:LDA|
00001580  23 28 6e 6f 6d 6f 72 65  20 81 32 35 36 29 3a 53  |#(nomore .256):S|
00001590  54 41 26 37 31 3a 2e 65  72 72 6f 72 20 4c 44 59  |TA&71:.error LDY|
000015a0  23 30 3a 2e 70 72 69 6e  74 6c 6f 6f 70 20 4c 44  |#0:.printloop LD|
000015b0  41 28 26 37 30 29 2c 59  3a 49 4e 59 3a 4a 53 52  |A(&70),Y:INY:JSR|
000015c0  4f 53 41 53 43 49 3a 43  4d 50 23 26 44 3a 42 4e  |OSASCI:CMP#&D:BN|
000015d0  45 70 72 69 6e 74 6c 6f  6f 70 3a 4a 4d 50 72 65  |Eprintloop:JMPre|
000015e0  74 0d 01 7c c6 20 2e 6e  6f 74 66 6f 75 6e 64 20  |t..|. .notfound |
000015f0  45 51 55 53 22 4e 6f 74  20 66 6f 75 6e 64 22 3a  |EQUS"Not found":|
00001600  45 51 55 42 31 33 3a 2e  6e 6f 6d 6f 72 65 20 45  |EQUB13:.nomore E|
00001610  51 55 53 22 4e 6f 20 6d  6f 72 65 20 66 69 6c 65  |QUS"No more file|
00001620  6e 61 6d 65 73 22 3a 45  51 55 42 31 33 3a 2e 6e  |names":EQUB13:.n|
00001630  61 6d 65 4c 4f 20 45 51  55 42 6e 61 6d 65 73 20  |ameLO EQUBnames |
00001640  83 32 35 36 3a 2e 6e 61  6d 65 48 49 20 45 51 55  |.256:.nameHI EQU|
00001650  42 6e 61 6d 65 73 20 81  32 35 36 3a 2e 65 6e 64  |Bnames .256:.end|
00001660  61 64 64 20 45 51 55 42  30 3a 2e 6f 73 66 69 6c  |add EQUB0:.osfil|
00001670  65 4c 4f 20 45 51 55 42  30 3a 2e 6f 73 66 69 6c  |eLO EQUB0:.osfil|
00001680  65 48 49 20 45 51 55 42  30 3a 2e 6f 73 66 73 63  |eHI EQUB0:.osfsc|
00001690  4c 4f 20 45 51 55 42 30  3a 2e 6f 73 66 73 63 48  |LO EQUB0:.osfscH|
000016a0  49 20 45 51 55 42 30 0d  01 81 53 20 2e 74 65 6d  |I EQUB0...S .tem|
000016b0  70 73 74 6f 72 65 20 45  51 55 44 30 3a 45 51 55  |pstore EQUD0:EQU|
000016c0  57 30 3a 2e 6e 61 6d 65  73 3a 5d 3a 24 4f 25 3d  |W0:.names:]:$O%=|
000016d0  66 69 6c 65 6e 61 6d 65  73 24 3a 4f 25 3d 4f 25  |filenames$:O%=O%|
000016e0  2b a9 28 66 69 6c 65 6e  61 6d 65 73 24 29 2b 31  |+.(filenames$)+1|
000016f0  3a 3f 28 4f 25 2d 31 29  3d 30 0d 01 86 8e 20 62  |:?(O%-1)=0.... b|
00001700  61 6e 6b 31 3d 4f 25 3a  5b 4f 50 54 70 61 73 73  |ank1=O%:[OPTpass|
00001710  2b 34 3a 4c 44 41 23 30  3a 53 54 41 26 46 34 3a  |+4:LDA#0:STA&F4:|
00001720  53 54 41 26 46 45 30 35  3a 5d 3a 50 25 3d 4f 25  |STA&FE05:]:P%=O%|
00001730  3a 5b 4f 50 54 70 61 73  73 2b 34 3a 52 54 53 3a  |:[OPTpass+4:RTS:|
00001740  5d 3a 6f 73 62 79 74 65  3d 4f 25 3a 50 25 3d 4f  |]:osbyte=O%:P%=O|
00001750  42 72 6f 75 74 69 6e 65  3a 5b 4f 50 54 70 61 73  |Broutine:[OPTpas|
00001760  73 2b 34 3a 43 4d 50 23  31 34 30 3a 42 45 51 74  |s+4:CMP#140:BEQt|
00001770  61 70 65 3a 4a 4d 50 26  30 30 30 30 3a 2e 74 61  |ape:JMP&0000:.ta|
00001780  70 65 20 52 54 53 3a 5d  0d 01 90 bd 20 66 69 6c  |pe RTS:].... fil|
00001790  65 3d 4f 25 3a 50 25 3d  4f 46 49 4c 45 3a 5b 4f  |e=O%:P%=OFILE:[O|
000017a0  50 54 70 61 73 73 2b 34  3a 43 4c 43 3a 42 43 43  |PTpass+4:CLC:BCC|
000017b0  6f 66 3a 2e 4f 46 53 43  20 53 45 43 3a 2e 6f 66  |of:.OFSC SEC:.of|
000017c0  20 50 48 41 3a 5d 3a 62  61 6e 6b 32 3d 4f 25 3a  | PHA:]:bank2=O%:|
000017d0  5b 4f 50 54 70 61 73 73  2b 34 3a 4c 44 41 23 30  |[OPTpass+4:LDA#0|
000017e0  3a 53 54 41 26 46 34 3a  53 54 41 26 46 45 30 35  |:STA&F4:STA&FE05|
000017f0  3a 2e 65 6e 74 65 72 3a  5d 3a 50 25 3d 4f 25 3a  |:.enter:]:P%=O%:|
00001800  5b 4f 50 54 70 61 73 73  2b 34 3a 52 54 53 3a 5d  |[OPTpass+4:RTS:]|
00001810  3a 66 69 6c 65 72 65 74  3d 4f 25 3a 50 25 3d 42  |:fileret=O%:P%=B|
00001820  41 43 4b 3a 5b 4f 50 54  70 61 73 73 2b 34 3a 50  |ACK:[OPTpass+4:P|
00001830  4c 41 3a 52 54 53 3a 5d  3a 66 72 65 74 65 6e 64  |LA:RTS:]:fretend|
00001840  3d 4f 25 3a ed 0d ff                              |=O%:...|
00001847
Dloader2.m0
Dloader2.m1
Dloader2.m2
Dloader2.m4
Dloader2.m5