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

Dloader3

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: Dloader3
Read OK:
File size: 1844 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=&A000: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: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: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#&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: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: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=&A000: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
�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: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#&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: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: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 41 30 30 30 3a  66 69 6c 65 6e 61 6d 65  |e=&A000: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  56 20 2e 66 69 6c 65 72  |crout...V .filer|
00000b20  6f 75 74 20 4c 44 59 23  30 3a 4c 44 41 28 26 37  |out LDY#0:LDA(&7|
00000b30  34 29 2c 59 3a 54 41 58  3a 49 4e 59 3a 4c 44 41  |4),Y:TAX:INY:LDA|
00000b40  28 26 37 34 29 2c 59 3a  53 54 58 26 37 30 3a 53  |(&74),Y:STX&70:S|
00000b50  54 41 26 37 31 3a 44 45  59 3a 4a 53 52 66 69 6c  |TA&71:DEY:JSRfil|
00000b60  65 6e 61 6d 65 3a 4c 44  58 23 30 0d 00 d2 a9 20  |ename:LDX#0.... |
00000b70  2e 6c 6f 61 64 20 4c 44  41 23 30 3a 53 54 41 26  |.load LDA#0:STA&|
00000b80  37 30 3a 53 54 41 26 37  32 3a 4c 44 41 23 39 3a  |70:STA&72:LDA#9:|
00000b90  53 54 41 26 37 31 3a 4c  44 41 23 26 41 43 3a 53  |STA&71:LDA#&AC:S|
00000ba0  54 41 26 37 33 3a 4c 44  41 23 26 31 44 3a 53 54  |TA&73:LDA#&1D:ST|
00000bb0  41 65 6e 64 61 64 64 3a  4c 44 59 23 30 3a 4a 53  |Aendadd:LDY#0:JS|
00000bc0  52 6d 6f 76 65 6c 6f 6f  70 3a 4c 44 41 23 26 38  |Rmoveloop:LDA#&8|
00000bd0  39 3a 53 54 41 26 37 31  3a 4c 44 41 23 39 3a 53  |9:STA&71:LDA#9:S|
00000be0  54 41 26 37 33 3a 4c 44  41 23 26 39 44 3a 53 54  |TA&73:LDA#&9D:ST|
00000bf0  41 65 6e 64 61 64 64 3a  4c 44 59 23 30 3a 4a 53  |Aendadd:LDY#0:JS|
00000c00  52 6d 6f 76 65 6c 6f 6f  70 3a 4a 4d 50 6c 6f 61  |Rmoveloop:JMPloa|
00000c10  64 61 64 64 0d 00 dc 63  20 2e 6d 6f 76 65 6c 6f  |dadd...c .movelo|
00000c20  6f 70 20 4c 44 41 28 26  37 30 29 2c 59 3a 53 54  |op LDA(&70),Y:ST|
00000c30  41 28 26 37 32 29 2c 59  3a 49 4e 59 3a 42 4e 45  |A(&72),Y:INY:BNE|
00000c40  6d 6f 76 65 6c 6f 6f 70  3a 49 4e 43 26 37 31 3a  |moveloop:INC&71:|
00000c50  49 4e 43 26 37 33 3a 4c  44 41 26 37 31 3a 43 4d  |INC&73:LDA&71:CM|
00000c60  50 65 6e 64 61 64 64 3a  42 4e 45 6d 6f 76 65 6c  |Pendadd:BNEmovel|
00000c70  6f 6f 70 3a 52 54 53 0d  00 e6 e3 20 2e 6c 6f 61  |oop:RTS.... .loa|
00000c80  64 61 64 64 20 4c 44 41  23 30 3a 53 54 41 26 41  |dadd LDA#0:STA&A|
00000c90  30 30 3a 4c 44 41 23 26  42 3a 53 54 41 26 41 30  |00:LDA#&B:STA&A0|
00000ca0  31 3a 53 54 58 65 6e 64  61 64 64 3a 43 50 58 23  |1:STXendadd:CPX#|
00000cb0  31 3a 42 45 51 66 69 6e  64 61 64 64 3a 4c 44 41  |1:BEQfindadd:LDA|
00000cc0  23 30 3a 53 54 41 26 37  32 3a 4c 44 41 23 26 41  |#0:STA&72:LDA#&A|
00000cd0  3a 53 54 41 26 37 33 3a  4c 44 41 26 37 34 3a 53  |:STA&73:LDA&74:S|
00000ce0  54 41 26 37 30 3a 4c 44  41 23 33 3a 53 54 41 65  |TA&70:LDA#3:STAe|
00000cf0  6e 64 61 64 64 3a 4c 44  41 26 37 35 3a 4c 44 59  |ndadd:LDA&75:LDY|
00000d00  23 30 3a 2e 72 61 6d 20  43 4d 50 23 26 43 30 3a  |#0:.ram CMP#&C0:|
00000d10  42 4e 45 6e 6f 31 3a 4c  44 41 23 26 31 44 3a 4a  |BNEno1:LDA#&1D:J|
00000d20  4d 50 73 74 3a 2e 6e 6f  31 20 43 4d 50 23 26 31  |MPst:.no1 CMP#&1|
00000d30  44 3a 42 43 53 73 74 3a  43 4d 50 23 39 3a 42 43  |D:BCSst:CMP#9:BC|
00000d40  43 73 74 3a 43 4c 43 3a  41 44 43 23 26 41 33 3a  |Cst:CLC:ADC#&A3:|
00000d50  2e 73 74 20 53 54 41 26  37 31 0d 00 f0 5e 20 2e  |.st STA&71...^ .|
00000d60  74 72 20 4c 44 41 28 26  37 30 29 2c 59 3a 53 54  |tr LDA(&70),Y:ST|
00000d70  41 28 26 37 32 29 2c 59  3a 49 4e 43 26 37 32 3a  |A(&72),Y:INC&72:|
00000d80  4c 44 41 26 37 32 3a 43  4d 50 23 26 31 32 3a 42  |LDA&72:CMP#&12:B|
00000d90  45 51 65 78 65 63 3a 49  4e 43 26 37 30 3a 42 4e  |EQexec:INC&70:BN|
00000da0  45 74 72 3a 49 4e 43 26  37 31 3a 4c 44 41 26 37  |Etr:INC&71:LDA&7|
00000db0  31 3a 4a 4d 50 72 61 6d  0d 00 fa 68 20 2e 65 78  |1:JMPram...h .ex|
00000dc0  65 63 20 4c 44 41 23 30  3a 53 54 41 26 41 30 30  |ec LDA#0:STA&A00|
00000dd0  3a 4c 44 41 23 26 42 3a  53 54 41 26 41 30 31 3a  |:LDA#&B:STA&A01:|
00000de0  4c 44 41 26 41 30 36 3a  42 4e 45 66 69 6e 64 61  |LDA&A06:BNEfinda|
00000df0  64 64 3a 4c 44 41 26 41  30 32 3a 53 54 41 26 37  |dd:LDA&A02:STA&7|
00000e00  30 3a 4c 44 41 26 41 30  33 3a 53 54 41 26 37 31  |0:LDA&A03:STA&71|
00000e10  3a 4c 44 41 23 32 3a 53  54 41 65 6e 64 61 64 64  |:LDA#2:STAendadd|
00000e20  0d 01 04 af 20 2e 66 69  6e 64 61 64 64 20 4c 44  |.... .findadd LD|
00000e30  41 23 35 3a 4c 44 58 23  30 3a 4c 44 59 23 26 41  |A#5:LDX#0:LDY#&A|
00000e40  3a 4a 53 52 4f 53 46 49  4c 45 3a 43 4d 50 23 31  |:JSROSFILE:CMP#1|
00000e50  3a 42 45 51 72 75 6e 3a  4a 4d 50 65 72 72 6f 72  |:BEQrun:JMPerror|
00000e60  31 3a 2e 72 75 6e 20 4c  44 58 65 6e 64 61 64 64  |1:.run LDXendadd|
00000e70  3a 43 50 58 23 31 3a 42  4e 45 6c 61 64 64 72 3a  |:CPX#1:BNEladdr:|
00000e80  50 4c 41 3a 50 4c 41 3a  4c 44 58 26 41 30 36 3a  |PLA:PLA:LDX&A06:|
00000e90  4c 44 59 26 41 30 37 3a  44 45 58 3a 43 50 58 23  |LDY&A07:DEX:CPX#|
00000ea0  26 46 46 3a 42 4e 45 73  74 61 63 6b 3a 44 45 59  |&FF:BNEstack:DEY|
00000eb0  3a 2e 73 74 61 63 6b 20  54 59 41 3a 50 48 41 3a  |:.stack TYA:PHA:|
00000ec0  54 58 41 3a 50 48 41 3a  4a 4d 50 61 72 65 61 0d  |TXA:PHA:JMParea.|
00000ed0  01 0e 9e 20 2e 6c 61 64  64 72 20 43 50 58 23 32  |... .laddr CPX#2|
00000ee0  3a 42 4e 45 61 72 65 61  3a 4c 44 41 26 37 30 3a  |:BNEarea:LDA&70:|
00000ef0  53 54 41 26 41 30 32 3a  4c 44 41 26 37 31 3a 53  |STA&A02:LDA&71:S|
00000f00  54 41 26 41 30 33 3a 2e  61 72 65 61 20 4c 44 41  |TA&A03:.area LDA|
00000f10  26 41 30 33 3a 43 4d 50  23 26 31 44 3a 42 43 53  |&A03:CMP#&1D:BCS|
00000f20  6c 6f 61 64 32 3a 43 4d  50 23 39 3a 42 43 53 62  |load2:CMP#9:BCSb|
00000f30  79 74 65 6c 6f 61 64 3a  43 4c 43 3a 4c 44 41 26  |yteload:CLC:LDA&|
00000f40  41 30 32 3a 41 44 43 26  41 30 41 3a 4c 44 41 26  |A02:ADC&A0A:LDA&|
00000f50  41 30 33 3a 41 44 43 26  41 30 42 3a 43 4d 50 23  |A03:ADC&A0B:CMP#|
00000f60  39 3a 42 43 53 62 79 74  65 6c 6f 61 64 0d 01 18  |9:BCSbyteload...|
00000f70  31 20 2e 6c 6f 61 64 32  20 4c 44 41 23 26 46 46  |1 .load2 LDA#&FF|
00000f80  3a 4c 44 58 23 30 3a 4c  44 59 23 26 41 3a 4a 53  |:LDX#0:LDY#&A:JS|
00000f90  52 4f 53 46 49 4c 45 3a  4a 4d 50 65 6e 64 0d 01  |ROSFILE:JMPend..|
00000fa0  22 e9 20 2e 62 79 74 65  6c 6f 61 64 20 4c 44 41  |". .byteload LDA|
00000fb0  23 26 34 30 3a 4c 44 58  23 30 3a 4c 44 59 23 26  |#&40:LDX#0:LDY#&|
00000fc0  42 3a 4a 53 52 4f 53 46  49 4e 44 3a 43 4d 50 23  |B:JSROSFIND:CMP#|
00000fd0  30 3a 42 4e 45 6f 6b 3a  4a 4d 50 65 72 72 6f 72  |0:BNEok:JMPerror|
00000fe0  31 3a 2e 6f 6b 20 4c 44  41 26 41 30 32 3a 53 54  |1:.ok LDA&A02:ST|
00000ff0  41 26 37 30 3a 4c 44 41  26 41 30 33 3a 43 4d 50  |A&70:LDA&A03:CMP|
00001000  23 39 3a 42 43 43 6e 6f  72 6d 3a 43 4c 43 3a 41  |#9:BCCnorm:CLC:A|
00001010  44 43 23 26 41 33 3a 2e  6e 6f 72 6d 20 53 54 41  |DC#&A3:.norm STA|
00001020  26 37 31 3a 2e 62 67 65  74 20 43 4c 43 3a 4a 53  |&71:.bget CLC:JS|
00001030  52 4f 53 42 47 45 54 3a  42 43 53 65 6e 64 6c 6f  |ROSBGET:BCSendlo|
00001040  61 64 3a 53 54 41 28 26  37 30 2c 58 29 3a 49 4e  |ad:STA(&70,X):IN|
00001050  43 26 37 30 3a 42 4e 45  62 67 65 74 3a 49 4e 43  |C&70:BNEbget:INC|
00001060  26 37 31 3a 4c 44 41 26  37 31 3a 43 4d 50 23 26  |&71:LDA&71:CMP#&|
00001070  43 30 3a 42 45 51 73 75  62 3a 43 4d 50 23 39 3a  |C0:BEQsub:CMP#9:|
00001080  42 4e 45 62 67 65 74 0d  01 2c 50 20 4c 44 41 23  |BNEbget..,P LDA#|
00001090  26 41 43 3a 53 54 41 26  37 31 3a 42 4e 45 62 67  |&AC:STA&71:BNEbg|
000010a0  65 74 3a 2e 73 75 62 20  4c 44 41 23 26 31 44 3a  |et:.sub LDA#&1D:|
000010b0  53 54 41 26 37 31 3a 42  4e 45 62 67 65 74 3a 2e  |STA&71:BNEbget:.|
000010c0  65 6e 64 6c 6f 61 64 20  4c 44 41 23 30 3a 4a 53  |endload LDA#0:JS|
000010d0  52 4f 53 46 49 4e 44 0d  01 36 90 20 2e 65 6e 64  |ROSFIND..6. .end|
000010e0  20 4c 44 41 23 30 3a 53  54 41 26 37 30 3a 4c 44  | LDA#0:STA&70:LD|
000010f0  41 23 39 3a 53 54 41 26  37 31 3a 4c 44 41 23 26  |A#9:STA&71:LDA#&|
00001100  38 39 3a 53 54 41 26 37  33 3a 4c 44 41 23 26 31  |89:STA&73:LDA#&1|
00001110  44 3a 53 54 41 65 6e 64  61 64 64 3a 4c 44 59 23  |D:STAendadd:LDY#|
00001120  30 3a 4a 53 52 6d 6f 76  65 6c 6f 6f 70 3a 4c 44  |0:JSRmoveloop:LD|
00001130  41 23 26 41 43 3a 53 54  41 26 37 31 3a 4c 44 41  |A#&AC:STA&71:LDA|
00001140  23 39 3a 53 54 41 26 37  33 3a 4c 44 41 23 26 43  |#9:STA&73:LDA#&C|
00001150  30 3a 53 54 41 65 6e 64  61 64 64 3a 4a 53 52 6d  |0:STAendadd:JSRm|
00001160  6f 76 65 6c 6f 6f 70 0d  01 40 df 20 2e 72 65 74  |oveloop..@. .ret|
00001170  20 4a 53 52 76 65 63 74  6f 72 73 32 3a 4a 4d 50  | JSRvectors2:JMP|
00001180  76 61 72 73 3a 5d 3a 76  65 63 74 6f 72 73 3d 4f  |vars:]:vectors=O|
00001190  25 3a 5b 4f 50 54 70 61  73 73 2b 34 3a 2e 76 65  |%:[OPTpass+4:.ve|
000011a0  63 74 6f 72 73 32 20 4c  44 41 23 28 4f 42 72 6f  |ctors2 LDA#(OBro|
000011b0  75 74 69 6e 65 20 83 32  35 36 29 3a 53 54 41 26  |utine .256):STA&|
000011c0  32 30 41 3a 4c 44 41 23  28 4f 42 72 6f 75 74 69  |20A:LDA#(OBrouti|
000011d0  6e 65 20 81 32 35 36 29  3a 53 54 41 26 32 30 42  |ne .256):STA&20B|
000011e0  3a 4c 44 41 23 28 4f 46  49 4c 45 20 83 32 35 36  |:LDA#(OFILE .256|
000011f0  29 3a 53 54 41 26 32 31  32 3a 4c 44 41 23 28 4f  |):STA&212:LDA#(O|
00001200  46 49 4c 45 20 81 32 35  36 29 3a 53 54 41 26 32  |FILE .256):STA&2|
00001210  31 33 3a 4c 44 41 23 28  4f 46 53 43 20 83 32 35  |13:LDA#(OFSC .25|
00001220  36 29 3a 53 54 41 26 32  31 45 3a 4c 44 41 23 28  |6):STA&21E:LDA#(|
00001230  4f 46 53 43 20 81 32 35  36 29 3a 53 54 41 26 32  |OFSC .256):STA&2|
00001240  31 46 3a 52 54 53 0d 01  4a 84 20 2e 76 61 72 73  |1F:RTS..J. .vars|
00001250  20 4c 44 59 26 37 35 3a  4c 44 58 26 37 34 3a 53  | LDY&75:LDX&74:S|
00001260  54 58 65 6e 64 61 64 64  3a 4c 44 58 23 30 3a 2e  |TXendadd:LDX#0:.|
00001270  6c 6f 61 64 76 61 72 73  20 4c 44 41 74 65 6d 70  |loadvars LDAtemp|
00001280  73 74 6f 72 65 2c 58 3a  53 54 41 26 37 30 2c 58  |store,X:STA&70,X|
00001290  3a 49 4e 58 3a 43 50 58  23 36 3a 42 4e 45 6c 6f  |:INX:CPX#6:BNElo|
000012a0  61 64 76 61 72 73 3a 4c  44 58 65 6e 64 61 64 64  |advars:LDXendadd|
000012b0  3a 4a 4d 50 20 42 41 43  4b 2d 28 6f 73 62 79 74  |:JMP BACK-(osbyt|
000012c0  65 2d 62 61 6e 6b 31 2d  31 29 0d 01 54 8e 20 2e  |e-bank1-1)..T. .|
000012d0  66 73 63 72 6f 75 74 20  50 4c 41 3a 50 48 41 3a  |fscrout PLA:PHA:|
000012e0  42 45 51 72 65 74 3a 43  4d 50 23 34 3a 42 45 51  |BEQret:CMP#4:BEQ|
000012f0  66 73 63 3a 4a 53 52 6f  6c 64 4f 53 46 53 43 3a  |fsc:JSRoldOSFSC:|
00001300  4a 4d 50 72 65 74 3a 2e  66 73 63 20 4c 44 41 26  |JMPret:.fsc LDA&|
00001310  37 34 3a 53 54 41 26 37  30 3a 4c 44 41 26 37 35  |74:STA&70:LDA&75|
00001320  3a 53 54 41 26 37 31 3a  4a 53 52 66 69 6c 65 6e  |:STA&71:JSRfilen|
00001330  61 6d 65 3a 4c 44 58 23  31 3a 4a 4d 50 6c 6f 61  |ame:LDX#1:JMPloa|
00001340  64 3a 2e 6f 6c 64 4f 53  46 53 43 20 4a 4d 50 28  |d:.oldOSFSC JMP(|
00001350  6f 73 66 73 63 4c 4f 29  0d 01 5e ca 20 2e 66 69  |osfscLO)..^. .fi|
00001360  6c 65 6e 61 6d 65 20 4c  44 59 23 30 3a 4c 44 41  |lename LDY#0:LDA|
00001370  28 26 37 30 29 2c 59 3a  43 4d 50 23 26 44 3a 42  |(&70),Y:CMP#&D:B|
00001380  4e 45 6e 6f 74 7a 65 72  6f 3a 43 4d 50 23 26 32  |NEnotzero:CMP#&2|
00001390  30 3a 42 4e 45 6e 6f 74  7a 65 72 6f 3a 4a 53 52  |0:BNEnotzero:JSR|
000013a0  6e 61 6d 65 3a 2e 6e 6f  74 7a 65 72 6f 20 4c 44  |name:.notzero LD|
000013b0  41 23 30 3a 53 54 41 26  37 32 3a 4c 44 41 23 26  |A#0:STA&72:LDA#&|
000013c0  38 42 3a 53 54 41 26 37  33 3a 2e 74 72 61 6e 73  |8B:STA&73:.trans|
000013d0  6c 6f 6f 70 20 4c 44 41  28 26 37 30 29 2c 59 3a  |loop LDA(&70),Y:|
000013e0  53 54 41 28 26 37 32 29  2c 59 3a 43 4d 50 23 26  |STA(&72),Y:CMP#&|
000013f0  44 3a 42 45 51 65 6e 64  66 69 6c 65 3a 43 4d 50  |D:BEQendfile:CMP|
00001400  23 26 32 30 3a 42 4e 45  63 6f 6e 74 66 69 6c 65  |#&20:BNEcontfile|
00001410  3a 4c 44 41 23 26 44 3a  53 54 41 28 26 37 32 29  |:LDA#&D:STA(&72)|
00001420  2c 59 0d 01 68 eb 20 42  4e 45 65 6e 64 66 69 6c  |,Y..h. BNEendfil|
00001430  65 3a 2e 63 6f 6e 74 66  69 6c 65 20 49 4e 59 3a  |e:.contfile INY:|
00001440  4a 4d 50 74 72 61 6e 73  6c 6f 6f 70 3a 2e 65 6e  |JMPtransloop:.en|
00001450  64 66 69 6c 65 20 52 54  53 3a 2e 6e 61 6d 65 20  |dfile RTS:.name |
00001460  4c 44 41 6e 61 6d 65 4c  4f 3a 53 54 41 26 37 30  |LDAnameLO:STA&70|
00001470  3a 53 54 41 26 37 32 3a  4c 44 41 6e 61 6d 65 48  |:STA&72:LDAnameH|
00001480  49 3a 53 54 41 26 37 31  3a 53 54 41 26 37 33 3a  |I:STA&71:STA&73:|
00001490  4c 44 41 28 26 37 30 29  2c 59 3a 43 4d 50 23 30  |LDA(&70),Y:CMP#0|
000014a0  3a 42 4e 45 6f 6b 32 3a  4a 4d 50 65 72 72 6f 72  |:BNEok2:JMPerror|
000014b0  32 3a 2e 6f 6b 32 20 4c  44 41 28 26 37 32 29 2c  |2:.ok2 LDA(&72),|
000014c0  59 3a 49 4e 43 26 37 32  3a 42 4e 45 6e 6f 3a 49  |Y:INC&72:BNEno:I|
000014d0  4e 43 26 37 33 3a 2e 6e  6f 20 43 4d 50 23 26 44  |NC&73:.no CMP#&D|
000014e0  3a 42 4e 45 6f 6b 32 3a  4c 44 41 26 37 32 3a 53  |:BNEok2:LDA&72:S|
000014f0  54 41 6e 61 6d 65 4c 4f  3a 4c 44 41 26 37 33 3a  |TAnameLO:LDA&73:|
00001500  53 54 41 6e 61 6d 65 48  49 3a 52 54 53 0d 01 72  |STAnameHI:RTS..r|
00001510  d1 20 2e 65 72 72 6f 72  31 20 4c 44 41 23 28 6e  |. .error1 LDA#(n|
00001520  6f 74 66 6f 75 6e 64 20  83 32 35 36 29 3a 53 54  |otfound .256):ST|
00001530  41 26 37 30 3a 4c 44 41  23 28 6e 6f 74 66 6f 75  |A&70:LDA#(notfou|
00001540  6e 64 20 81 32 35 36 29  3a 53 54 41 26 37 31 3a  |nd .256):STA&71:|
00001550  4a 4d 50 65 72 72 6f 72  3a 2e 65 72 72 6f 72 32  |JMPerror:.error2|
00001560  20 4c 44 41 23 28 6e 6f  6d 6f 72 65 20 83 32 35  | LDA#(nomore .25|
00001570  36 29 3a 53 54 41 26 37  30 3a 4c 44 41 23 28 6e  |6):STA&70:LDA#(n|
00001580  6f 6d 6f 72 65 20 81 32  35 36 29 3a 53 54 41 26  |omore .256):STA&|
00001590  37 31 3a 2e 65 72 72 6f  72 20 4c 44 59 23 30 3a  |71:.error LDY#0:|
000015a0  2e 70 72 69 6e 74 6c 6f  6f 70 20 4c 44 41 28 26  |.printloop LDA(&|
000015b0  37 30 29 2c 59 3a 49 4e  59 3a 4a 53 52 4f 53 41  |70),Y:INY:JSROSA|
000015c0  53 43 49 3a 43 4d 50 23  26 44 3a 42 4e 45 70 72  |SCI:CMP#&D:BNEpr|
000015d0  69 6e 74 6c 6f 6f 70 3a  4a 4d 50 72 65 74 0d 01  |intloop:JMPret..|
000015e0  7c c6 20 2e 6e 6f 74 66  6f 75 6e 64 20 45 51 55  ||. .notfound EQU|
000015f0  53 22 4e 6f 74 20 66 6f  75 6e 64 22 3a 45 51 55  |S"Not found":EQU|
00001600  42 31 33 3a 2e 6e 6f 6d  6f 72 65 20 45 51 55 53  |B13:.nomore EQUS|
00001610  22 4e 6f 20 6d 6f 72 65  20 66 69 6c 65 6e 61 6d  |"No more filenam|
00001620  65 73 22 3a 45 51 55 42  31 33 3a 2e 6e 61 6d 65  |es":EQUB13:.name|
00001630  4c 4f 20 45 51 55 42 6e  61 6d 65 73 20 83 32 35  |LO EQUBnames .25|
00001640  36 3a 2e 6e 61 6d 65 48  49 20 45 51 55 42 6e 61  |6:.nameHI EQUBna|
00001650  6d 65 73 20 81 32 35 36  3a 2e 65 6e 64 61 64 64  |mes .256:.endadd|
00001660  20 45 51 55 42 30 3a 2e  6f 73 66 69 6c 65 4c 4f  | EQUB0:.osfileLO|
00001670  20 45 51 55 42 30 3a 2e  6f 73 66 69 6c 65 48 49  | EQUB0:.osfileHI|
00001680  20 45 51 55 42 30 3a 2e  6f 73 66 73 63 4c 4f 20  | EQUB0:.osfscLO |
00001690  45 51 55 42 30 3a 2e 6f  73 66 73 63 48 49 20 45  |EQUB0:.osfscHI E|
000016a0  51 55 42 30 0d 01 81 53  20 2e 74 65 6d 70 73 74  |QUB0...S .tempst|
000016b0  6f 72 65 20 45 51 55 44  30 3a 45 51 55 57 30 3a  |ore EQUD0:EQUW0:|
000016c0  2e 6e 61 6d 65 73 3a 5d  3a 24 4f 25 3d 66 69 6c  |.names:]:$O%=fil|
000016d0  65 6e 61 6d 65 73 24 3a  4f 25 3d 4f 25 2b a9 28  |enames$:O%=O%+.(|
000016e0  66 69 6c 65 6e 61 6d 65  73 24 29 2b 31 3a 3f 28  |filenames$)+1:?(|
000016f0  4f 25 2d 31 29 3d 30 0d  01 86 8e 20 62 61 6e 6b  |O%-1)=0.... bank|
00001700  31 3d 4f 25 3a 5b 4f 50  54 70 61 73 73 2b 34 3a  |1=O%:[OPTpass+4:|
00001710  4c 44 41 23 30 3a 53 54  41 26 46 34 3a 53 54 41  |LDA#0:STA&F4:STA|
00001720  26 46 45 30 35 3a 5d 3a  50 25 3d 4f 25 3a 5b 4f  |&FE05:]:P%=O%:[O|
00001730  50 54 70 61 73 73 2b 34  3a 52 54 53 3a 5d 3a 6f  |PTpass+4:RTS:]:o|
00001740  73 62 79 74 65 3d 4f 25  3a 50 25 3d 4f 42 72 6f  |sbyte=O%:P%=OBro|
00001750  75 74 69 6e 65 3a 5b 4f  50 54 70 61 73 73 2b 34  |utine:[OPTpass+4|
00001760  3a 43 4d 50 23 31 34 30  3a 42 45 51 74 61 70 65  |:CMP#140:BEQtape|
00001770  3a 4a 4d 50 26 30 30 30  30 3a 2e 74 61 70 65 20  |:JMP&0000:.tape |
00001780  52 54 53 3a 5d 0d 01 90  bd 20 66 69 6c 65 3d 4f  |RTS:].... file=O|
00001790  25 3a 50 25 3d 4f 46 49  4c 45 3a 5b 4f 50 54 70  |%:P%=OFILE:[OPTp|
000017a0  61 73 73 2b 34 3a 43 4c  43 3a 42 43 43 6f 66 3a  |ass+4:CLC:BCCof:|
000017b0  2e 4f 46 53 43 20 53 45  43 3a 2e 6f 66 20 50 48  |.OFSC SEC:.of PH|
000017c0  41 3a 5d 3a 62 61 6e 6b  32 3d 4f 25 3a 5b 4f 50  |A:]:bank2=O%:[OP|
000017d0  54 70 61 73 73 2b 34 3a  4c 44 41 23 30 3a 53 54  |Tpass+4:LDA#0:ST|
000017e0  41 26 46 34 3a 53 54 41  26 46 45 30 35 3a 2e 65  |A&F4:STA&FE05:.e|
000017f0  6e 74 65 72 3a 5d 3a 50  25 3d 4f 25 3a 5b 4f 50  |nter:]:P%=O%:[OP|
00001800  54 70 61 73 73 2b 34 3a  52 54 53 3a 5d 3a 66 69  |Tpass+4:RTS:]:fi|
00001810  6c 65 72 65 74 3d 4f 25  3a 50 25 3d 42 41 43 4b  |leret=O%:P%=BACK|
00001820  3a 5b 4f 50 54 70 61 73  73 2b 34 3a 50 4c 41 3a  |:[OPTpass+4:PLA:|
00001830  52 54 53 3a 5d 3a 66 72  65 74 65 6e 64 3d 4f 25  |RTS:]:fretend=O%|
00001840  3a ed 0d ff                                       |:...|
00001844
Dloader3.m0
Dloader3.m1
Dloader3.m2
Dloader3.m4
Dloader3.m5