Home » Personal collection » Acorn ADFS disks » Electron » Electron_disk_loader_A.ADF » Dload
Dload
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: | Dload |
Read OK: | ✔ |
File size: | 1AC4 bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Electron » Electron_disk_loader_A.ADF » Dload
- Personal collection » Acorn ADFS disks » Electron » Electron_disk_loader_B.ADF » Dload
- Personal collection » Acorn hard disk » zipped_disks » elk07 » discload/Dload
File contents
1 REM TAPE -> ADFS L O A D E R by M. FORD , 15/2/94 2 filenames$="CRAZEE"+CHR$13+"CRAZEER"+CHR$13 5 OFILE=&AA3A:BACK=&8034:OBroutine=&8012:B2routine=&A000 6 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3 10 FORpass=0 TO 2 STEP 2:P%=&3000:[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+19:LDA&20B:STAOBroutine+20:JSRbank2:LDA&20A:STAosbyteLO:LDA&20B:STAosbyteHI:LDA&212:STAosfileLO:LDA&213:STAosfileHI:LDA&21E:STAosfscLO:LDA&21F:STAosfscHI:JSRvectors:JSRbank1:LDA#0:STA&FCDD: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: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:CMP#2:BEQfsc:JSRoldOSFSC:LDA&70:STA&10D5:LDA&71:STA&DCC:LDA&72:STA&DCD:LDA&73:STA&DCE:JMPret:.fsc LDA&74:STA&70:LDA&75:STA&71:JSRfilename:LDX#1:JMPload 345 .oldOSFSC LDA&10D5:STA&70:LDA&DCC:STA&71:LDA&DCD:STA&72:LDA&DCE:STA&73:LDA#&60:STA&DCC:LDA#&9E:STA&DCD:LDA#4:STA&DCE:PLA:PHA: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:PLA:PLA: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:PHA:LDAOBroutine+19:STA&20A:LDAOBroutine+20:STA&20B:PLA:JSR&0000 395 PHA:LDA#(OBroutine MOD256):STA&20A:LDA#(OBroutine DIV256):STA&20B:PLA:.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 410 PRINT"Save (Y/N)?":A$=GET$:IF A$="Y" THEN OSCLI"SAVE DL 3000 "+STR$~O%
K � TAPE -> ADFS L O A D E R by M. FORD , 15/2/94 * filenames$="CRAZEE"+�13+"CRAZEER"+�13 ; OFILE=&AA3A:BACK=&8034:OBroutine=&8012:B2routine=&A000 8 OSFILE=&FFDD:OSBGET=&FFD7:OSFIND=&FFCE:OSASCI=&FFE3 & �pass=0 � 2 � 2:P%=&3000:[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+19:LDA&20B:STAOBroutine+20:JSRbank2:LDA&20A:STAosbyteLO:LDA&20B:STAosbyteHI:LDA&212:STAosfileLO:LDA&213:STAosfileHI:LDA&21E:STAosfscLO:LDA&21F:STAosfscHI:JSRvectors:JSRbank1:LDA#0:STA&FCDD: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: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:CMP#2:BEQfsc:JSRoldOSFSC:LDA&70:STA&10D5:LDA&71:STA&DCC:LDA&72:STA&DCD:LDA&73:STA&DCE:JMPret:.fsc LDA&74:STA&70:LDA&75:STA&71:JSRfilename:LDX#1:JMPload Y� .oldOSFSC LDA&10D5:STA&70:LDA&DCC:STA&71:LDA&DCD:STA&72:LDA&DCE:STA&73:LDA#&60:STA&DCC:LDA#&9E:STA&DCD:LDA#4:STA&DCE:PLA:PHA: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:PLA:PLA: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:PHA:LDAOBroutine+19:STA&20A:LDAOBroutine+20:STA&20B:PLA:JSR&0000 �R PHA:LDA#(OBroutine �256):STA&20A:LDA#(OBroutine �256):STA&20B:PLA:.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%:� �9 �"Save (Y/N)?":A$=�:� A$="Y" � �"SAVE DL 3000 "+�~O% �
00000000 0d 00 01 4b 20 f4 20 20 20 20 54 41 50 45 20 2d |...K . TAPE -| 00000010 3e 20 41 44 46 53 20 20 20 4c 20 4f 20 41 20 44 |> ADFS L O A D| 00000020 20 45 20 52 20 20 20 20 20 20 20 20 20 20 20 20 | E R | 00000030 20 20 20 20 20 62 79 20 20 4d 2e 20 46 4f 52 44 | by M. FORD| 00000040 20 2c 20 31 35 2f 32 2f 39 34 20 0d 00 02 2a 20 | , 15/2/94 ...* | 00000050 66 69 6c 65 6e 61 6d 65 73 24 3d 22 43 52 41 5a |filenames$="CRAZ| 00000060 45 45 22 2b bd 31 33 2b 22 43 52 41 5a 45 45 52 |EE"+.13+"CRAZEER| 00000070 22 2b bd 31 33 0d 00 05 3b 20 4f 46 49 4c 45 3d |"+.13...; OFILE=| 00000080 26 41 41 33 41 3a 42 41 43 4b 3d 26 38 30 33 34 |&AA3A:BACK=&8034| 00000090 3a 4f 42 72 6f 75 74 69 6e 65 3d 26 38 30 31 32 |:OBroutine=&8012| 000000a0 3a 42 32 72 6f 75 74 69 6e 65 3d 26 41 30 30 30 |:B2routine=&A000| 000000b0 0d 00 06 38 20 4f 53 46 49 4c 45 3d 26 46 46 44 |...8 OSFILE=&FFD| 000000c0 44 3a 4f 53 42 47 45 54 3d 26 46 46 44 37 3a 4f |D:OSBGET=&FFD7:O| 000000d0 53 46 49 4e 44 3d 26 46 46 43 45 3a 4f 53 41 53 |SFIND=&FFCE:OSAS| 000000e0 43 49 3d 26 46 46 45 33 0d 00 0a 26 20 e3 70 61 |CI=&FFE3...& .pa| 000000f0 73 73 3d 30 20 b8 20 32 20 88 20 32 3a 50 25 3d |ss=0 . 2 . 2:P%=| 00000100 26 33 30 30 30 3a 5b 4f 50 54 70 61 73 73 0d 00 |&3000:[OPTpass..| 00000110 14 66 20 4c 44 41 23 30 3a 53 54 41 26 46 43 44 |.f LDA#0:STA&FCD| 00000120 43 3a 53 54 41 26 46 43 44 45 3a 4c 44 41 23 31 |C:STA&FCDE:LDA#1| 00000130 35 3a 53 54 41 26 46 34 3a 53 54 41 26 46 45 30 |5:STA&F4:STA&FE0| 00000140 35 3a 4c 44 58 23 32 3a 53 45 49 3a 2e 74 65 73 |5:LDX#2:SEI:.tes| 00000150 74 20 54 58 41 3a 53 54 41 26 46 34 3a 53 54 41 |t TXA:STA&F4:STA| 00000160 26 46 45 30 35 3a 4c 44 41 23 30 3a 4c 44 41 26 |&FE05:LDA#0:LDA&| 00000170 38 38 30 30 0d 00 1e 37 20 49 4e 43 26 38 38 30 |8800...7 INC&880| 00000180 30 3a 43 4d 50 26 38 38 30 30 3a 42 4e 45 66 6f |0:CMP&8800:BNEfo| 00000190 75 6e 64 3a 44 45 58 3a 44 45 58 3a 42 50 4c 74 |und:DEX:DEX:BPLt| 000001a0 65 73 74 3a 4c 44 58 23 26 46 46 0d 00 28 32 20 |est:LDX#&FF..(2 | 000001b0 2e 66 6f 75 6e 64 20 44 45 43 26 38 38 30 30 3a |.found DEC&8800:| 000001c0 43 4c 49 3a 53 54 58 62 61 6e 6b 31 2b 31 3a 49 |CLI:STXbank1+1:I| 000001d0 4e 58 3a 53 54 58 62 61 6e 6b 32 2b 31 0d 00 32 |NX:STXbank2+1..2| 000001e0 ef 20 2e 42 41 53 49 43 72 6f 6d 20 4c 44 41 23 |. .BASICrom LDA#| 000001f0 31 31 3a 53 54 41 26 46 34 3a 53 54 41 26 46 45 |11:STA&F4:STA&FE| 00000200 30 35 3a 4c 44 41 23 30 3a 53 54 41 26 37 30 3a |05:LDA#0:STA&70:| 00000210 53 54 41 26 37 32 3a 53 54 41 26 37 34 3a 4c 44 |STA&72:STA&74:LD| 00000220 41 23 26 38 30 3a 53 54 41 26 37 31 3a 4c 44 41 |A#&80:STA&71:LDA| 00000230 23 26 34 30 3a 53 54 41 26 37 33 3a 4c 44 41 23 |#&40:STA&73:LDA#| 00000240 26 41 30 3a 53 54 41 26 37 35 3a 4a 53 52 6d 6f |&A0:STA&75:JSRmo| 00000250 76 65 6c 6f 6f 70 32 3a 4c 44 41 23 31 35 3a 53 |veloop2:LDA#15:S| 00000260 54 41 26 46 34 3a 53 54 41 26 46 45 30 35 3a 4a |TA&F4:STA&FE05:J| 00000270 53 52 62 61 6e 6b 31 3a 4c 44 41 23 30 3a 53 54 |SRbank1:LDA#0:ST| 00000280 41 26 37 30 3a 53 54 41 26 37 32 3a 53 54 41 26 |A&70:STA&72:STA&| 00000290 37 34 3a 4c 44 41 23 26 34 30 3a 53 54 41 26 37 |74:LDA#&40:STA&7| 000002a0 31 3a 4c 44 41 23 26 38 30 3a 53 54 41 26 37 33 |1:LDA#&80:STA&73| 000002b0 3a 4c 44 41 23 26 36 30 3a 53 54 41 26 37 35 3a |:LDA#&60:STA&75:| 000002c0 4a 53 52 6d 6f 76 65 6c 6f 6f 70 32 0d 00 3c e4 |JSRmoveloop2..<.| 000002d0 4c 44 41 23 31 31 3a 53 54 41 26 46 34 3a 53 54 |LDA#11:STA&F4:ST| 000002e0 41 26 46 45 30 35 3a 4c 44 41 23 30 3a 53 54 41 |A&FE05:LDA#0:STA| 000002f0 26 37 30 3a 53 54 41 26 37 32 3a 53 54 41 26 37 |&70:STA&72:STA&7| 00000300 34 3a 4c 44 41 23 26 41 30 3a 53 54 41 26 37 31 |4:LDA#&A0:STA&71| 00000310 3a 4c 44 41 23 26 34 30 3a 53 54 41 26 37 33 3a |:LDA#&40:STA&73:| 00000320 4c 44 41 23 26 43 30 3a 53 54 41 26 37 35 3a 4a |LDA#&C0:STA&75:J| 00000330 53 52 6d 6f 76 65 6c 6f 6f 70 32 3a 4c 44 41 23 |SRmoveloop2:LDA#| 00000340 31 35 3a 53 54 41 26 46 34 3a 53 54 41 26 46 45 |15:STA&F4:STA&FE| 00000350 30 35 3a 4a 53 52 62 61 6e 6b 31 3a 4c 44 41 23 |05:JSRbank1:LDA#| 00000360 30 3a 53 54 41 26 37 30 3a 53 54 41 26 37 32 3a |0:STA&70:STA&72:| 00000370 53 54 41 26 37 34 3a 4c 44 41 23 26 34 30 3a 53 |STA&74:LDA#&40:S| 00000380 54 41 26 37 31 3a 4c 44 41 23 26 41 30 3a 53 54 |TA&71:LDA#&A0:ST| 00000390 41 26 37 33 3a 4c 44 41 23 26 36 30 3a 53 54 41 |A&73:LDA#&60:STA| 000003a0 26 37 35 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 32 |&75:JSRmoveloop2| 000003b0 0d 00 46 aa 20 2e 62 61 6e 6b 32 65 6e 74 72 79 |..F. .bank2entry| 000003c0 20 4a 53 52 62 61 6e 6b 32 3a 4c 44 41 23 28 65 | JSRbank2:LDA#(e| 000003d0 6e 74 65 72 20 83 32 35 36 29 3a 53 54 41 26 37 |nter .256):STA&7| 000003e0 30 3a 4c 44 41 23 28 65 6e 74 65 72 20 81 32 35 |0:LDA#(enter .25| 000003f0 36 29 3a 53 54 41 26 37 31 3a 4c 44 59 23 30 3a |6):STA&71:LDY#0:| 00000400 4c 44 41 23 26 34 43 3a 53 54 41 28 26 37 30 29 |LDA#&4C:STA(&70)| 00000410 2c 59 3a 49 4e 59 3a 4c 44 41 23 28 42 32 72 6f |,Y:INY:LDA#(B2ro| 00000420 75 74 69 6e 65 20 83 32 35 36 29 3a 53 54 41 28 |utine .256):STA(| 00000430 26 37 30 29 2c 59 3a 49 4e 59 3a 4c 44 41 23 28 |&70),Y:INY:LDA#(| 00000440 42 32 72 6f 75 74 69 6e 65 20 81 32 35 36 29 3a |B2routine .256):| 00000450 53 54 41 28 26 37 30 29 2c 59 0d 00 50 b4 20 2e |STA(&70),Y..P. .| 00000460 62 61 6e 6b 32 6d 61 69 6e 20 4c 44 41 23 28 73 |bank2main LDA#(s| 00000470 74 61 72 74 20 83 32 35 36 29 3a 53 54 41 26 37 |tart .256):STA&7| 00000480 30 3a 4c 44 41 23 28 73 74 61 72 74 20 81 32 35 |0:LDA#(start .25| 00000490 36 29 3a 53 54 41 26 37 31 3a 4c 44 41 23 28 62 |6):STA&71:LDA#(b| 000004a0 61 6e 6b 31 20 83 32 35 36 29 3a 53 54 41 26 37 |ank1 .256):STA&7| 000004b0 34 3a 4c 44 41 23 28 62 61 6e 6b 31 20 81 32 35 |4:LDA#(bank1 .25| 000004c0 36 29 3a 53 54 41 26 37 35 3a 4c 44 41 23 28 42 |6):STA&75:LDA#(B| 000004d0 32 72 6f 75 74 69 6e 65 20 83 32 35 36 29 3a 53 |2routine .256):S| 000004e0 54 41 26 37 32 3a 4c 44 41 23 28 42 32 72 6f 75 |TA&72:LDA#(B2rou| 000004f0 74 69 6e 65 20 81 32 35 36 29 3a 53 54 41 26 37 |tine .256):STA&7| 00000500 33 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 32 0d 00 |3:JSRmoveloop2..| 00000510 5a 61 20 2e 41 44 46 53 64 61 74 61 20 4c 44 41 |Za .ADFSdata LDA| 00000520 23 30 3a 53 54 41 26 37 30 3a 53 54 41 26 37 32 |#0:STA&70:STA&72| 00000530 3a 53 54 41 26 37 34 3a 4c 44 41 23 39 3a 53 54 |:STA&74:LDA#9:ST| 00000540 41 26 37 31 3a 4c 44 41 23 26 38 39 3a 53 54 41 |A&71:LDA#&89:STA| 00000550 26 37 33 3a 4c 44 41 23 26 31 44 3a 53 54 41 26 |&73:LDA#&1D:STA&| 00000560 37 35 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 32 0d |75:JSRmoveloop2.| 00000570 00 64 d7 20 2e 62 31 72 65 74 75 72 6e 20 4c 44 |.d. .b1return LD| 00000580 41 23 28 62 61 6e 6b 31 20 83 32 35 36 29 3a 53 |A#(bank1 .256):S| 00000590 54 41 26 37 30 3a 4c 44 41 23 28 62 61 6e 6b 31 |TA&70:LDA#(bank1| 000005a0 20 81 32 35 36 29 3a 53 54 41 26 37 31 3a 4c 44 | .256):STA&71:LD| 000005b0 41 23 28 42 41 43 4b 2d 28 6f 73 62 79 74 65 2d |A#(BACK-(osbyte-| 000005c0 62 61 6e 6b 31 2d 31 29 29 20 83 32 35 36 29 3a |bank1-1)) .256):| 000005d0 53 54 41 26 37 32 3a 4c 44 41 23 28 42 41 43 4b |STA&72:LDA#(BACK| 000005e0 2d 28 6f 73 62 79 74 65 2d 62 61 6e 6b 31 2d 31 |-(osbyte-bank1-1| 000005f0 29 29 20 81 32 35 36 29 3a 53 54 41 26 37 33 3a |)) .256):STA&73:| 00000600 4c 44 41 23 28 28 6f 73 62 79 74 65 2d 31 29 20 |LDA#((osbyte-1) | 00000610 83 32 35 36 29 3a 53 54 41 26 37 34 3a 4c 44 41 |.256):STA&74:LDA| 00000620 23 28 28 6f 73 62 79 74 65 2d 31 29 20 81 32 35 |#((osbyte-1) .25| 00000630 36 29 3a 53 54 41 26 37 35 3a 4a 53 52 6d 6f 76 |6):STA&75:JSRmov| 00000640 65 6c 6f 6f 70 32 0d 00 6e bc 20 2e 62 31 6f 73 |eloop2..n. .b1os| 00000650 62 79 74 65 20 4a 53 52 62 61 6e 6b 31 3a 4c 44 |byte JSRbank1:LD| 00000660 41 23 28 6f 73 62 79 74 65 20 83 32 35 36 29 3a |A#(osbyte .256):| 00000670 53 54 41 26 37 30 3a 4c 44 41 23 28 6f 73 62 79 |STA&70:LDA#(osby| 00000680 74 65 20 81 32 35 36 29 3a 53 54 41 26 37 31 3a |te .256):STA&71:| 00000690 4c 44 41 23 28 4f 42 72 6f 75 74 69 6e 65 20 83 |LDA#(OBroutine .| 000006a0 32 35 36 29 3a 53 54 41 26 37 32 3a 4c 44 41 23 |256):STA&72:LDA#| 000006b0 28 4f 42 72 6f 75 74 69 6e 65 20 81 32 35 36 29 |(OBroutine .256)| 000006c0 3a 53 54 41 26 37 33 3a 4c 44 41 23 28 66 69 6c |:STA&73:LDA#(fil| 000006d0 65 20 83 32 35 36 29 3a 53 54 41 26 37 34 3a 4c |e .256):STA&74:L| 000006e0 44 41 23 28 66 69 6c 65 20 81 32 35 36 29 3a 53 |DA#(file .256):S| 000006f0 54 41 26 37 35 3a 4a 53 52 6d 6f 76 65 6c 6f 6f |TA&75:JSRmoveloo| 00000700 70 32 0d 00 78 ad 20 2e 62 31 6f 73 66 69 6c 65 |p2..x. .b1osfile| 00000710 20 4c 44 41 23 28 66 69 6c 65 20 83 32 35 36 29 | LDA#(file .256)| 00000720 3a 53 54 41 26 37 30 3a 4c 44 41 23 28 66 69 6c |:STA&70:LDA#(fil| 00000730 65 20 81 32 35 36 29 3a 53 54 41 26 37 31 3a 4c |e .256):STA&71:L| 00000740 44 41 23 28 4f 46 49 4c 45 20 83 32 35 36 29 3a |DA#(OFILE .256):| 00000750 53 54 41 26 37 32 3a 4c 44 41 23 28 4f 46 49 4c |STA&72:LDA#(OFIL| 00000760 45 20 81 32 35 36 29 3a 53 54 41 26 37 33 3a 4c |E .256):STA&73:L| 00000770 44 41 23 28 66 69 6c 65 72 65 74 20 83 32 35 36 |DA#(fileret .256| 00000780 29 3a 53 54 41 26 37 34 3a 4c 44 41 23 28 66 69 |):STA&74:LDA#(fi| 00000790 6c 65 72 65 74 20 81 32 35 36 29 3a 53 54 41 26 |leret .256):STA&| 000007a0 37 35 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 32 0d |75:JSRmoveloop2.| 000007b0 00 82 b2 20 2e 62 31 66 69 6c 65 72 65 74 20 4c |... .b1fileret L| 000007c0 44 41 23 28 66 69 6c 65 72 65 74 20 83 32 35 36 |DA#(fileret .256| 000007d0 29 3a 53 54 41 26 37 30 3a 4c 44 41 23 28 66 69 |):STA&70:LDA#(fi| 000007e0 6c 65 72 65 74 20 81 32 35 36 29 3a 53 54 41 26 |leret .256):STA&| 000007f0 37 31 3a 4c 44 41 23 28 42 41 43 4b 20 83 32 35 |71:LDA#(BACK .25| 00000800 36 29 3a 53 54 41 26 37 32 3a 4c 44 41 23 28 42 |6):STA&72:LDA#(B| 00000810 41 43 4b 20 81 32 35 36 29 3a 53 54 41 26 37 33 |ACK .256):STA&73| 00000820 3a 4c 44 41 23 28 66 72 65 74 65 6e 64 20 83 32 |:LDA#(fretend .2| 00000830 35 36 29 3a 53 54 41 26 37 34 3a 4c 44 41 23 28 |56):STA&74:LDA#(| 00000840 66 72 65 74 65 6e 64 20 81 32 35 36 29 3a 53 54 |fretend .256):ST| 00000850 41 26 37 35 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 |A&75:JSRmoveloop| 00000860 32 0d 00 8c 6a 20 2e 70 61 67 65 20 4c 44 41 23 |2...j .page LDA#| 00000870 30 3a 53 54 41 26 37 30 3a 53 54 41 26 37 32 3a |0:STA&70:STA&72:| 00000880 4c 44 41 26 31 38 3a 53 54 41 26 37 31 3a 4c 44 |LDA&18:STA&71:LD| 00000890 41 23 26 45 3a 53 54 41 26 37 33 3a 53 54 41 26 |A#&E:STA&73:STA&| 000008a0 31 38 3a 4c 44 41 26 31 32 3a 53 54 41 26 37 34 |18:LDA&12:STA&74| 000008b0 3a 4c 44 41 26 31 33 3a 53 54 41 26 37 35 3a 4a |:LDA&13:STA&75:J| 000008c0 53 52 6d 6f 76 65 6c 6f 6f 70 32 0d 00 96 67 20 |SRmoveloop2...g | 000008d0 2e 6c 61 6e 67 52 4f 4d 20 4c 44 41 62 61 6e 6b |.langROM LDAbank| 000008e0 31 2b 31 3a 53 54 41 26 32 38 43 3a 43 4c 43 3a |1+1:STA&28C:CLC:| 000008f0 41 44 43 23 26 41 30 3a 53 54 41 26 37 30 3a 4c |ADC#&A0:STA&70:L| 00000900 44 41 23 32 3a 53 54 41 26 37 31 3a 4c 44 59 23 |DA#2:STA&71:LDY#| 00000910 30 3a 4c 44 41 23 26 36 30 3a 53 54 41 28 26 37 |0:LDA#&60:STA(&7| 00000920 30 29 2c 59 3a 4c 44 41 23 30 3a 53 54 41 26 32 |0),Y:LDA#0:STA&2| 00000930 41 42 0d 00 a0 e0 20 2e 76 65 63 74 20 4c 44 41 |AB.... .vect LDA| 00000940 26 32 30 41 3a 53 54 41 4f 42 72 6f 75 74 69 6e |&20A:STAOBroutin| 00000950 65 2b 31 39 3a 4c 44 41 26 32 30 42 3a 53 54 41 |e+19:LDA&20B:STA| 00000960 4f 42 72 6f 75 74 69 6e 65 2b 32 30 3a 4a 53 52 |OBroutine+20:JSR| 00000970 62 61 6e 6b 32 3a 4c 44 41 26 32 30 41 3a 53 54 |bank2:LDA&20A:ST| 00000980 41 6f 73 62 79 74 65 4c 4f 3a 4c 44 41 26 32 30 |AosbyteLO:LDA&20| 00000990 42 3a 53 54 41 6f 73 62 79 74 65 48 49 3a 4c 44 |B:STAosbyteHI:LD| 000009a0 41 26 32 31 32 3a 53 54 41 6f 73 66 69 6c 65 4c |A&212:STAosfileL| 000009b0 4f 3a 4c 44 41 26 32 31 33 3a 53 54 41 6f 73 66 |O:LDA&213:STAosf| 000009c0 69 6c 65 48 49 3a 4c 44 41 26 32 31 45 3a 53 54 |ileHI:LDA&21E:ST| 000009d0 41 6f 73 66 73 63 4c 4f 3a 4c 44 41 26 32 31 46 |AosfscLO:LDA&21F| 000009e0 3a 53 54 41 6f 73 66 73 63 48 49 3a 4a 53 52 76 |:STAosfscHI:JSRv| 000009f0 65 63 74 6f 72 73 3a 4a 53 52 62 61 6e 6b 31 3a |ectors:JSRbank1:| 00000a00 4c 44 41 23 30 3a 53 54 41 26 46 43 44 44 3a 52 |LDA#0:STA&FCDD:R| 00000a10 54 53 0d 00 aa 8d 20 2e 6d 6f 76 65 6c 6f 6f 70 |TS.... .moveloop| 00000a20 32 20 4c 44 59 23 30 3a 2e 6c 6f 6f 70 20 4c 44 |2 LDY#0:.loop LD| 00000a30 41 28 26 37 30 29 2c 59 3a 53 54 41 28 26 37 32 |A(&70),Y:STA(&72| 00000a40 29 2c 59 3a 49 4e 43 26 37 30 3a 42 4e 45 61 3a |),Y:INC&70:BNEa:| 00000a50 49 4e 43 26 37 31 3a 2e 61 20 49 4e 43 26 37 32 |INC&71:.a INC&72| 00000a60 3a 42 4e 45 62 3a 49 4e 43 26 37 33 3a 2e 62 20 |:BNEb:INC&73:.b | 00000a70 4c 44 41 26 37 30 3a 43 4d 50 26 37 34 3a 42 4e |LDA&70:CMP&74:BN| 00000a80 45 6c 6f 6f 70 3a 4c 44 41 26 37 31 3a 43 4d 50 |Eloop:LDA&71:CMP| 00000a90 26 37 35 3a 42 4e 45 6c 6f 6f 70 3a 52 54 53 0d |&75:BNEloop:RTS.| 00000aa0 00 b4 2d 20 5d 3a 4f 25 3d 50 25 3a 73 74 61 72 |..- ]:O%=P%:star| 00000ab0 74 3d 4f 25 3a 50 25 3d 42 32 72 6f 75 74 69 6e |t=O%:P%=B2routin| 00000ac0 65 3a 5b 4f 50 54 70 61 73 73 2b 34 0d 00 be 8a |e:[OPTpass+4....| 00000ad0 20 4c 44 41 23 30 3a 41 44 43 23 30 3a 50 48 41 | LDA#0:ADC#0:PHA| 00000ae0 3a 4c 44 41 6f 73 66 73 63 4c 4f 3a 53 54 41 26 |:LDAosfscLO:STA&| 00000af0 32 31 45 3a 4c 44 41 6f 73 66 73 63 48 49 3a 53 |21E:LDAosfscHI:S| 00000b00 54 41 26 32 31 46 3a 4c 44 41 6f 73 66 69 6c 65 |TA&21F:LDAosfile| 00000b10 4c 4f 3a 53 54 41 26 32 31 32 3a 4c 44 41 6f 73 |LO:STA&212:LDAos| 00000b20 66 69 6c 65 48 49 3a 53 54 41 26 32 31 33 3a 4c |fileHI:STA&213:L| 00000b30 44 41 6f 73 62 79 74 65 4c 4f 3a 53 54 41 26 32 |DAosbyteLO:STA&2| 00000b40 30 41 3a 4c 44 41 6f 73 62 79 74 65 48 49 3a 53 |0A:LDAosbyteHI:S| 00000b50 54 41 26 32 30 42 0d 00 c3 7f 20 53 54 58 65 6e |TA&20B.... STXen| 00000b60 64 61 64 64 3a 4c 44 58 23 30 3a 2e 73 61 76 65 |dadd:LDX#0:.save| 00000b70 76 61 72 73 20 4c 44 41 26 37 30 2c 58 3a 53 54 |vars LDA&70,X:ST| 00000b80 41 74 65 6d 70 73 74 6f 72 65 2c 58 3a 49 4e 58 |Atempstore,X:INX| 00000b90 3a 43 50 58 23 36 3a 42 4e 45 73 61 76 65 76 61 |:CPX#6:BNEsaveva| 00000ba0 72 73 3a 53 54 59 26 37 35 3a 4c 44 58 65 6e 64 |rs:STY&75:LDXend| 00000bb0 61 64 64 3a 53 54 58 26 37 34 3a 50 4c 41 3a 42 |add:STX&74:PLA:B| 00000bc0 45 51 66 69 6c 65 72 6f 75 74 3a 4a 4d 50 66 73 |EQfilerout:JMPfs| 00000bd0 63 72 6f 75 74 0d 00 c8 56 20 2e 66 69 6c 65 72 |crout...V .filer| 00000be0 6f 75 74 20 4c 44 59 23 30 3a 4c 44 41 28 26 37 |out LDY#0:LDA(&7| 00000bf0 34 29 2c 59 3a 54 41 58 3a 49 4e 59 3a 4c 44 41 |4),Y:TAX:INY:LDA| 00000c00 28 26 37 34 29 2c 59 3a 53 54 58 26 37 30 3a 53 |(&74),Y:STX&70:S| 00000c10 54 41 26 37 31 3a 44 45 59 3a 4a 53 52 66 69 6c |TA&71:DEY:JSRfil| 00000c20 65 6e 61 6d 65 3a 4c 44 58 23 30 0d 00 d2 a9 20 |ename:LDX#0.... | 00000c30 2e 6c 6f 61 64 20 4c 44 41 23 30 3a 53 54 41 26 |.load LDA#0:STA&| 00000c40 37 30 3a 53 54 41 26 37 32 3a 4c 44 41 23 39 3a |70:STA&72:LDA#9:| 00000c50 53 54 41 26 37 31 3a 4c 44 41 23 26 41 43 3a 53 |STA&71:LDA#&AC:S| 00000c60 54 41 26 37 33 3a 4c 44 41 23 26 31 44 3a 53 54 |TA&73:LDA#&1D:ST| 00000c70 41 65 6e 64 61 64 64 3a 4c 44 59 23 30 3a 4a 53 |Aendadd:LDY#0:JS| 00000c80 52 6d 6f 76 65 6c 6f 6f 70 3a 4c 44 41 23 26 38 |Rmoveloop:LDA#&8| 00000c90 39 3a 53 54 41 26 37 31 3a 4c 44 41 23 39 3a 53 |9:STA&71:LDA#9:S| 00000ca0 54 41 26 37 33 3a 4c 44 41 23 26 39 44 3a 53 54 |TA&73:LDA#&9D:ST| 00000cb0 41 65 6e 64 61 64 64 3a 4c 44 59 23 30 3a 4a 53 |Aendadd:LDY#0:JS| 00000cc0 52 6d 6f 76 65 6c 6f 6f 70 3a 4a 4d 50 6c 6f 61 |Rmoveloop:JMPloa| 00000cd0 64 61 64 64 0d 00 dc 63 20 2e 6d 6f 76 65 6c 6f |dadd...c .movelo| 00000ce0 6f 70 20 4c 44 41 28 26 37 30 29 2c 59 3a 53 54 |op LDA(&70),Y:ST| 00000cf0 41 28 26 37 32 29 2c 59 3a 49 4e 59 3a 42 4e 45 |A(&72),Y:INY:BNE| 00000d00 6d 6f 76 65 6c 6f 6f 70 3a 49 4e 43 26 37 31 3a |moveloop:INC&71:| 00000d10 49 4e 43 26 37 33 3a 4c 44 41 26 37 31 3a 43 4d |INC&73:LDA&71:CM| 00000d20 50 65 6e 64 61 64 64 3a 42 4e 45 6d 6f 76 65 6c |Pendadd:BNEmovel| 00000d30 6f 6f 70 3a 52 54 53 0d 00 e6 e3 20 2e 6c 6f 61 |oop:RTS.... .loa| 00000d40 64 61 64 64 20 4c 44 41 23 30 3a 53 54 41 26 41 |dadd LDA#0:STA&A| 00000d50 30 30 3a 4c 44 41 23 26 42 3a 53 54 41 26 41 30 |00:LDA#&B:STA&A0| 00000d60 31 3a 53 54 58 65 6e 64 61 64 64 3a 43 50 58 23 |1:STXendadd:CPX#| 00000d70 31 3a 42 45 51 66 69 6e 64 61 64 64 3a 4c 44 41 |1:BEQfindadd:LDA| 00000d80 23 30 3a 53 54 41 26 37 32 3a 4c 44 41 23 26 41 |#0:STA&72:LDA#&A| 00000d90 3a 53 54 41 26 37 33 3a 4c 44 41 26 37 34 3a 53 |:STA&73:LDA&74:S| 00000da0 54 41 26 37 30 3a 4c 44 41 23 33 3a 53 54 41 65 |TA&70:LDA#3:STAe| 00000db0 6e 64 61 64 64 3a 4c 44 41 26 37 35 3a 4c 44 59 |ndadd:LDA&75:LDY| 00000dc0 23 30 3a 2e 72 61 6d 20 43 4d 50 23 26 43 30 3a |#0:.ram CMP#&C0:| 00000dd0 42 4e 45 6e 6f 31 3a 4c 44 41 23 26 31 44 3a 4a |BNEno1:LDA#&1D:J| 00000de0 4d 50 73 74 3a 2e 6e 6f 31 20 43 4d 50 23 26 31 |MPst:.no1 CMP#&1| 00000df0 44 3a 42 43 53 73 74 3a 43 4d 50 23 39 3a 42 43 |D:BCSst:CMP#9:BC| 00000e00 43 73 74 3a 43 4c 43 3a 41 44 43 23 26 41 33 3a |Cst:CLC:ADC#&A3:| 00000e10 2e 73 74 20 53 54 41 26 37 31 0d 00 f0 5e 20 2e |.st STA&71...^ .| 00000e20 74 72 20 4c 44 41 28 26 37 30 29 2c 59 3a 53 54 |tr LDA(&70),Y:ST| 00000e30 41 28 26 37 32 29 2c 59 3a 49 4e 43 26 37 32 3a |A(&72),Y:INC&72:| 00000e40 4c 44 41 26 37 32 3a 43 4d 50 23 26 31 32 3a 42 |LDA&72:CMP#&12:B| 00000e50 45 51 65 78 65 63 3a 49 4e 43 26 37 30 3a 42 4e |EQexec:INC&70:BN| 00000e60 45 74 72 3a 49 4e 43 26 37 31 3a 4c 44 41 26 37 |Etr:INC&71:LDA&7| 00000e70 31 3a 4a 4d 50 72 61 6d 0d 00 fa 68 20 2e 65 78 |1:JMPram...h .ex| 00000e80 65 63 20 4c 44 41 23 30 3a 53 54 41 26 41 30 30 |ec LDA#0:STA&A00| 00000e90 3a 4c 44 41 23 26 42 3a 53 54 41 26 41 30 31 3a |:LDA#&B:STA&A01:| 00000ea0 4c 44 41 26 41 30 36 3a 42 4e 45 66 69 6e 64 61 |LDA&A06:BNEfinda| 00000eb0 64 64 3a 4c 44 41 26 41 30 32 3a 53 54 41 26 37 |dd:LDA&A02:STA&7| 00000ec0 30 3a 4c 44 41 26 41 30 33 3a 53 54 41 26 37 31 |0:LDA&A03:STA&71| 00000ed0 3a 4c 44 41 23 32 3a 53 54 41 65 6e 64 61 64 64 |:LDA#2:STAendadd| 00000ee0 0d 01 04 bd 20 2e 66 69 6e 64 61 64 64 20 4c 44 |.... .findadd LD| 00000ef0 41 23 35 3a 4c 44 58 23 30 3a 4c 44 59 23 26 41 |A#5:LDX#0:LDY#&A| 00000f00 3a 4a 53 52 4f 53 46 49 4c 45 3a 43 4d 50 23 31 |:JSROSFILE:CMP#1| 00000f10 3a 42 45 51 72 75 6e 3a 4a 4d 50 65 72 72 6f 72 |:BEQrun:JMPerror| 00000f20 31 3a 2e 72 75 6e 20 4c 44 58 65 6e 64 61 64 64 |1:.run LDXendadd| 00000f30 3a 43 50 58 23 31 3a 42 4e 45 6c 61 64 64 72 3a |:CPX#1:BNEladdr:| 00000f40 50 4c 41 3a 53 54 41 26 37 32 3a 4c 44 58 26 41 |PLA:STA&72:LDX&A| 00000f50 30 36 3a 4c 44 59 26 41 30 37 3a 44 45 58 3a 43 |06:LDY&A07:DEX:C| 00000f60 50 58 23 26 46 46 3a 42 4e 45 73 74 61 63 6b 3a |PX#&FF:BNEstack:| 00000f70 44 45 59 3a 2e 73 74 61 63 6b 20 54 59 41 3a 50 |DEY:.stack TYA:P| 00000f80 48 41 3a 54 58 41 3a 50 48 41 3a 4c 44 41 26 37 |HA:TXA:PHA:LDA&7| 00000f90 32 3a 50 48 41 3a 4a 4d 50 61 72 65 61 0d 01 0e |2:PHA:JMParea...| 00000fa0 ac 20 2e 6c 61 64 64 72 20 43 50 58 23 32 3a 42 |. .laddr CPX#2:B| 00000fb0 4e 45 61 72 65 61 3a 4c 44 41 26 37 30 3a 53 54 |NEarea:LDA&70:ST| 00000fc0 41 26 41 30 32 3a 4c 44 41 26 37 31 3a 53 54 41 |A&A02:LDA&71:STA| 00000fd0 26 41 30 33 3a 4c 44 41 23 30 3a 53 54 41 26 41 |&A03:LDA#0:STA&A| 00000fe0 30 36 3a 2e 61 72 65 61 20 4c 44 41 26 41 30 33 |06:.area LDA&A03| 00000ff0 3a 43 4d 50 23 26 31 44 3a 42 43 53 6c 6f 61 64 |:CMP#&1D:BCSload| 00001000 32 3a 43 4d 50 23 39 3a 42 43 53 62 79 74 65 6c |2:CMP#9:BCSbytel| 00001010 6f 61 64 3a 43 4c 43 3a 4c 44 41 26 41 30 32 3a |oad:CLC:LDA&A02:| 00001020 41 44 43 26 41 30 41 3a 4c 44 41 26 41 30 33 3a |ADC&A0A:LDA&A03:| 00001030 41 44 43 26 41 30 42 3a 43 4d 50 23 39 3a 42 43 |ADC&A0B:CMP#9:BC| 00001040 53 62 79 74 65 6c 6f 61 64 0d 01 18 31 20 2e 6c |Sbyteload...1 .l| 00001050 6f 61 64 32 20 4c 44 41 23 26 46 46 3a 4c 44 58 |oad2 LDA#&FF:LDX| 00001060 23 30 3a 4c 44 59 23 26 41 3a 4a 53 52 4f 53 46 |#0:LDY#&A:JSROSF| 00001070 49 4c 45 3a 4a 4d 50 65 6e 64 0d 01 22 ed 20 2e |ILE:JMPend..". .| 00001080 62 79 74 65 6c 6f 61 64 20 4c 44 41 23 26 34 30 |byteload LDA#&40| 00001090 3a 4c 44 58 23 30 3a 4c 44 59 23 26 42 3a 4a 53 |:LDX#0:LDY#&B:JS| 000010a0 52 4f 53 46 49 4e 44 3a 54 41 59 3a 43 4d 50 23 |ROSFIND:TAY:CMP#| 000010b0 30 3a 42 4e 45 6f 6b 3a 4a 4d 50 65 72 72 6f 72 |0:BNEok:JMPerror| 000010c0 31 3a 2e 6f 6b 20 4c 44 41 26 41 30 32 3a 53 54 |1:.ok LDA&A02:ST| 000010d0 41 26 37 30 3a 4c 44 41 26 41 30 33 3a 43 4d 50 |A&70:LDA&A03:CMP| 000010e0 23 39 3a 42 43 43 6e 6f 72 6d 3a 43 4c 43 3a 41 |#9:BCCnorm:CLC:A| 000010f0 44 43 23 26 41 33 3a 2e 6e 6f 72 6d 20 53 54 41 |DC#&A3:.norm STA| 00001100 26 37 31 3a 2e 62 67 65 74 20 43 4c 43 3a 4a 53 |&71:.bget CLC:JS| 00001110 52 4f 53 42 47 45 54 3a 42 43 53 65 6e 64 6c 6f |ROSBGET:BCSendlo| 00001120 61 64 3a 53 54 41 28 26 37 30 2c 58 29 3a 49 4e |ad:STA(&70,X):IN| 00001130 43 26 37 30 3a 42 4e 45 62 67 65 74 3a 49 4e 43 |C&70:BNEbget:INC| 00001140 26 37 31 3a 4c 44 41 26 37 31 3a 43 4d 50 23 26 |&71:LDA&71:CMP#&| 00001150 43 30 3a 42 45 51 73 75 62 3a 43 4d 50 23 39 3a |C0:BEQsub:CMP#9:| 00001160 42 4e 45 62 67 65 74 0d 01 2c 50 20 4c 44 41 23 |BNEbget..,P LDA#| 00001170 26 41 43 3a 53 54 41 26 37 31 3a 42 4e 45 62 67 |&AC:STA&71:BNEbg| 00001180 65 74 3a 2e 73 75 62 20 4c 44 41 23 26 31 44 3a |et:.sub LDA#&1D:| 00001190 53 54 41 26 37 31 3a 42 4e 45 62 67 65 74 3a 2e |STA&71:BNEbget:.| 000011a0 65 6e 64 6c 6f 61 64 20 4c 44 41 23 30 3a 4a 53 |endload LDA#0:JS| 000011b0 52 4f 53 46 49 4e 44 0d 01 36 97 20 2e 65 6e 64 |ROSFIND..6. .end| 000011c0 20 4c 44 41 23 30 3a 53 54 41 26 37 30 3a 53 54 | LDA#0:STA&70:ST| 000011d0 41 26 37 32 3a 4c 44 41 23 39 3a 53 54 41 26 37 |A&72:LDA#9:STA&7| 000011e0 31 3a 4c 44 41 23 26 38 39 3a 53 54 41 26 37 33 |1:LDA#&89:STA&73| 000011f0 3a 4c 44 41 23 26 31 44 3a 53 54 41 65 6e 64 61 |:LDA#&1D:STAenda| 00001200 64 64 3a 4c 44 59 23 30 3a 4a 53 52 6d 6f 76 65 |dd:LDY#0:JSRmove| 00001210 6c 6f 6f 70 3a 4c 44 41 23 26 41 43 3a 53 54 41 |loop:LDA#&AC:STA| 00001220 26 37 31 3a 4c 44 41 23 39 3a 53 54 41 26 37 33 |&71:LDA#9:STA&73| 00001230 3a 4c 44 41 23 26 43 30 3a 53 54 41 65 6e 64 61 |:LDA#&C0:STAenda| 00001240 64 64 3a 4a 53 52 6d 6f 76 65 6c 6f 6f 70 0d 01 |dd:JSRmoveloop..| 00001250 40 df 20 2e 72 65 74 20 4a 53 52 76 65 63 74 6f |@. .ret JSRvecto| 00001260 72 73 32 3a 4a 4d 50 76 61 72 73 3a 5d 3a 76 65 |rs2:JMPvars:]:ve| 00001270 63 74 6f 72 73 3d 4f 25 3a 5b 4f 50 54 70 61 73 |ctors=O%:[OPTpas| 00001280 73 2b 34 3a 2e 76 65 63 74 6f 72 73 32 20 4c 44 |s+4:.vectors2 LD| 00001290 41 23 28 4f 42 72 6f 75 74 69 6e 65 20 83 32 35 |A#(OBroutine .25| 000012a0 36 29 3a 53 54 41 26 32 30 41 3a 4c 44 41 23 28 |6):STA&20A:LDA#(| 000012b0 4f 42 72 6f 75 74 69 6e 65 20 81 32 35 36 29 3a |OBroutine .256):| 000012c0 53 54 41 26 32 30 42 3a 4c 44 41 23 28 4f 46 49 |STA&20B:LDA#(OFI| 000012d0 4c 45 20 83 32 35 36 29 3a 53 54 41 26 32 31 32 |LE .256):STA&212| 000012e0 3a 4c 44 41 23 28 4f 46 49 4c 45 20 81 32 35 36 |:LDA#(OFILE .256| 000012f0 29 3a 53 54 41 26 32 31 33 3a 4c 44 41 23 28 4f |):STA&213:LDA#(O| 00001300 46 53 43 20 83 32 35 36 29 3a 53 54 41 26 32 31 |FSC .256):STA&21| 00001310 45 3a 4c 44 41 23 28 4f 46 53 43 20 81 32 35 36 |E:LDA#(OFSC .256| 00001320 29 3a 53 54 41 26 32 31 46 3a 52 54 53 0d 01 4a |):STA&21F:RTS..J| 00001330 84 20 2e 76 61 72 73 20 4c 44 59 26 37 35 3a 4c |. .vars LDY&75:L| 00001340 44 58 26 37 34 3a 53 54 58 65 6e 64 61 64 64 3a |DX&74:STXendadd:| 00001350 4c 44 58 23 30 3a 2e 6c 6f 61 64 76 61 72 73 20 |LDX#0:.loadvars | 00001360 4c 44 41 74 65 6d 70 73 74 6f 72 65 2c 58 3a 53 |LDAtempstore,X:S| 00001370 54 41 26 37 30 2c 58 3a 49 4e 58 3a 43 50 58 23 |TA&70,X:INX:CPX#| 00001380 36 3a 42 4e 45 6c 6f 61 64 76 61 72 73 3a 4c 44 |6:BNEloadvars:LD| 00001390 58 65 6e 64 61 64 64 3a 4a 4d 50 20 42 41 43 4b |Xendadd:JMP BACK| 000013a0 2d 28 6f 73 62 79 74 65 2d 62 61 6e 6b 31 2d 31 |-(osbyte-bank1-1| 000013b0 29 0d 01 54 c1 20 2e 66 73 63 72 6f 75 74 20 50 |)..T. .fscrout P| 000013c0 4c 41 3a 50 48 41 3a 42 45 51 72 65 74 3a 43 4d |LA:PHA:BEQret:CM| 000013d0 50 23 34 3a 42 45 51 66 73 63 3a 43 4d 50 23 32 |P#4:BEQfsc:CMP#2| 000013e0 3a 42 45 51 66 73 63 3a 4a 53 52 6f 6c 64 4f 53 |:BEQfsc:JSRoldOS| 000013f0 46 53 43 3a 4c 44 41 26 37 30 3a 53 54 41 26 31 |FSC:LDA&70:STA&1| 00001400 30 44 35 3a 4c 44 41 26 37 31 3a 53 54 41 26 44 |0D5:LDA&71:STA&D| 00001410 43 43 3a 4c 44 41 26 37 32 3a 53 54 41 26 44 43 |CC:LDA&72:STA&DC| 00001420 44 3a 4c 44 41 26 37 33 3a 53 54 41 26 44 43 45 |D:LDA&73:STA&DCE| 00001430 3a 4a 4d 50 72 65 74 3a 2e 66 73 63 20 4c 44 41 |:JMPret:.fsc LDA| 00001440 26 37 34 3a 53 54 41 26 37 30 3a 4c 44 41 26 37 |&74:STA&70:LDA&7| 00001450 35 3a 53 54 41 26 37 31 3a 4a 53 52 66 69 6c 65 |5:STA&71:JSRfile| 00001460 6e 61 6d 65 3a 4c 44 58 23 31 3a 4a 4d 50 6c 6f |name:LDX#1:JMPlo| 00001470 61 64 0d 01 59 8e 20 2e 6f 6c 64 4f 53 46 53 43 |ad..Y. .oldOSFSC| 00001480 20 4c 44 41 26 31 30 44 35 3a 53 54 41 26 37 30 | LDA&10D5:STA&70| 00001490 3a 4c 44 41 26 44 43 43 3a 53 54 41 26 37 31 3a |:LDA&DCC:STA&71:| 000014a0 4c 44 41 26 44 43 44 3a 53 54 41 26 37 32 3a 4c |LDA&DCD:STA&72:L| 000014b0 44 41 26 44 43 45 3a 53 54 41 26 37 33 3a 4c 44 |DA&DCE:STA&73:LD| 000014c0 41 23 26 36 30 3a 53 54 41 26 44 43 43 3a 4c 44 |A#&60:STA&DCC:LD| 000014d0 41 23 26 39 45 3a 53 54 41 26 44 43 44 3a 4c 44 |A#&9E:STA&DCD:LD| 000014e0 41 23 34 3a 53 54 41 26 44 43 45 3a 50 4c 41 3a |A#4:STA&DCE:PLA:| 000014f0 50 48 41 3a 4a 4d 50 28 6f 73 66 73 63 4c 4f 29 |PHA:JMP(osfscLO)| 00001500 0d 01 5e cd 20 2e 66 69 6c 65 6e 61 6d 65 20 4c |..^. .filename L| 00001510 44 59 23 30 3a 4c 44 41 28 26 37 30 29 2c 59 3a |DY#0:LDA(&70),Y:| 00001520 43 4d 50 23 26 44 3a 42 45 51 6e 61 6d 65 3a 43 |CMP#&D:BEQname:C| 00001530 4d 50 23 26 32 30 3a 42 45 51 6e 61 6d 65 3a 4a |MP#&20:BEQname:J| 00001540 4d 50 6e 6f 74 7a 65 72 6f 3a 2e 6e 61 6d 65 20 |MPnotzero:.name | 00001550 4c 44 41 6e 61 6d 65 4c 4f 3a 53 54 41 26 37 30 |LDAnameLO:STA&70| 00001560 3a 53 54 41 26 37 32 3a 4c 44 41 6e 61 6d 65 48 |:STA&72:LDAnameH| 00001570 49 3a 53 54 41 26 37 31 3a 53 54 41 26 37 33 3a |I:STA&71:STA&73:| 00001580 4c 44 41 28 26 37 30 29 2c 59 3a 43 4d 50 23 30 |LDA(&70),Y:CMP#0| 00001590 3a 42 4e 45 6f 6b 32 3a 50 4c 41 3a 50 4c 41 3a |:BNEok2:PLA:PLA:| 000015a0 4a 4d 50 65 72 72 6f 72 32 3a 2e 6f 6b 32 20 4c |JMPerror2:.ok2 L| 000015b0 44 41 28 26 37 32 29 2c 59 3a 49 4e 43 26 37 32 |DA(&72),Y:INC&72| 000015c0 3a 42 4e 45 6e 6f 3a 49 4e 43 26 37 33 0d 01 68 |:BNEno:INC&73..h| 000015d0 e9 20 2e 6e 6f 20 43 4d 50 23 26 44 3a 42 4e 45 |. .no CMP#&D:BNE| 000015e0 6f 6b 32 3a 4c 44 41 26 37 32 3a 53 54 41 6e 61 |ok2:LDA&72:STAna| 000015f0 6d 65 4c 4f 3a 4c 44 41 26 37 33 3a 53 54 41 6e |meLO:LDA&73:STAn| 00001600 61 6d 65 48 49 3a 2e 6e 6f 74 7a 65 72 6f 20 4c |ameHI:.notzero L| 00001610 44 41 23 30 3a 53 54 41 26 37 32 3a 4c 44 41 23 |DA#0:STA&72:LDA#| 00001620 26 38 42 3a 53 54 41 26 37 33 3a 2e 74 72 61 6e |&8B:STA&73:.tran| 00001630 73 6c 6f 6f 70 20 4c 44 41 28 26 37 30 29 2c 59 |sloop LDA(&70),Y| 00001640 3a 53 54 41 28 26 37 32 29 2c 59 3a 43 4d 50 23 |:STA(&72),Y:CMP#| 00001650 26 44 3a 42 45 51 65 6e 64 66 69 6c 65 3a 43 4d |&D:BEQendfile:CM| 00001660 50 23 26 32 30 3a 42 4e 45 63 6f 6e 74 66 69 6c |P#&20:BNEcontfil| 00001670 65 3a 4c 44 41 23 26 44 3a 53 54 41 28 26 37 32 |e:LDA#&D:STA(&72| 00001680 29 2c 59 3a 42 4e 45 65 6e 64 66 69 6c 65 3a 2e |),Y:BNEendfile:.| 00001690 63 6f 6e 74 66 69 6c 65 20 49 4e 59 3a 4a 4d 50 |contfile INY:JMP| 000016a0 74 72 61 6e 73 6c 6f 6f 70 3a 2e 65 6e 64 66 69 |transloop:.endfi| 000016b0 6c 65 20 52 54 53 0d 01 72 d1 20 2e 65 72 72 6f |le RTS..r. .erro| 000016c0 72 31 20 4c 44 41 23 28 6e 6f 74 66 6f 75 6e 64 |r1 LDA#(notfound| 000016d0 20 83 32 35 36 29 3a 53 54 41 26 37 30 3a 4c 44 | .256):STA&70:LD| 000016e0 41 23 28 6e 6f 74 66 6f 75 6e 64 20 81 32 35 36 |A#(notfound .256| 000016f0 29 3a 53 54 41 26 37 31 3a 4a 4d 50 65 72 72 6f |):STA&71:JMPerro| 00001700 72 3a 2e 65 72 72 6f 72 32 20 4c 44 41 23 28 6e |r:.error2 LDA#(n| 00001710 6f 6d 6f 72 65 20 83 32 35 36 29 3a 53 54 41 26 |omore .256):STA&| 00001720 37 30 3a 4c 44 41 23 28 6e 6f 6d 6f 72 65 20 81 |70:LDA#(nomore .| 00001730 32 35 36 29 3a 53 54 41 26 37 31 3a 2e 65 72 72 |256):STA&71:.err| 00001740 6f 72 20 4c 44 59 23 30 3a 2e 70 72 69 6e 74 6c |or LDY#0:.printl| 00001750 6f 6f 70 20 4c 44 41 28 26 37 30 29 2c 59 3a 49 |oop LDA(&70),Y:I| 00001760 4e 59 3a 4a 53 52 4f 53 41 53 43 49 3a 43 4d 50 |NY:JSROSASCI:CMP| 00001770 23 26 44 3a 42 4e 45 70 72 69 6e 74 6c 6f 6f 70 |#&D:BNEprintloop| 00001780 3a 4a 4d 50 72 65 74 0d 01 7c e6 20 2e 6e 6f 74 |:JMPret..|. .not| 00001790 66 6f 75 6e 64 20 45 51 55 53 22 4e 6f 74 20 66 |found EQUS"Not f| 000017a0 6f 75 6e 64 22 3a 45 51 55 42 31 33 3a 2e 6e 6f |ound":EQUB13:.no| 000017b0 6d 6f 72 65 20 45 51 55 53 22 4e 6f 20 6d 6f 72 |more EQUS"No mor| 000017c0 65 20 66 69 6c 65 6e 61 6d 65 73 22 3a 45 51 55 |e filenames":EQU| 000017d0 42 31 33 3a 2e 6e 61 6d 65 4c 4f 20 45 51 55 42 |B13:.nameLO EQUB| 000017e0 6e 61 6d 65 73 20 83 32 35 36 3a 2e 6e 61 6d 65 |names .256:.name| 000017f0 48 49 20 45 51 55 42 6e 61 6d 65 73 20 81 32 35 |HI EQUBnames .25| 00001800 36 3a 2e 65 6e 64 61 64 64 20 45 51 55 42 30 3a |6:.endadd EQUB0:| 00001810 2e 6f 73 66 69 6c 65 4c 4f 20 45 51 55 42 30 3a |.osfileLO EQUB0:| 00001820 2e 6f 73 66 69 6c 65 48 49 20 45 51 55 42 30 3a |.osfileHI EQUB0:| 00001830 2e 6f 73 66 73 63 4c 4f 20 45 51 55 42 30 3a 2e |.osfscLO EQUB0:.| 00001840 6f 73 66 73 63 48 49 20 45 51 55 42 30 3a 2e 6f |osfscHI EQUB0:.o| 00001850 73 62 79 74 65 4c 4f 20 45 51 55 42 30 3a 2e 6f |sbyteLO EQUB0:.o| 00001860 73 62 79 74 65 48 49 20 45 51 55 42 30 0d 01 81 |sbyteHI EQUB0...| 00001870 53 20 2e 74 65 6d 70 73 74 6f 72 65 20 45 51 55 |S .tempstore EQU| 00001880 44 30 3a 45 51 55 57 30 3a 2e 6e 61 6d 65 73 3a |D0:EQUW0:.names:| 00001890 5d 3a 24 4f 25 3d 66 69 6c 65 6e 61 6d 65 73 24 |]:$O%=filenames$| 000018a0 3a 4f 25 3d 4f 25 2b a9 28 66 69 6c 65 6e 61 6d |:O%=O%+.(filenam| 000018b0 65 73 24 29 2b 31 3a 3f 28 4f 25 2d 31 29 3d 30 |es$)+1:?(O%-1)=0| 000018c0 0d 01 86 ba 20 62 61 6e 6b 31 3d 4f 25 3a 5b 4f |.... bank1=O%:[O| 000018d0 50 54 70 61 73 73 2b 34 3a 4c 44 41 23 30 3a 53 |PTpass+4:LDA#0:S| 000018e0 54 41 26 46 34 3a 53 54 41 26 46 45 30 35 3a 5d |TA&F4:STA&FE05:]| 000018f0 3a 50 25 3d 4f 25 3a 5b 4f 50 54 70 61 73 73 2b |:P%=O%:[OPTpass+| 00001900 34 3a 52 54 53 3a 5d 3a 6f 73 62 79 74 65 3d 4f |4:RTS:]:osbyte=O| 00001910 25 3a 50 25 3d 4f 42 72 6f 75 74 69 6e 65 3a 5b |%:P%=OBroutine:[| 00001920 4f 50 54 70 61 73 73 2b 34 3a 43 4d 50 23 31 34 |OPTpass+4:CMP#14| 00001930 30 3a 42 45 51 74 61 70 65 3a 50 48 41 3a 4c 44 |0:BEQtape:PHA:LD| 00001940 41 4f 42 72 6f 75 74 69 6e 65 2b 31 39 3a 53 54 |AOBroutine+19:ST| 00001950 41 26 32 30 41 3a 4c 44 41 4f 42 72 6f 75 74 69 |A&20A:LDAOBrouti| 00001960 6e 65 2b 32 30 3a 53 54 41 26 32 30 42 3a 50 4c |ne+20:STA&20B:PL| 00001970 41 3a 4a 53 52 26 30 30 30 30 0d 01 8b 52 20 50 |A:JSR&0000...R P| 00001980 48 41 3a 4c 44 41 23 28 4f 42 72 6f 75 74 69 6e |HA:LDA#(OBroutin| 00001990 65 20 83 32 35 36 29 3a 53 54 41 26 32 30 41 3a |e .256):STA&20A:| 000019a0 4c 44 41 23 28 4f 42 72 6f 75 74 69 6e 65 20 81 |LDA#(OBroutine .| 000019b0 32 35 36 29 3a 53 54 41 26 32 30 42 3a 50 4c 41 |256):STA&20B:PLA| 000019c0 3a 2e 74 61 70 65 20 52 54 53 3a 5d 0d 01 90 bd |:.tape RTS:]....| 000019d0 20 66 69 6c 65 3d 4f 25 3a 50 25 3d 4f 46 49 4c | file=O%:P%=OFIL| 000019e0 45 3a 5b 4f 50 54 70 61 73 73 2b 34 3a 43 4c 43 |E:[OPTpass+4:CLC| 000019f0 3a 42 43 43 6f 66 3a 2e 4f 46 53 43 20 53 45 43 |:BCCof:.OFSC SEC| 00001a00 3a 2e 6f 66 20 50 48 41 3a 5d 3a 62 61 6e 6b 32 |:.of PHA:]:bank2| 00001a10 3d 4f 25 3a 5b 4f 50 54 70 61 73 73 2b 34 3a 4c |=O%:[OPTpass+4:L| 00001a20 44 41 23 30 3a 53 54 41 26 46 34 3a 53 54 41 26 |DA#0:STA&F4:STA&| 00001a30 46 45 30 35 3a 2e 65 6e 74 65 72 3a 5d 3a 50 25 |FE05:.enter:]:P%| 00001a40 3d 4f 25 3a 5b 4f 50 54 70 61 73 73 2b 34 3a 52 |=O%:[OPTpass+4:R| 00001a50 54 53 3a 5d 3a 66 69 6c 65 72 65 74 3d 4f 25 3a |TS:]:fileret=O%:| 00001a60 50 25 3d 42 41 43 4b 3a 5b 4f 50 54 70 61 73 73 |P%=BACK:[OPTpass| 00001a70 2b 34 3a 50 4c 41 3a 52 54 53 3a 5d 3a 66 72 65 |+4:PLA:RTS:]:fre| 00001a80 74 65 6e 64 3d 4f 25 3a ed 0d 01 9a 39 20 f1 22 |tend=O%:....9 ."| 00001a90 53 61 76 65 20 28 59 2f 4e 29 3f 22 3a 41 24 3d |Save (Y/N)?":A$=| 00001aa0 be 3a e7 20 41 24 3d 22 59 22 20 8c 20 ff 22 53 |.:. A$="Y" . ."S| 00001ab0 41 56 45 20 44 4c 20 33 30 30 30 20 22 2b c3 7e |AVE DL 3000 "+.~| 00001ac0 4f 25 0d ff |O%..| 00001ac4