1 parent a18f763 commit 5e73cbbCopy full SHA for 5e73cbb
2 files changed
loader.nasm
@@ -26,7 +26,7 @@ db "FAT16 " ; file system type
26
27
%define STACK_BASE_ADDR 1000h
28
%define PROGRAM_LOAD_ADDR 1000h
29
-%define SEGMENTS_TO_LOAD 4
+%define SEGMENTS_TO_LOAD 2
30
31
startMsg db "Starting loader", 0
32
jumpingToProgramMsg db "Jumping to program..", 0
main.nasm
@@ -396,4 +396,4 @@ updateInterval dd 1_000_000 / 20
396
restartDelay dd 250_000
397
398
%include "commonSubroutines.nasm"
399
-times (3 * 200h) - ($ - $$) db 0 ; take up 3 segments
+times (2 * 200h) - ($ - $$) db 0 ; take up 2 segments and assert we don't overflow beyond that
0 commit comments