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