Fix for bootloader on new BIOS (don't know exactly why though)
This commit is contained in:
parent
f7672dbaf4
commit
8e9af7c817
1 changed files with 11 additions and 8 deletions
|
|
@ -26,8 +26,13 @@ boot: ; dl comes with disk
|
|||
call print
|
||||
call print_line
|
||||
|
||||
mov bh, 0
|
||||
mov bl, [disk]
|
||||
mov bx, (startup_start - boot) / 512
|
||||
call print_num
|
||||
call print_line
|
||||
|
||||
mov bx, startup_start
|
||||
call print_num
|
||||
call print_line
|
||||
|
||||
mov eax, (startup_start - boot) / 512
|
||||
mov bx, startup_start
|
||||
|
|
|
|||
Loading…
Reference in a new issue