Skip to content

Commit

Permalink
Fix build, fix sizing/spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpiroman committed Feb 15, 2020
1 parent a18f763 commit 5e73cbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion loader.nasm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ db "FAT16 " ; file system type

%define STACK_BASE_ADDR 1000h
%define PROGRAM_LOAD_ADDR 1000h
%define SEGMENTS_TO_LOAD 4
%define SEGMENTS_TO_LOAD 2

startMsg db "Starting loader", 0
jumpingToProgramMsg db "Jumping to program..", 0
Expand Down
2 changes: 1 addition & 1 deletion main.nasm
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,4 @@ updateInterval dd 1_000_000 / 20
restartDelay dd 250_000

%include "commonSubroutines.nasm"
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 comments on commit 5e73cbb

Please sign in to comment.