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: 4:
call sendbuffer # send input buffer call sendbuffer # send input buffer
1: 1:
mov ah, 0x07 # do parallel comms mov ax, 0x0700 # do parallel comms
int 0x80 int 0x80
mov ax, kRecvBufSize mov ax, kRecvBufSize
push ax push ax

View File

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