Home » Personal collection » Acorn ADFS disks » Electron » Electron_disk_loader_B.ADF » Dloader4

Dloader4

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_B.ADF
Filename: Dloader4
Read OK:
File size: 18E8 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

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

File contents
    1 HIMEM=&3A9F
    5 OFILE=&AA3A:BACK=&801A:OBroutine=&8012:B2routine=&A000:filenames$="Dloader3"
    6 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3
   10 FORpass=0 TO 2 STEP 2:P%=&3AA0:[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&20A:STAosbyteLO:LDA&20B:STAosbyteHI: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:LDAosbyteLO:STA&20A:LDAosbyteHI:STA&20B
  195 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:LDA(&74),Y:TAX:INY:LDA(&74),Y:STX&70:STA&71:DEY:JSRfilename:LDX#0
  210 .load LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&AC: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#&C0:BNEno1:LDA#&1D:JMPst:.no1 CMP#&1D:BCSst:CMP#9:BCCst:CLC:ADC#&A3:.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:STA&72:PLA:PLA:LDX&A06:LDY&A07:DEX:CPX#&FF:BNEstack:DEY:.stack TYA:PHA:TXA:PHA:LDA&72:PHA:JMParea
  270 .laddr CPX#2:BNEarea:LDA&70:STA&A02:LDA&71:STA&A03:LDA#0:STA&A06:.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:TAY:CMP#0:BNEok:JMPerror1:.ok LDA&A02:STA&70:LDA&A03:CMP#9:BCCnorm:CLC:ADC#&A3:.norm STA&71:.bget CLC:JSROSBGET:BCSendload:STA(&70,X):INC&70:BNEbget:INC&71:LDA&71:CMP#&C0:BEQsub:CMP#9:BNEbget
  300 LDA#&AC:STA&71:BNEbget:.sub LDA#&1D:STA&71:BNEbget:.endload LDA#0:JSROSFIND
  310 .end LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&AC:STA&71:LDA#9:STA&73:LDA#&C0: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 LDA&74:STA&70:LDA&75:STA&71:JSRfilename:LDX#1:JMPload:.oldOSFSC JMP(osfscLO)
  350 .filename LDY#0:LDA(&70),Y:CMP#&D:BEQname:CMP#&20:BEQname:JMPnotzero:.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
  360 .no CMP#&D:BNEok2:LDA&72:STAnameLO:LDA&73:STAnameHI:.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:BNEendfile:.contfile INY:JMPtransloop:.endfile 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:.osbyteLO EQUB0:.osbyteHI 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
 �=&3A9F
Q OFILE=&AA3A:BACK=&801A:OBroutine=&8012:B2routine=&A000:filenames$="Dloader3"
8 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3

& �pass=0 � 2 � 2:P%=&3AA0:[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&20A:STAosbyteLO:LDA&20B:STAosbyteHI: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:LDAosbyteLO:STA&20A:LDAosbyteHI:STA&20B
� STXendadd:LDX#0:.savevars LDA&70,X:STAtempstore,X:INX:CPX#6:BNEsavevars:STY&75:LDXendadd:STX&74:PLA:BEQfilerout:JMPfscrout
�V .filerout LDY#0:LDA(&74),Y:TAX:INY:LDA(&74),Y:STX&70:STA&71:DEY:JSRfilename:LDX#0
ҩ .load LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&AC: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#&C0:BNEno1:LDA#&1D:JMPst:.no1 CMP#&1D:BCSst:CMP#9:BCCst:CLC:ADC#&A3:.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:STA&72:PLA:PLA:LDX&A06:LDY&A07:DEX:CPX#&FF:BNEstack:DEY:.stack TYA:PHA:TXA:PHA:LDA&72:PHA:JMParea
� .laddr CPX#2:BNEarea:LDA&70:STA&A02:LDA&71:STA&A03:LDA#0:STA&A06:.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:TAY:CMP#0:BNEok:JMPerror1:.ok LDA&A02:STA&70:LDA&A03:CMP#9:BCCnorm:CLC:ADC#&A3:.norm STA&71:.bget CLC:JSROSBGET:BCSendload:STA(&70,X):INC&70:BNEbget:INC&71:LDA&71:CMP#&C0:BEQsub:CMP#9:BNEbget
,P LDA#&AC:STA&71:BNEbget:.sub LDA#&1D:STA&71:BNEbget:.endload LDA#0:JSROSFIND
6� .end LDA#0:STA&70:STA&72:LDA#9:STA&71:LDA#&89:STA&73:LDA#&1D:STAendadd:LDY#0:JSRmoveloop:LDA#&AC:STA&71:LDA#9:STA&73:LDA#&C0: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)
T� .fscrout PLA:PHA:BEQret:CMP#4:BEQfsc:JSRoldOSFSC:JMPret:.fsc LDA&74:STA&70:LDA&75:STA&71:JSRfilename:LDX#1:JMPload:.oldOSFSC JMP(osfscLO)
^� .filename LDY#0:LDA(&70),Y:CMP#&D:BEQname:CMP#&20:BEQname:JMPnotzero:.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
h� .no CMP#&D:BNEok2:LDA&72:STAnameLO:LDA&73:STAnameHI:.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:BNEendfile:.contfile INY:JMPtransloop:.endfile 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:.osbyteLO EQUB0:.osbyteHI 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 39 46 0d 00 05 51  |.... .=&3A9F...Q|
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 41 30 30 30 3a  66 69 6c 65 6e 61 6d 65  |e=&A000:filename|
00000050  73 24 3d 22 44 6c 6f 61  64 65 72 33 22 0d 00 06  |s$="Dloader3"...|
00000060  38 20 4f 53 46 49 4c 45  3d 26 46 46 44 44 3a 4f  |8 OSFILE=&FFDD:O|
00000070  53 42 47 45 54 3d 26 46  46 44 37 3a 4f 53 46 49  |SBGET=&FFD7:OSFI|
00000080  4e 44 3d 26 46 46 43 45  3a 4f 53 41 53 43 49 3d  |ND=&FFCE:OSASCI=|
00000090  26 46 46 45 33 0d 00 0a  26 20 e3 70 61 73 73 3d  |&FFE3...& .pass=|
000000a0  30 20 b8 20 32 20 88 20  32 3a 50 25 3d 26 33 41  |0 . 2 . 2:P%=&3A|
000000b0  41 30 3a 5b 4f 50 54 70  61 73 73 0d 00 14 66 20  |A0:[OPTpass...f |
000000c0  4c 44 41 23 30 3a 53 54  41 26 46 43 44 43 3a 53  |LDA#0:STA&FCDC:S|
000000d0  54 41 26 46 43 44 45 3a  4c 44 41 23 31 35 3a 53  |TA&FCDE:LDA#15:S|
000000e0  54 41 26 46 34 3a 53 54  41 26 46 45 30 35 3a 4c  |TA&F4:STA&FE05:L|
000000f0  44 58 23 32 3a 53 45 49  3a 2e 74 65 73 74 20 54  |DX#2:SEI:.test T|
00000100  58 41 3a 53 54 41 26 46  34 3a 53 54 41 26 46 45  |XA:STA&F4:STA&FE|
00000110  30 35 3a 4c 44 41 23 30  3a 4c 44 41 26 38 38 30  |05:LDA#0:LDA&880|
00000120  30 0d 00 1e 37 20 49 4e  43 26 38 38 30 30 3a 43  |0...7 INC&8800:C|
00000130  4d 50 26 38 38 30 30 3a  42 4e 45 66 6f 75 6e 64  |MP&8800:BNEfound|
00000140  3a 44 45 58 3a 44 45 58  3a 42 50 4c 74 65 73 74  |:DEX:DEX:BPLtest|
00000150  3a 4c 44 58 23 26 46 46  0d 00 28 32 20 2e 66 6f  |:LDX#&FF..(2 .fo|
00000160  75 6e 64 20 44 45 43 26  38 38 30 30 3a 43 4c 49  |und DEC&8800:CLI|
00000170  3a 53 54 58 62 61 6e 6b  31 2b 31 3a 49 4e 58 3a  |:STXbank1+1:INX:|
00000180  53 54 58 62 61 6e 6b 32  2b 31 0d 00 32 ef 20 2e  |STXbank2+1..2. .|
00000190  42 41 53 49 43 72 6f 6d  20 4c 44 41 23 31 31 3a  |BASICrom LDA#11:|
000001a0  53 54 41 26 46 34 3a 53  54 41 26 46 45 30 35 3a  |STA&F4:STA&FE05:|
000001b0  4c 44 41 23 30 3a 53 54  41 26 37 30 3a 53 54 41  |LDA#0:STA&70:STA|
000001c0  26 37 32 3a 53 54 41 26  37 34 3a 4c 44 41 23 26  |&72:STA&74:LDA#&|
000001d0  38 30 3a 53 54 41 26 37  31 3a 4c 44 41 23 26 34  |80:STA&71:LDA#&4|
000001e0  30 3a 53 54 41 26 37 33  3a 4c 44 41 23 26 41 30  |0:STA&73:LDA#&A0|
000001f0  3a 53 54 41 26 37 35 3a  4a 53 52 6d 6f 76 65 6c  |:STA&75:JSRmovel|
00000200  6f 6f 70 32 3a 4c 44 41  23 31 35 3a 53 54 41 26  |oop2:LDA#15:STA&|
00000210  46 34 3a 53 54 41 26 46  45 30 35 3a 4a 53 52 62  |F4:STA&FE05:JSRb|
00000220  61 6e 6b 31 3a 4c 44 41  23 30 3a 53 54 41 26 37  |ank1:LDA#0:STA&7|
00000230  30 3a 53 54 41 26 37 32  3a 53 54 41 26 37 34 3a  |0:STA&72:STA&74:|
00000240  4c 44 41 23 26 34 30 3a  53 54 41 26 37 31 3a 4c  |LDA#&40:STA&71:L|
00000250  44 41 23 26 38 30 3a 53  54 41 26 37 33 3a 4c 44  |DA#&80:STA&73:LD|
00000260  41 23 26 36 30 3a 53 54  41 26 37 35 3a 4a 53 52  |A#&60:STA&75:JSR|
00000270  6d 6f 76 65 6c 6f 6f 70  32 0d 00 3c e4 4c 44 41  |moveloop2..<.LDA|
00000280  23 31 31 3a 53 54 41 26  46 34 3a 53 54 41 26 46  |#11:STA&F4:STA&F|
00000290  45 30 35 3a 4c 44 41 23  30 3a 53 54 41 26 37 30  |E05:LDA#0:STA&70|
000002a0  3a 53 54 41 26 37 32 3a  53 54 41 26 37 34 3a 4c  |:STA&72:STA&74:L|
000002b0  44 41 23 26 41 30 3a 53  54 41 26 37 31 3a 4c 44  |DA#&A0:STA&71:LD|
000002c0  41 23 26 34 30 3a 53 54  41 26 37 33 3a 4c 44 41  |A#&40:STA&73:LDA|
000002d0  23 26 43 30 3a 53 54 41  26 37 35 3a 4a 53 52 6d  |#&C0:STA&75:JSRm|
000002e0  6f 76 65 6c 6f 6f 70 32  3a 4c 44 41 23 31 35 3a  |oveloop2:LDA#15:|
000002f0  53 54 41 26 46 34 3a 53  54 41 26 46 45 30 35 3a  |STA&F4:STA&FE05:|
00000300  4a 53 52 62 61 6e 6b 31  3a 4c 44 41 23 30 3a 53  |JSRbank1:LDA#0:S|
00000310  54 41 26 37 30 3a 53 54  41 26 37 32 3a 53 54 41  |TA&70:STA&72:STA|
00000320  26 37 34 3a 4c 44 41 23  26 34 30 3a 53 54 41 26  |&74:LDA#&40:STA&|
00000330  37 31 3a 4c 44 41 23 26  41 30 3a 53 54 41 26 37  |71:LDA#&A0:STA&7|
00000340  33 3a 4c 44 41 23 26 36  30 3a 53 54 41 26 37 35  |3:LDA#&60:STA&75|
00000350  3a 4a 53 52 6d 6f 76 65  6c 6f 6f 70 32 0d 00 46  |:JSRmoveloop2..F|
00000360  aa 20 2e 62 61 6e 6b 32  65 6e 74 72 79 20 4a 53  |. .bank2entry JS|
00000370  52 62 61 6e 6b 32 3a 4c  44 41 23 28 65 6e 74 65  |Rbank2:LDA#(ente|
00000380  72 20 83 32 35 36 29 3a  53 54 41 26 37 30 3a 4c  |r .256):STA&70:L|
00000390  44 41 23 28 65 6e 74 65  72 20 81 32 35 36 29 3a  |DA#(enter .256):|
000003a0  53 54 41 26 37 31 3a 4c  44 59 23 30 3a 4c 44 41  |STA&71:LDY#0:LDA|
000003b0  23 26 34 43 3a 53 54 41  28 26 37 30 29 2c 59 3a  |#&4C:STA(&70),Y:|
000003c0  49 4e 59 3a 4c 44 41 23  28 42 32 72 6f 75 74 69  |INY:LDA#(B2routi|
000003d0  6e 65 20 83 32 35 36 29  3a 53 54 41 28 26 37 30  |ne .256):STA(&70|
000003e0  29 2c 59 3a 49 4e 59 3a  4c 44 41 23 28 42 32 72  |),Y:INY:LDA#(B2r|
000003f0  6f 75 74 69 6e 65 20 81  32 35 36 29 3a 53 54 41  |outine .256):STA|
00000400  28 26 37 30 29 2c 59 0d  00 50 b4 20 2e 62 61 6e  |(&70),Y..P. .ban|
00000410  6b 32 6d 61 69 6e 20 4c  44 41 23 28 73 74 61 72  |k2main LDA#(star|
00000420  74 20 83 32 35 36 29 3a  53 54 41 26 37 30 3a 4c  |t .256):STA&70:L|
00000430  44 41 23 28 73 74 61 72  74 20 81 32 35 36 29 3a  |DA#(start .256):|
00000440  53 54 41 26 37 31 3a 4c  44 41 23 28 62 61 6e 6b  |STA&71:LDA#(bank|
00000450  31 20 83 32 35 36 29 3a  53 54 41 26 37 34 3a 4c  |1 .256):STA&74:L|
00000460  44 41 23 28 62 61 6e 6b  31 20 81 32 35 36 29 3a  |DA#(bank1 .256):|
00000470  53 54 41 26 37 35 3a 4c  44 41 23 28 42 32 72 6f  |STA&75:LDA#(B2ro|
00000480  75 74 69 6e 65 20 83 32  35 36 29 3a 53 54 41 26  |utine .256):STA&|
00000490  37 32 3a 4c 44 41 23 28  42 32 72 6f 75 74 69 6e  |72:LDA#(B2routin|
000004a0  65 20 81 32 35 36 29 3a  53 54 41 26 37 33 3a 4a  |e .256):STA&73:J|
000004b0  53 52 6d 6f 76 65 6c 6f  6f 70 32 0d 00 5a 61 20  |SRmoveloop2..Za |
000004c0  2e 41 44 46 53 64 61 74  61 20 4c 44 41 23 30 3a  |.ADFSdata LDA#0:|
000004d0  53 54 41 26 37 30 3a 53  54 41 26 37 32 3a 53 54  |STA&70:STA&72:ST|
000004e0  41 26 37 34 3a 4c 44 41  23 39 3a 53 54 41 26 37  |A&74:LDA#9:STA&7|
000004f0  31 3a 4c 44 41 23 26 38  39 3a 53 54 41 26 37 33  |1:LDA#&89:STA&73|
00000500  3a 4c 44 41 23 26 31 44  3a 53 54 41 26 37 35 3a  |:LDA#&1D:STA&75:|
00000510  4a 53 52 6d 6f 76 65 6c  6f 6f 70 32 0d 00 64 d7  |JSRmoveloop2..d.|
00000520  20 2e 62 31 72 65 74 75  72 6e 20 4c 44 41 23 28  | .b1return LDA#(|
00000530  62 61 6e 6b 31 20 83 32  35 36 29 3a 53 54 41 26  |bank1 .256):STA&|
00000540  37 30 3a 4c 44 41 23 28  62 61 6e 6b 31 20 81 32  |70:LDA#(bank1 .2|
00000550  35 36 29 3a 53 54 41 26  37 31 3a 4c 44 41 23 28  |56):STA&71:LDA#(|
00000560  42 41 43 4b 2d 28 6f 73  62 79 74 65 2d 62 61 6e  |BACK-(osbyte-ban|
00000570  6b 31 2d 31 29 29 20 83  32 35 36 29 3a 53 54 41  |k1-1)) .256):STA|
00000580  26 37 32 3a 4c 44 41 23  28 42 41 43 4b 2d 28 6f  |&72:LDA#(BACK-(o|
00000590  73 62 79 74 65 2d 62 61  6e 6b 31 2d 31 29 29 20  |sbyte-bank1-1)) |
000005a0  81 32 35 36 29 3a 53 54  41 26 37 33 3a 4c 44 41  |.256):STA&73:LDA|
000005b0  23 28 28 6f 73 62 79 74  65 2d 31 29 20 83 32 35  |#((osbyte-1) .25|
000005c0  36 29 3a 53 54 41 26 37  34 3a 4c 44 41 23 28 28  |6):STA&74:LDA#((|
000005d0  6f 73 62 79 74 65 2d 31  29 20 81 32 35 36 29 3a  |osbyte-1) .256):|
000005e0  53 54 41 26 37 35 3a 4a  53 52 6d 6f 76 65 6c 6f  |STA&75:JSRmovelo|
000005f0  6f 70 32 0d 00 6e bc 20  2e 62 31 6f 73 62 79 74  |op2..n. .b1osbyt|
00000600  65 20 4a 53 52 62 61 6e  6b 31 3a 4c 44 41 23 28  |e JSRbank1:LDA#(|
00000610  6f 73 62 79 74 65 20 83  32 35 36 29 3a 53 54 41  |osbyte .256):STA|
00000620  26 37 30 3a 4c 44 41 23  28 6f 73 62 79 74 65 20  |&70:LDA#(osbyte |
00000630  81 32 35 36 29 3a 53 54  41 26 37 31 3a 4c 44 41  |.256):STA&71:LDA|
00000640  23 28 4f 42 72 6f 75 74  69 6e 65 20 83 32 35 36  |#(OBroutine .256|
00000650  29 3a 53 54 41 26 37 32  3a 4c 44 41 23 28 4f 42  |):STA&72:LDA#(OB|
00000660  72 6f 75 74 69 6e 65 20  81 32 35 36 29 3a 53 54  |routine .256):ST|
00000670  41 26 37 33 3a 4c 44 41  23 28 66 69 6c 65 20 83  |A&73:LDA#(file .|
00000680  32 35 36 29 3a 53 54 41  26 37 34 3a 4c 44 41 23  |256):STA&74:LDA#|
00000690  28 66 69 6c 65 20 81 32  35 36 29 3a 53 54 41 26  |(file .256):STA&|
000006a0  37 35 3a 4a 53 52 6d 6f  76 65 6c 6f 6f 70 32 0d  |75:JSRmoveloop2.|
000006b0  00 78 ad 20 2e 62 31 6f  73 66 69 6c 65 20 4c 44  |.x. .b1osfile LD|
000006c0  41 23 28 66 69 6c 65 20  83 32 35 36 29 3a 53 54  |A#(file .256):ST|
000006d0  41 26 37 30 3a 4c 44 41  23 28 66 69 6c 65 20 81  |A&70:LDA#(file .|
000006e0  32 35 36 29 3a 53 54 41  26 37 31 3a 4c 44 41 23  |256):STA&71:LDA#|
000006f0  28 4f 46 49 4c 45 20 83  32 35 36 29 3a 53 54 41  |(OFILE .256):STA|
00000700  26 37 32 3a 4c 44 41 23  28 4f 46 49 4c 45 20 81  |&72:LDA#(OFILE .|
00000710  32 35 36 29 3a 53 54 41  26 37 33 3a 4c 44 41 23  |256):STA&73:LDA#|
00000720  28 66 69 6c 65 72 65 74  20 83 32 35 36 29 3a 53  |(fileret .256):S|
00000730  54 41 26 37 34 3a 4c 44  41 23 28 66 69 6c 65 72  |TA&74:LDA#(filer|
00000740  65 74 20 81 32 35 36 29  3a 53 54 41 26 37 35 3a  |et .256):STA&75:|
00000750  4a 53 52 6d 6f 76 65 6c  6f 6f 70 32 0d 00 82 b2  |JSRmoveloop2....|
00000760  20 2e 62 31 66 69 6c 65  72 65 74 20 4c 44 41 23  | .b1fileret LDA#|
00000770  28 66 69 6c 65 72 65 74  20 83 32 35 36 29 3a 53  |(fileret .256):S|
00000780  54 41 26 37 30 3a 4c 44  41 23 28 66 69 6c 65 72  |TA&70:LDA#(filer|
00000790  65 74 20 81 32 35 36 29  3a 53 54 41 26 37 31 3a  |et .256):STA&71:|
000007a0  4c 44 41 23 28 42 41 43  4b 20 83 32 35 36 29 3a  |LDA#(BACK .256):|
000007b0  53 54 41 26 37 32 3a 4c  44 41 23 28 42 41 43 4b  |STA&72:LDA#(BACK|
000007c0  20 81 32 35 36 29 3a 53  54 41 26 37 33 3a 4c 44  | .256):STA&73:LD|
000007d0  41 23 28 66 72 65 74 65  6e 64 20 83 32 35 36 29  |A#(fretend .256)|
000007e0  3a 53 54 41 26 37 34 3a  4c 44 41 23 28 66 72 65  |:STA&74:LDA#(fre|
000007f0  74 65 6e 64 20 81 32 35  36 29 3a 53 54 41 26 37  |tend .256):STA&7|
00000800  35 3a 4a 53 52 6d 6f 76  65 6c 6f 6f 70 32 0d 00  |5:JSRmoveloop2..|
00000810  8c 6a 20 2e 70 61 67 65  20 4c 44 41 23 30 3a 53  |.j .page LDA#0:S|
00000820  54 41 26 37 30 3a 53 54  41 26 37 32 3a 4c 44 41  |TA&70:STA&72:LDA|
00000830  26 31 38 3a 53 54 41 26  37 31 3a 4c 44 41 23 26  |&18:STA&71:LDA#&|
00000840  45 3a 53 54 41 26 37 33  3a 53 54 41 26 31 38 3a  |E:STA&73:STA&18:|
00000850  4c 44 41 26 31 32 3a 53  54 41 26 37 34 3a 4c 44  |LDA&12:STA&74:LD|
00000860  41 26 31 33 3a 53 54 41  26 37 35 3a 4a 53 52 6d  |A&13:STA&75:JSRm|
00000870  6f 76 65 6c 6f 6f 70 32  0d 00 96 67 20 2e 6c 61  |oveloop2...g .la|
00000880  6e 67 52 4f 4d 20 4c 44  41 62 61 6e 6b 31 2b 31  |ngROM LDAbank1+1|
00000890  3a 53 54 41 26 32 38 43  3a 43 4c 43 3a 41 44 43  |:STA&28C:CLC:ADC|
000008a0  23 26 41 30 3a 53 54 41  26 37 30 3a 4c 44 41 23  |#&A0:STA&70:LDA#|
000008b0  32 3a 53 54 41 26 37 31  3a 4c 44 59 23 30 3a 4c  |2:STA&71:LDY#0:L|
000008c0  44 41 23 26 36 30 3a 53  54 41 28 26 37 30 29 2c  |DA#&60:STA(&70),|
000008d0  59 3a 4c 44 41 23 30 3a  53 54 41 26 32 41 42 0d  |Y:LDA#0:STA&2AB.|
000008e0  00 a0 cf 20 2e 76 65 63  74 20 4c 44 41 26 32 30  |... .vect LDA&20|
000008f0  41 3a 53 54 41 4f 42 72  6f 75 74 69 6e 65 2b 35  |A:STAOBroutine+5|
00000900  3a 4c 44 41 26 32 30 42  3a 53 54 41 4f 42 72 6f  |:LDA&20B:STAOBro|
00000910  75 74 69 6e 65 2b 36 3a  4a 53 52 62 61 6e 6b 32  |utine+6:JSRbank2|
00000920  3a 4c 44 41 26 32 30 41  3a 53 54 41 6f 73 62 79  |:LDA&20A:STAosby|
00000930  74 65 4c 4f 3a 4c 44 41  26 32 30 42 3a 53 54 41  |teLO:LDA&20B:STA|
00000940  6f 73 62 79 74 65 48 49  3a 4c 44 41 26 32 31 32  |osbyteHI:LDA&212|
00000950  3a 53 54 41 6f 73 66 69  6c 65 4c 4f 3a 4c 44 41  |:STAosfileLO:LDA|
00000960  26 32 31 33 3a 53 54 41  6f 73 66 69 6c 65 48 49  |&213:STAosfileHI|
00000970  3a 4c 44 41 26 32 31 45  3a 53 54 41 6f 73 66 73  |:LDA&21E:STAosfs|
00000980  63 4c 4f 3a 4c 44 41 26  32 31 46 3a 53 54 41 6f  |cLO:LDA&21F:STAo|
00000990  73 66 73 63 48 49 3a 4a  53 52 76 65 63 74 6f 72  |sfscHI:JSRvector|
000009a0  73 3a 4a 53 52 62 61 6e  6b 31 3a 52 54 53 0d 00  |s:JSRbank1:RTS..|
000009b0  aa 8d 20 2e 6d 6f 76 65  6c 6f 6f 70 32 20 4c 44  |.. .moveloop2 LD|
000009c0  59 23 30 3a 2e 6c 6f 6f  70 20 4c 44 41 28 26 37  |Y#0:.loop LDA(&7|
000009d0  30 29 2c 59 3a 53 54 41  28 26 37 32 29 2c 59 3a  |0),Y:STA(&72),Y:|
000009e0  49 4e 43 26 37 30 3a 42  4e 45 61 3a 49 4e 43 26  |INC&70:BNEa:INC&|
000009f0  37 31 3a 2e 61 20 49 4e  43 26 37 32 3a 42 4e 45  |71:.a INC&72:BNE|
00000a00  62 3a 49 4e 43 26 37 33  3a 2e 62 20 4c 44 41 26  |b:INC&73:.b LDA&|
00000a10  37 30 3a 43 4d 50 26 37  34 3a 42 4e 45 6c 6f 6f  |70:CMP&74:BNEloo|
00000a20  70 3a 4c 44 41 26 37 31  3a 43 4d 50 26 37 35 3a  |p:LDA&71:CMP&75:|
00000a30  42 4e 45 6c 6f 6f 70 3a  52 54 53 0d 00 b4 2d 20  |BNEloop:RTS...- |
00000a40  5d 3a 4f 25 3d 50 25 3a  73 74 61 72 74 3d 4f 25  |]:O%=P%:start=O%|
00000a50  3a 50 25 3d 42 32 72 6f  75 74 69 6e 65 3a 5b 4f  |:P%=B2routine:[O|
00000a60  50 54 70 61 73 73 2b 34  0d 00 be 8a 20 4c 44 41  |PTpass+4.... LDA|
00000a70  23 30 3a 41 44 43 23 30  3a 50 48 41 3a 4c 44 41  |#0:ADC#0:PHA:LDA|
00000a80  6f 73 66 73 63 4c 4f 3a  53 54 41 26 32 31 45 3a  |osfscLO:STA&21E:|
00000a90  4c 44 41 6f 73 66 73 63  48 49 3a 53 54 41 26 32  |LDAosfscHI:STA&2|
00000aa0  31 46 3a 4c 44 41 6f 73  66 69 6c 65 4c 4f 3a 53  |1F:LDAosfileLO:S|
00000ab0  54 41 26 32 31 32 3a 4c  44 41 6f 73 66 69 6c 65  |TA&212:LDAosfile|
00000ac0  48 49 3a 53 54 41 26 32  31 33 3a 4c 44 41 6f 73  |HI:STA&213:LDAos|
00000ad0  62 79 74 65 4c 4f 3a 53  54 41 26 32 30 41 3a 4c  |byteLO:STA&20A:L|
00000ae0  44 41 6f 73 62 79 74 65  48 49 3a 53 54 41 26 32  |DAosbyteHI:STA&2|
00000af0  30 42 0d 00 c3 7f 20 53  54 58 65 6e 64 61 64 64  |0B.... STXendadd|
00000b00  3a 4c 44 58 23 30 3a 2e  73 61 76 65 76 61 72 73  |:LDX#0:.savevars|
00000b10  20 4c 44 41 26 37 30 2c  58 3a 53 54 41 74 65 6d  | LDA&70,X:STAtem|
00000b20  70 73 74 6f 72 65 2c 58  3a 49 4e 58 3a 43 50 58  |pstore,X:INX:CPX|
00000b30  23 36 3a 42 4e 45 73 61  76 65 76 61 72 73 3a 53  |#6:BNEsavevars:S|
00000b40  54 59 26 37 35 3a 4c 44  58 65 6e 64 61 64 64 3a  |TY&75:LDXendadd:|
00000b50  53 54 58 26 37 34 3a 50  4c 41 3a 42 45 51 66 69  |STX&74:PLA:BEQfi|
00000b60  6c 65 72 6f 75 74 3a 4a  4d 50 66 73 63 72 6f 75  |lerout:JMPfscrou|
00000b70  74 0d 00 c8 56 20 2e 66  69 6c 65 72 6f 75 74 20  |t...V .filerout |
00000b80  4c 44 59 23 30 3a 4c 44  41 28 26 37 34 29 2c 59  |LDY#0:LDA(&74),Y|
00000b90  3a 54 41 58 3a 49 4e 59  3a 4c 44 41 28 26 37 34  |:TAX:INY:LDA(&74|
00000ba0  29 2c 59 3a 53 54 58 26  37 30 3a 53 54 41 26 37  |),Y:STX&70:STA&7|
00000bb0  31 3a 44 45 59 3a 4a 53  52 66 69 6c 65 6e 61 6d  |1:DEY:JSRfilenam|
00000bc0  65 3a 4c 44 58 23 30 0d  00 d2 a9 20 2e 6c 6f 61  |e:LDX#0.... .loa|
00000bd0  64 20 4c 44 41 23 30 3a  53 54 41 26 37 30 3a 53  |d LDA#0:STA&70:S|
00000be0  54 41 26 37 32 3a 4c 44  41 23 39 3a 53 54 41 26  |TA&72:LDA#9:STA&|
00000bf0  37 31 3a 4c 44 41 23 26  41 43 3a 53 54 41 26 37  |71:LDA#&AC:STA&7|
00000c00  33 3a 4c 44 41 23 26 31  44 3a 53 54 41 65 6e 64  |3:LDA#&1D:STAend|
00000c10  61 64 64 3a 4c 44 59 23  30 3a 4a 53 52 6d 6f 76  |add:LDY#0:JSRmov|
00000c20  65 6c 6f 6f 70 3a 4c 44  41 23 26 38 39 3a 53 54  |eloop:LDA#&89:ST|
00000c30  41 26 37 31 3a 4c 44 41  23 39 3a 53 54 41 26 37  |A&71:LDA#9:STA&7|
00000c40  33 3a 4c 44 41 23 26 39  44 3a 53 54 41 65 6e 64  |3:LDA#&9D:STAend|
00000c50  61 64 64 3a 4c 44 59 23  30 3a 4a 53 52 6d 6f 76  |add:LDY#0:JSRmov|
00000c60  65 6c 6f 6f 70 3a 4a 4d  50 6c 6f 61 64 61 64 64  |eloop:JMPloadadd|
00000c70  0d 00 dc 63 20 2e 6d 6f  76 65 6c 6f 6f 70 20 4c  |...c .moveloop L|
00000c80  44 41 28 26 37 30 29 2c  59 3a 53 54 41 28 26 37  |DA(&70),Y:STA(&7|
00000c90  32 29 2c 59 3a 49 4e 59  3a 42 4e 45 6d 6f 76 65  |2),Y:INY:BNEmove|
00000ca0  6c 6f 6f 70 3a 49 4e 43  26 37 31 3a 49 4e 43 26  |loop:INC&71:INC&|
00000cb0  37 33 3a 4c 44 41 26 37  31 3a 43 4d 50 65 6e 64  |73:LDA&71:CMPend|
00000cc0  61 64 64 3a 42 4e 45 6d  6f 76 65 6c 6f 6f 70 3a  |add:BNEmoveloop:|
00000cd0  52 54 53 0d 00 e6 e3 20  2e 6c 6f 61 64 61 64 64  |RTS.... .loadadd|
00000ce0  20 4c 44 41 23 30 3a 53  54 41 26 41 30 30 3a 4c  | LDA#0:STA&A00:L|
00000cf0  44 41 23 26 42 3a 53 54  41 26 41 30 31 3a 53 54  |DA#&B:STA&A01:ST|
00000d00  58 65 6e 64 61 64 64 3a  43 50 58 23 31 3a 42 45  |Xendadd:CPX#1:BE|
00000d10  51 66 69 6e 64 61 64 64  3a 4c 44 41 23 30 3a 53  |Qfindadd:LDA#0:S|
00000d20  54 41 26 37 32 3a 4c 44  41 23 26 41 3a 53 54 41  |TA&72:LDA#&A:STA|
00000d30  26 37 33 3a 4c 44 41 26  37 34 3a 53 54 41 26 37  |&73:LDA&74:STA&7|
00000d40  30 3a 4c 44 41 23 33 3a  53 54 41 65 6e 64 61 64  |0:LDA#3:STAendad|
00000d50  64 3a 4c 44 41 26 37 35  3a 4c 44 59 23 30 3a 2e  |d:LDA&75:LDY#0:.|
00000d60  72 61 6d 20 43 4d 50 23  26 43 30 3a 42 4e 45 6e  |ram CMP#&C0:BNEn|
00000d70  6f 31 3a 4c 44 41 23 26  31 44 3a 4a 4d 50 73 74  |o1:LDA#&1D:JMPst|
00000d80  3a 2e 6e 6f 31 20 43 4d  50 23 26 31 44 3a 42 43  |:.no1 CMP#&1D:BC|
00000d90  53 73 74 3a 43 4d 50 23  39 3a 42 43 43 73 74 3a  |Sst:CMP#9:BCCst:|
00000da0  43 4c 43 3a 41 44 43 23  26 41 33 3a 2e 73 74 20  |CLC:ADC#&A3:.st |
00000db0  53 54 41 26 37 31 0d 00  f0 5e 20 2e 74 72 20 4c  |STA&71...^ .tr L|
00000dc0  44 41 28 26 37 30 29 2c  59 3a 53 54 41 28 26 37  |DA(&70),Y:STA(&7|
00000dd0  32 29 2c 59 3a 49 4e 43  26 37 32 3a 4c 44 41 26  |2),Y:INC&72:LDA&|
00000de0  37 32 3a 43 4d 50 23 26  31 32 3a 42 45 51 65 78  |72:CMP#&12:BEQex|
00000df0  65 63 3a 49 4e 43 26 37  30 3a 42 4e 45 74 72 3a  |ec:INC&70:BNEtr:|
00000e00  49 4e 43 26 37 31 3a 4c  44 41 26 37 31 3a 4a 4d  |INC&71:LDA&71:JM|
00000e10  50 72 61 6d 0d 00 fa 68  20 2e 65 78 65 63 20 4c  |Pram...h .exec L|
00000e20  44 41 23 30 3a 53 54 41  26 41 30 30 3a 4c 44 41  |DA#0:STA&A00:LDA|
00000e30  23 26 42 3a 53 54 41 26  41 30 31 3a 4c 44 41 26  |#&B:STA&A01:LDA&|
00000e40  41 30 36 3a 42 4e 45 66  69 6e 64 61 64 64 3a 4c  |A06:BNEfindadd:L|
00000e50  44 41 26 41 30 32 3a 53  54 41 26 37 30 3a 4c 44  |DA&A02:STA&70:LD|
00000e60  41 26 41 30 33 3a 53 54  41 26 37 31 3a 4c 44 41  |A&A03:STA&71:LDA|
00000e70  23 32 3a 53 54 41 65 6e  64 61 64 64 0d 01 04 c5  |#2:STAendadd....|
00000e80  20 2e 66 69 6e 64 61 64  64 20 4c 44 41 23 35 3a  | .findadd LDA#5:|
00000e90  4c 44 58 23 30 3a 4c 44  59 23 26 41 3a 4a 53 52  |LDX#0:LDY#&A:JSR|
00000ea0  4f 53 46 49 4c 45 3a 43  4d 50 23 31 3a 42 45 51  |OSFILE:CMP#1:BEQ|
00000eb0  72 75 6e 3a 4a 4d 50 65  72 72 6f 72 31 3a 2e 72  |run:JMPerror1:.r|
00000ec0  75 6e 20 4c 44 58 65 6e  64 61 64 64 3a 43 50 58  |un LDXendadd:CPX|
00000ed0  23 31 3a 42 4e 45 6c 61  64 64 72 3a 50 4c 41 3a  |#1:BNEladdr:PLA:|
00000ee0  53 54 41 26 37 32 3a 50  4c 41 3a 50 4c 41 3a 4c  |STA&72:PLA:PLA:L|
00000ef0  44 58 26 41 30 36 3a 4c  44 59 26 41 30 37 3a 44  |DX&A06:LDY&A07:D|
00000f00  45 58 3a 43 50 58 23 26  46 46 3a 42 4e 45 73 74  |EX:CPX#&FF:BNEst|
00000f10  61 63 6b 3a 44 45 59 3a  2e 73 74 61 63 6b 20 54  |ack:DEY:.stack T|
00000f20  59 41 3a 50 48 41 3a 54  58 41 3a 50 48 41 3a 4c  |YA:PHA:TXA:PHA:L|
00000f30  44 41 26 37 32 3a 50 48  41 3a 4a 4d 50 61 72 65  |DA&72:PHA:JMPare|
00000f40  61 0d 01 0e ac 20 2e 6c  61 64 64 72 20 43 50 58  |a.... .laddr CPX|
00000f50  23 32 3a 42 4e 45 61 72  65 61 3a 4c 44 41 26 37  |#2:BNEarea:LDA&7|
00000f60  30 3a 53 54 41 26 41 30  32 3a 4c 44 41 26 37 31  |0:STA&A02:LDA&71|
00000f70  3a 53 54 41 26 41 30 33  3a 4c 44 41 23 30 3a 53  |:STA&A03:LDA#0:S|
00000f80  54 41 26 41 30 36 3a 2e  61 72 65 61 20 4c 44 41  |TA&A06:.area LDA|
00000f90  26 41 30 33 3a 43 4d 50  23 26 31 44 3a 42 43 53  |&A03:CMP#&1D:BCS|
00000fa0  6c 6f 61 64 32 3a 43 4d  50 23 39 3a 42 43 53 62  |load2:CMP#9:BCSb|
00000fb0  79 74 65 6c 6f 61 64 3a  43 4c 43 3a 4c 44 41 26  |yteload:CLC:LDA&|
00000fc0  41 30 32 3a 41 44 43 26  41 30 41 3a 4c 44 41 26  |A02:ADC&A0A:LDA&|
00000fd0  41 30 33 3a 41 44 43 26  41 30 42 3a 43 4d 50 23  |A03:ADC&A0B:CMP#|
00000fe0  39 3a 42 43 53 62 79 74  65 6c 6f 61 64 0d 01 18  |9:BCSbyteload...|
00000ff0  31 20 2e 6c 6f 61 64 32  20 4c 44 41 23 26 46 46  |1 .load2 LDA#&FF|
00001000  3a 4c 44 58 23 30 3a 4c  44 59 23 26 41 3a 4a 53  |:LDX#0:LDY#&A:JS|
00001010  52 4f 53 46 49 4c 45 3a  4a 4d 50 65 6e 64 0d 01  |ROSFILE:JMPend..|
00001020  22 ed 20 2e 62 79 74 65  6c 6f 61 64 20 4c 44 41  |". .byteload LDA|
00001030  23 26 34 30 3a 4c 44 58  23 30 3a 4c 44 59 23 26  |#&40:LDX#0:LDY#&|
00001040  42 3a 4a 53 52 4f 53 46  49 4e 44 3a 54 41 59 3a  |B:JSROSFIND:TAY:|
00001050  43 4d 50 23 30 3a 42 4e  45 6f 6b 3a 4a 4d 50 65  |CMP#0:BNEok:JMPe|
00001060  72 72 6f 72 31 3a 2e 6f  6b 20 4c 44 41 26 41 30  |rror1:.ok LDA&A0|
00001070  32 3a 53 54 41 26 37 30  3a 4c 44 41 26 41 30 33  |2:STA&70:LDA&A03|
00001080  3a 43 4d 50 23 39 3a 42  43 43 6e 6f 72 6d 3a 43  |:CMP#9:BCCnorm:C|
00001090  4c 43 3a 41 44 43 23 26  41 33 3a 2e 6e 6f 72 6d  |LC:ADC#&A3:.norm|
000010a0  20 53 54 41 26 37 31 3a  2e 62 67 65 74 20 43 4c  | STA&71:.bget CL|
000010b0  43 3a 4a 53 52 4f 53 42  47 45 54 3a 42 43 53 65  |C:JSROSBGET:BCSe|
000010c0  6e 64 6c 6f 61 64 3a 53  54 41 28 26 37 30 2c 58  |ndload:STA(&70,X|
000010d0  29 3a 49 4e 43 26 37 30  3a 42 4e 45 62 67 65 74  |):INC&70:BNEbget|
000010e0  3a 49 4e 43 26 37 31 3a  4c 44 41 26 37 31 3a 43  |:INC&71:LDA&71:C|
000010f0  4d 50 23 26 43 30 3a 42  45 51 73 75 62 3a 43 4d  |MP#&C0:BEQsub:CM|
00001100  50 23 39 3a 42 4e 45 62  67 65 74 0d 01 2c 50 20  |P#9:BNEbget..,P |
00001110  4c 44 41 23 26 41 43 3a  53 54 41 26 37 31 3a 42  |LDA#&AC:STA&71:B|
00001120  4e 45 62 67 65 74 3a 2e  73 75 62 20 4c 44 41 23  |NEbget:.sub LDA#|
00001130  26 31 44 3a 53 54 41 26  37 31 3a 42 4e 45 62 67  |&1D:STA&71:BNEbg|
00001140  65 74 3a 2e 65 6e 64 6c  6f 61 64 20 4c 44 41 23  |et:.endload LDA#|
00001150  30 3a 4a 53 52 4f 53 46  49 4e 44 0d 01 36 97 20  |0:JSROSFIND..6. |
00001160  2e 65 6e 64 20 4c 44 41  23 30 3a 53 54 41 26 37  |.end LDA#0:STA&7|
00001170  30 3a 53 54 41 26 37 32  3a 4c 44 41 23 39 3a 53  |0:STA&72:LDA#9:S|
00001180  54 41 26 37 31 3a 4c 44  41 23 26 38 39 3a 53 54  |TA&71:LDA#&89:ST|
00001190  41 26 37 33 3a 4c 44 41  23 26 31 44 3a 53 54 41  |A&73:LDA#&1D:STA|
000011a0  65 6e 64 61 64 64 3a 4c  44 59 23 30 3a 4a 53 52  |endadd:LDY#0:JSR|
000011b0  6d 6f 76 65 6c 6f 6f 70  3a 4c 44 41 23 26 41 43  |moveloop:LDA#&AC|
000011c0  3a 53 54 41 26 37 31 3a  4c 44 41 23 39 3a 53 54  |:STA&71:LDA#9:ST|
000011d0  41 26 37 33 3a 4c 44 41  23 26 43 30 3a 53 54 41  |A&73:LDA#&C0:STA|
000011e0  65 6e 64 61 64 64 3a 4a  53 52 6d 6f 76 65 6c 6f  |endadd:JSRmovelo|
000011f0  6f 70 0d 01 40 df 20 2e  72 65 74 20 4a 53 52 76  |op..@. .ret JSRv|
00001200  65 63 74 6f 72 73 32 3a  4a 4d 50 76 61 72 73 3a  |ectors2:JMPvars:|
00001210  5d 3a 76 65 63 74 6f 72  73 3d 4f 25 3a 5b 4f 50  |]:vectors=O%:[OP|
00001220  54 70 61 73 73 2b 34 3a  2e 76 65 63 74 6f 72 73  |Tpass+4:.vectors|
00001230  32 20 4c 44 41 23 28 4f  42 72 6f 75 74 69 6e 65  |2 LDA#(OBroutine|
00001240  20 83 32 35 36 29 3a 53  54 41 26 32 30 41 3a 4c  | .256):STA&20A:L|
00001250  44 41 23 28 4f 42 72 6f  75 74 69 6e 65 20 81 32  |DA#(OBroutine .2|
00001260  35 36 29 3a 53 54 41 26  32 30 42 3a 4c 44 41 23  |56):STA&20B:LDA#|
00001270  28 4f 46 49 4c 45 20 83  32 35 36 29 3a 53 54 41  |(OFILE .256):STA|
00001280  26 32 31 32 3a 4c 44 41  23 28 4f 46 49 4c 45 20  |&212:LDA#(OFILE |
00001290  81 32 35 36 29 3a 53 54  41 26 32 31 33 3a 4c 44  |.256):STA&213:LD|
000012a0  41 23 28 4f 46 53 43 20  83 32 35 36 29 3a 53 54  |A#(OFSC .256):ST|
000012b0  41 26 32 31 45 3a 4c 44  41 23 28 4f 46 53 43 20  |A&21E:LDA#(OFSC |
000012c0  81 32 35 36 29 3a 53 54  41 26 32 31 46 3a 52 54  |.256):STA&21F:RT|
000012d0  53 0d 01 4a 84 20 2e 76  61 72 73 20 4c 44 59 26  |S..J. .vars LDY&|
000012e0  37 35 3a 4c 44 58 26 37  34 3a 53 54 58 65 6e 64  |75:LDX&74:STXend|
000012f0  61 64 64 3a 4c 44 58 23  30 3a 2e 6c 6f 61 64 76  |add:LDX#0:.loadv|
00001300  61 72 73 20 4c 44 41 74  65 6d 70 73 74 6f 72 65  |ars LDAtempstore|
00001310  2c 58 3a 53 54 41 26 37  30 2c 58 3a 49 4e 58 3a  |,X:STA&70,X:INX:|
00001320  43 50 58 23 36 3a 42 4e  45 6c 6f 61 64 76 61 72  |CPX#6:BNEloadvar|
00001330  73 3a 4c 44 58 65 6e 64  61 64 64 3a 4a 4d 50 20  |s:LDXendadd:JMP |
00001340  42 41 43 4b 2d 28 6f 73  62 79 74 65 2d 62 61 6e  |BACK-(osbyte-ban|
00001350  6b 31 2d 31 29 0d 01 54  8e 20 2e 66 73 63 72 6f  |k1-1)..T. .fscro|
00001360  75 74 20 50 4c 41 3a 50  48 41 3a 42 45 51 72 65  |ut PLA:PHA:BEQre|
00001370  74 3a 43 4d 50 23 34 3a  42 45 51 66 73 63 3a 4a  |t:CMP#4:BEQfsc:J|
00001380  53 52 6f 6c 64 4f 53 46  53 43 3a 4a 4d 50 72 65  |SRoldOSFSC:JMPre|
00001390  74 3a 2e 66 73 63 20 4c  44 41 26 37 34 3a 53 54  |t:.fsc LDA&74:ST|
000013a0  41 26 37 30 3a 4c 44 41  26 37 35 3a 53 54 41 26  |A&70:LDA&75:STA&|
000013b0  37 31 3a 4a 53 52 66 69  6c 65 6e 61 6d 65 3a 4c  |71:JSRfilename:L|
000013c0  44 58 23 31 3a 4a 4d 50  6c 6f 61 64 3a 2e 6f 6c  |DX#1:JMPload:.ol|
000013d0  64 4f 53 46 53 43 20 4a  4d 50 28 6f 73 66 73 63  |dOSFSC JMP(osfsc|
000013e0  4c 4f 29 0d 01 5e c5 20  2e 66 69 6c 65 6e 61 6d  |LO)..^. .filenam|
000013f0  65 20 4c 44 59 23 30 3a  4c 44 41 28 26 37 30 29  |e LDY#0:LDA(&70)|
00001400  2c 59 3a 43 4d 50 23 26  44 3a 42 45 51 6e 61 6d  |,Y:CMP#&D:BEQnam|
00001410  65 3a 43 4d 50 23 26 32  30 3a 42 45 51 6e 61 6d  |e:CMP#&20:BEQnam|
00001420  65 3a 4a 4d 50 6e 6f 74  7a 65 72 6f 3a 2e 6e 61  |e:JMPnotzero:.na|
00001430  6d 65 20 4c 44 41 6e 61  6d 65 4c 4f 3a 53 54 41  |me LDAnameLO:STA|
00001440  26 37 30 3a 53 54 41 26  37 32 3a 4c 44 41 6e 61  |&70:STA&72:LDAna|
00001450  6d 65 48 49 3a 53 54 41  26 37 31 3a 53 54 41 26  |meHI:STA&71:STA&|
00001460  37 33 3a 4c 44 41 28 26  37 30 29 2c 59 3a 43 4d  |73:LDA(&70),Y:CM|
00001470  50 23 30 3a 42 4e 45 6f  6b 32 3a 4a 4d 50 65 72  |P#0:BNEok2:JMPer|
00001480  72 6f 72 32 3a 2e 6f 6b  32 20 4c 44 41 28 26 37  |ror2:.ok2 LDA(&7|
00001490  32 29 2c 59 3a 49 4e 43  26 37 32 3a 42 4e 45 6e  |2),Y:INC&72:BNEn|
000014a0  6f 3a 49 4e 43 26 37 33  0d 01 68 e9 20 2e 6e 6f  |o:INC&73..h. .no|
000014b0  20 43 4d 50 23 26 44 3a  42 4e 45 6f 6b 32 3a 4c  | CMP#&D:BNEok2:L|
000014c0  44 41 26 37 32 3a 53 54  41 6e 61 6d 65 4c 4f 3a  |DA&72:STAnameLO:|
000014d0  4c 44 41 26 37 33 3a 53  54 41 6e 61 6d 65 48 49  |LDA&73:STAnameHI|
000014e0  3a 2e 6e 6f 74 7a 65 72  6f 20 4c 44 41 23 30 3a  |:.notzero LDA#0:|
000014f0  53 54 41 26 37 32 3a 4c  44 41 23 26 38 42 3a 53  |STA&72:LDA#&8B:S|
00001500  54 41 26 37 33 3a 2e 74  72 61 6e 73 6c 6f 6f 70  |TA&73:.transloop|
00001510  20 4c 44 41 28 26 37 30  29 2c 59 3a 53 54 41 28  | LDA(&70),Y:STA(|
00001520  26 37 32 29 2c 59 3a 43  4d 50 23 26 44 3a 42 45  |&72),Y:CMP#&D:BE|
00001530  51 65 6e 64 66 69 6c 65  3a 43 4d 50 23 26 32 30  |Qendfile:CMP#&20|
00001540  3a 42 4e 45 63 6f 6e 74  66 69 6c 65 3a 4c 44 41  |:BNEcontfile:LDA|
00001550  23 26 44 3a 53 54 41 28  26 37 32 29 2c 59 3a 42  |#&D:STA(&72),Y:B|
00001560  4e 45 65 6e 64 66 69 6c  65 3a 2e 63 6f 6e 74 66  |NEendfile:.contf|
00001570  69 6c 65 20 49 4e 59 3a  4a 4d 50 74 72 61 6e 73  |ile INY:JMPtrans|
00001580  6c 6f 6f 70 3a 2e 65 6e  64 66 69 6c 65 20 52 54  |loop:.endfile RT|
00001590  53 0d 01 72 d1 20 2e 65  72 72 6f 72 31 20 4c 44  |S..r. .error1 LD|
000015a0  41 23 28 6e 6f 74 66 6f  75 6e 64 20 83 32 35 36  |A#(notfound .256|
000015b0  29 3a 53 54 41 26 37 30  3a 4c 44 41 23 28 6e 6f  |):STA&70:LDA#(no|
000015c0  74 66 6f 75 6e 64 20 81  32 35 36 29 3a 53 54 41  |tfound .256):STA|
000015d0  26 37 31 3a 4a 4d 50 65  72 72 6f 72 3a 2e 65 72  |&71:JMPerror:.er|
000015e0  72 6f 72 32 20 4c 44 41  23 28 6e 6f 6d 6f 72 65  |ror2 LDA#(nomore|
000015f0  20 83 32 35 36 29 3a 53  54 41 26 37 30 3a 4c 44  | .256):STA&70:LD|
00001600  41 23 28 6e 6f 6d 6f 72  65 20 81 32 35 36 29 3a  |A#(nomore .256):|
00001610  53 54 41 26 37 31 3a 2e  65 72 72 6f 72 20 4c 44  |STA&71:.error LD|
00001620  59 23 30 3a 2e 70 72 69  6e 74 6c 6f 6f 70 20 4c  |Y#0:.printloop L|
00001630  44 41 28 26 37 30 29 2c  59 3a 49 4e 59 3a 4a 53  |DA(&70),Y:INY:JS|
00001640  52 4f 53 41 53 43 49 3a  43 4d 50 23 26 44 3a 42  |ROSASCI:CMP#&D:B|
00001650  4e 45 70 72 69 6e 74 6c  6f 6f 70 3a 4a 4d 50 72  |NEprintloop:JMPr|
00001660  65 74 0d 01 7c e6 20 2e  6e 6f 74 66 6f 75 6e 64  |et..|. .notfound|
00001670  20 45 51 55 53 22 4e 6f  74 20 66 6f 75 6e 64 22  | EQUS"Not found"|
00001680  3a 45 51 55 42 31 33 3a  2e 6e 6f 6d 6f 72 65 20  |:EQUB13:.nomore |
00001690  45 51 55 53 22 4e 6f 20  6d 6f 72 65 20 66 69 6c  |EQUS"No more fil|
000016a0  65 6e 61 6d 65 73 22 3a  45 51 55 42 31 33 3a 2e  |enames":EQUB13:.|
000016b0  6e 61 6d 65 4c 4f 20 45  51 55 42 6e 61 6d 65 73  |nameLO EQUBnames|
000016c0  20 83 32 35 36 3a 2e 6e  61 6d 65 48 49 20 45 51  | .256:.nameHI EQ|
000016d0  55 42 6e 61 6d 65 73 20  81 32 35 36 3a 2e 65 6e  |UBnames .256:.en|
000016e0  64 61 64 64 20 45 51 55  42 30 3a 2e 6f 73 66 69  |dadd EQUB0:.osfi|
000016f0  6c 65 4c 4f 20 45 51 55  42 30 3a 2e 6f 73 66 69  |leLO EQUB0:.osfi|
00001700  6c 65 48 49 20 45 51 55  42 30 3a 2e 6f 73 66 73  |leHI EQUB0:.osfs|
00001710  63 4c 4f 20 45 51 55 42  30 3a 2e 6f 73 66 73 63  |cLO EQUB0:.osfsc|
00001720  48 49 20 45 51 55 42 30  3a 2e 6f 73 62 79 74 65  |HI EQUB0:.osbyte|
00001730  4c 4f 20 45 51 55 42 30  3a 2e 6f 73 62 79 74 65  |LO EQUB0:.osbyte|
00001740  48 49 20 45 51 55 42 30  0d 01 81 53 20 2e 74 65  |HI EQUB0...S .te|
00001750  6d 70 73 74 6f 72 65 20  45 51 55 44 30 3a 45 51  |mpstore EQUD0:EQ|
00001760  55 57 30 3a 2e 6e 61 6d  65 73 3a 5d 3a 24 4f 25  |UW0:.names:]:$O%|
00001770  3d 66 69 6c 65 6e 61 6d  65 73 24 3a 4f 25 3d 4f  |=filenames$:O%=O|
00001780  25 2b a9 28 66 69 6c 65  6e 61 6d 65 73 24 29 2b  |%+.(filenames$)+|
00001790  31 3a 3f 28 4f 25 2d 31  29 3d 30 0d 01 86 8e 20  |1:?(O%-1)=0.... |
000017a0  62 61 6e 6b 31 3d 4f 25  3a 5b 4f 50 54 70 61 73  |bank1=O%:[OPTpas|
000017b0  73 2b 34 3a 4c 44 41 23  30 3a 53 54 41 26 46 34  |s+4:LDA#0:STA&F4|
000017c0  3a 53 54 41 26 46 45 30  35 3a 5d 3a 50 25 3d 4f  |:STA&FE05:]:P%=O|
000017d0  25 3a 5b 4f 50 54 70 61  73 73 2b 34 3a 52 54 53  |%:[OPTpass+4:RTS|
000017e0  3a 5d 3a 6f 73 62 79 74  65 3d 4f 25 3a 50 25 3d  |:]:osbyte=O%:P%=|
000017f0  4f 42 72 6f 75 74 69 6e  65 3a 5b 4f 50 54 70 61  |OBroutine:[OPTpa|
00001800  73 73 2b 34 3a 43 4d 50  23 31 34 30 3a 42 45 51  |ss+4:CMP#140:BEQ|
00001810  74 61 70 65 3a 4a 4d 50  26 30 30 30 30 3a 2e 74  |tape:JMP&0000:.t|
00001820  61 70 65 20 52 54 53 3a  5d 0d 01 90 bd 20 66 69  |ape RTS:].... fi|
00001830  6c 65 3d 4f 25 3a 50 25  3d 4f 46 49 4c 45 3a 5b  |le=O%:P%=OFILE:[|
00001840  4f 50 54 70 61 73 73 2b  34 3a 43 4c 43 3a 42 43  |OPTpass+4:CLC:BC|
00001850  43 6f 66 3a 2e 4f 46 53  43 20 53 45 43 3a 2e 6f  |Cof:.OFSC SEC:.o|
00001860  66 20 50 48 41 3a 5d 3a  62 61 6e 6b 32 3d 4f 25  |f PHA:]:bank2=O%|
00001870  3a 5b 4f 50 54 70 61 73  73 2b 34 3a 4c 44 41 23  |:[OPTpass+4:LDA#|
00001880  30 3a 53 54 41 26 46 34  3a 53 54 41 26 46 45 30  |0:STA&F4:STA&FE0|
00001890  35 3a 2e 65 6e 74 65 72  3a 5d 3a 50 25 3d 4f 25  |5:.enter:]:P%=O%|
000018a0  3a 5b 4f 50 54 70 61 73  73 2b 34 3a 52 54 53 3a  |:[OPTpass+4:RTS:|
000018b0  5d 3a 66 69 6c 65 72 65  74 3d 4f 25 3a 50 25 3d  |]:fileret=O%:P%=|
000018c0  42 41 43 4b 3a 5b 4f 50  54 70 61 73 73 2b 34 3a  |BACK:[OPTpass+4:|
000018d0  50 4c 41 3a 52 54 53 3a  5d 3a 66 72 65 74 65 6e  |PLA:RTS:]:freten|
000018e0  64 3d 4f 25 3a ed 0d ff                           |d=O%:...|
000018e8
Dloader4.m0
Dloader4.m1
Dloader4.m2
Dloader4.m4
Dloader4.m5