From 47a47051b2057615d811bd6479077bdd883e9f3c Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Tue, 15 Oct 2024 13:31:32 -0400 Subject: [PATCH] turn off magic debug in mbr/vbr stages --- src/mbr/mbr.nasm | 3 ++- src/vbr/vbr.nasm | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mbr/mbr.nasm b/src/mbr/mbr.nasm index b6d0680..0ae7a8a 100755 --- a/src/mbr/mbr.nasm +++ b/src/mbr/mbr.nasm @@ -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 ; ############### diff --git a/src/vbr/vbr.nasm b/src/vbr/vbr.nasm index 7f1ceab..729cc1e 100755 --- a/src/vbr/vbr.nasm +++ b/src/vbr/vbr.nasm @@ -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