mirror of
https://github.com/bobbimanners/Zapple-II.git
synced 2024-05-31 14:41:31 +00:00
Further cleanup/fixup
This commit is contained in:
parent
df21d8da24
commit
0b80a70c3a
|
@ -1624,13 +1624,13 @@ RDBS2 POP HL ; Reset DMA address as we found it
|
||||||
RET
|
RET
|
||||||
|
|
||||||
; Match FCBs
|
; Match FCBs
|
||||||
; Used by CHKDIRBLK
|
; Used by CHKDIRENT
|
||||||
; DE is the address of the FCB describing the file to look for
|
; DE is the address of the FCB describing the file to look for
|
||||||
; Compare with FCB at DMAADDR already created by PATH2FCB
|
; Compare with FCB at DMAADDR already created by PATH2FCB
|
||||||
; Returns A=0 if entry matches, A=FFH if no match
|
; Returns A=0 if entry matches, A=FFH if no match
|
||||||
; Trashes A,BC,DE,HL
|
; Trashes A,BC,DE,HL
|
||||||
MATCHFCB INC DE ; Skip over drive byte in FCB
|
MATCHFCB INC DE ; Skip over drive byte in FCB
|
||||||
LD HL,(DMAADDR) ; Will write FCB using DMAADDR pointer
|
LD HL,(DMAADDR) ; Will read FCB at DMAADDR pointer
|
||||||
INC HL ; Skip over drive byte in FCB
|
INC HL ; Skip over drive byte in FCB
|
||||||
LD C,0 ; Initialize character counter
|
LD C,0 ; Initialize character counter
|
||||||
MFL1 LD A,(DE) ; Load byte of search pattern
|
MFL1 LD A,(DE) ; Load byte of search pattern
|
||||||
|
|
BIN
zapple2.po
BIN
zapple2.po
Binary file not shown.
Loading…
Reference in New Issue
Block a user