From d1f8ec4a9e4c023ef92b22adfc99bcfa6b875f72 Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Sat, 12 Oct 2024 21:21:43 -0400 Subject: [PATCH] follow standard proceedure and reallocate the mbr to 0x600 --- include/entry.inc | 2 +- src/mbr/mbr.nasm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/entry.inc b/include/entry.inc index fa5e710..b21aa8d 100755 --- a/include/entry.inc +++ b/include/entry.inc @@ -22,7 +22,7 @@ ; 8KiB from 0x2500 -> 0x500 %define EARLY_STACK_START 0x2500 -%define MBR_ENTRY 0x7A00 +%define MBR_ENTRY 0x0600 %define VBR_ENTRY 0x7C00 %define STAGE2_ENTRY 0x7E00 diff --git a/src/mbr/mbr.nasm b/src/mbr/mbr.nasm index 410f9a0..9cbd24c 100755 --- a/src/mbr/mbr.nasm +++ b/src/mbr/mbr.nasm @@ -19,7 +19,7 @@ ; SOFTWARE. [BITS 16] -[ORG 0x7A00] +[ORG 0x0600] [CPU KATMAI] [WARNING -reloc-abs-byte] [WARNING -reloc-abs-word] ; Yes, we use absolute addresses. surpress these warnings.