fix passing stage2 wrong data for boot drive
This commit is contained in:
@@ -361,9 +361,7 @@ NewLine_cstr:
|
||||
BootTarget_str:
|
||||
db "BOOT BIN"
|
||||
boot_drive_ptr:
|
||||
db 0x00
|
||||
stage2_resb_1:
|
||||
db 0x00
|
||||
dw 0x0000
|
||||
partition_offset_ptr:
|
||||
dw 0x0000
|
||||
|
||||
|
||||
@@ -136,8 +136,8 @@ main:
|
||||
ERROR VBR_ERROR_NO_SIGNATURE ; no signature present in stage2
|
||||
|
||||
.sig_ok:
|
||||
mov si, [bp - 4]
|
||||
mov dx, [bp - 2]
|
||||
mov si, word [bp - 4]
|
||||
mov dl, byte [bp - 2]
|
||||
jmp 0:0x7E00
|
||||
|
||||
; ###############
|
||||
|
||||
Reference in New Issue
Block a user