Skip to content

Commit 5e73cbb

Browse files
committed
Fix build, fix sizing/spacing
1 parent a18f763 commit 5e73cbb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

loader.nasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ db "FAT16 " ; file system type
2626

2727
%define STACK_BASE_ADDR 1000h
2828
%define PROGRAM_LOAD_ADDR 1000h
29-
%define SEGMENTS_TO_LOAD 4
29+
%define SEGMENTS_TO_LOAD 2
3030

3131
startMsg db "Starting loader", 0
3232
jumpingToProgramMsg db "Jumping to program..", 0

main.nasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,4 +396,4 @@ updateInterval dd 1_000_000 / 20
396396
restartDelay dd 250_000
397397

398398
%include "commonSubroutines.nasm"
399-
times (3 * 200h) - ($ - $$) db 0 ; take up 3 segments
399+
times (2 * 200h) - ($ - $$) db 0 ; take up 2 segments and assert we don't overflow beyond that

0 commit comments

Comments
 (0)