polio: fix read/writesector

This commit is contained in:
2025-10-06 22:42:21 +02:00
parent 798b3e8e6b
commit 5e08ee648b
2 changed files with 2 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ main:
4:
call sendbuffer # send input buffer
1:
mov ah, 0x07 # do parallel comms
mov ax, 0x0700 # do parallel comms
int 0x80
mov ax, kRecvBufSize
push ax

View File

@@ -70,6 +70,7 @@ readsector:
mov ch, [bp+2] # c
mov dh, [bp+4] # h
mov cl, [bp+6] # s
mov dl, 0 # drive
int 0x13
ret