polio: fix read/writesector
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user