From a72a41c3ac6862ec9d8ab941c09e3de2b11c3744 Mon Sep 17 00:00:00 2001 From: Eric-Paul Ickhorn Date: Fri, 5 Jul 2024 23:48:19 +0200 Subject: [PATCH] Change final bootsector jump to be a near jump This commit changes the final jump from the bootsector to the second stage (the partition which gets loaded completely) to be a near jump. That's important to keep consistency with protected mode. --- i386/bootsector/bootsector.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 i386/bootsector/bootsector.asm diff --git a/i386/bootsector/bootsector.asm b/i386/bootsector/bootsector.asm old mode 100644 new mode 100755 index 45ce4fe..fc8128a --- a/i386/bootsector/bootsector.asm +++ b/i386/bootsector/bootsector.asm @@ -180,7 +180,7 @@ load_partition: jump_to_partition: - jmp 0x0a00:0x0000 + jmp 0xa000 cli hlt