Implement searching directory for exact matches

This commit is contained in:
Nero 2021-01-02 02:07:40 +00:00
parent 7754312609
commit 9a1c4139a6
5 changed files with 82 additions and 85 deletions

View file

@ -51,21 +51,21 @@ dinit: ; copy previously set DPT to our data area
; int 13 stub
; place reserved for stack switches
int13: ; debug output
push bx
push dx
push cx
push ax
call printf
db "int13 CALL AX=",2," CX=",2," DX=",2," BX=",2,0x0A,0x0D,0
;push bx
;push dx
;push cx
;push ax
;call printf
;db "int13 CALL AX=",2," CX=",2," DX=",2," BX=",2,0x0A,0x0D,0
; do the call
int 0x13
jc .err
ret
.err: push ax
call printf
db "int13 ERR AX=",2,0x0A,0x0D,0
stc
;jc .err
ret
.err: ;push ax
;call printf
;db "DISK ERR AX=",2,0x0A,0x0D,0
;stc
;ret
; get drive parameters
; read BIOS int13h/AH=8 values