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 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user