bootsect: Move jump to stage2 to second half of bootsector
This commit is contained in:
parent
d799658be4
commit
d7ec93d01d
@ -81,12 +81,8 @@ start:
|
||||
mov ss, ax
|
||||
|
||||
and edx, 0xff
|
||||
push edx
|
||||
|
||||
push stage2.size
|
||||
push (stage2 - decompressor) + 0x70000
|
||||
|
||||
call 0x70000
|
||||
jmp vector
|
||||
|
||||
bits 16
|
||||
|
||||
@ -102,6 +98,19 @@ times 6 db 0
|
||||
%include 'disk.inc'
|
||||
%include 'gdt.inc'
|
||||
|
||||
bits 32
|
||||
vector:
|
||||
push 0
|
||||
|
||||
push edx
|
||||
|
||||
push stage2.size
|
||||
push (stage2 - decompressor) + 0x70000
|
||||
|
||||
call 0x70000
|
||||
|
||||
bits 16
|
||||
|
||||
times 0x1b0-($-$$) db 0
|
||||
stage2_sector: dd 1
|
||||
|
||||
|
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user