boot/fat: Save a byte restoring DL

This commit is contained in:
Nero 2020-09-27 15:10:28 +00:00
parent 909349a4cf
commit 729e6790ef

View File

@ -25,6 +25,7 @@ init: xor ax, ax
mov ss, ax
mov sp, stack
push sp
push dx
; save potential partition table entry
push ds
@ -192,9 +193,9 @@ loadclus: lodsw
call read
jmp loadclus
.jump: mov dl, [bp+bpb.drivenum]
pop si
.jump: pop si
pop ds
pop dx
ret
err_not_found: