Mask raw directory bit when giving drive number to int13
This commit is contained in:
parent
b3014ef8e4
commit
e70386bcfb
@ -43,6 +43,7 @@ drive_read:
|
|||||||
mov si, 5 ; retry count
|
mov si, 5 ; retry count
|
||||||
.try:
|
.try:
|
||||||
mov dl, [bx+fcb_drv] ; drive number
|
mov dl, [bx+fcb_drv] ; drive number
|
||||||
|
and dl, 0x7F
|
||||||
dec dl
|
dec dl
|
||||||
mov ax, 0x0201
|
mov ax, 0x0201
|
||||||
mov bx, diskbuf
|
mov bx, diskbuf
|
||||||
|
Loading…
Reference in New Issue
Block a user