turn off magic debug in mbr/vbr stages

This commit is contained in:
2024-10-15 13:31:32 -04:00
parent a97e3bea9b
commit 50b08f6b72
2 changed files with 5 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ nop
%include "partition_table.inc"
%include "fat32/fat32_structures.inc"
%undef __STEVIA_DEV_DEBUG
ALIGN 4
init:
cli ; We do not want to be interrupted
@@ -158,7 +160,6 @@ main:
mov si, word [bp - 4]
mov dl, byte [bp - 2]
mov bx, partition_table
__BOCHS_MAGIC_DEBUG
jmp word 0x0000:VBR_ENTRY
; ###############

View File

@@ -50,7 +50,9 @@ times 54 db 0x00
%include "error_codes.inc"
%include "partition_table.inc"
%include "fat32/fat32_structures.inc"
;
%undef __STEVIA_DEV_DEBUG
; dl = boot_drive
; si = part_offset
; bx = partition_table location from mbr