; Requires external routines SETSRC and SETDST ; Requires the following RAM locations be defined ; external zero page byte pairs SRCLO,SRCHI and DSTLO,DSTHI ; and external bytes TEMP0, TEMP1, TEMP2, and TEMP3 ; as well as constant FOMAX and a table of FOMAX+1 ; consecutive bytes named FTBL ;finit() - Initialize File System FSINIT: LDA #$40 ;Control Messages Only JSR SETMSG ;Kernal - Set System Messages JMP FSHUT ;Close All Files LDA #15 ;OPEN 15,8,15,"I" LDX #8 TAY JMP SETLFS LDA 1 LDY #>FSINII LDX #