Add folders support

main
Plaza521 2023-06-19 09:36:24 +03:00
parent 229858c9f3
commit 2584361a8b
2 changed files with 17 additions and 0 deletions

View File

@ -772,6 +772,22 @@ write_table:
popa popa
ret ret
; Change table
; SI - table in FS table (0 - return to previous table)
change_table:
pusha
mov ah, 02h
mov al, 4
mov dl, [BOOT_DRIVE]
mov ch, [si]
mov dh, [si+1]
mov cl, [si+2]
mov bx, 0x8000
int 13h
popa
ret
wait_key: wait_key:
mov ah, 11h mov ah, 11h

View File

@ -34,6 +34,7 @@ functable:
dw get_cursor_pos dw get_cursor_pos
dw set_cursor_pos dw set_cursor_pos
dw read_table dw read_table
dw change_table
dw 0 dw 0
times 1024 - ($-$$) db 0 times 1024 - ($-$$) db 0