Mask raw directory bit when giving drive number to int13

This commit is contained in:
Nero 2019-10-17 19:19:12 +00:00
parent b3014ef8e4
commit e70386bcfb
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ drive_read:
mov si, 5 ; retry count
.try:
mov dl, [bx+fcb_drv] ; drive number
and dl, 0x7F
dec dl
mov ax, 0x0201
mov bx, diskbuf