boot/fat: Save a byte restoring DL
This commit is contained in:
parent
909349a4cf
commit
729e6790ef
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user