From 39c9cedecc05f7cc35208540044fdc123829e347 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 21 May 2017 16:07:35 +0200 Subject: interrupts are working, some problems with corrupt stack --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 9ffa885..01a61de 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,10 +13,10 @@ all: image.bin kernel.sym # + M * 512 (M is currently 7) = 3144 for kernel.bin # + 1 * 512 = 512 for magic.bin # (M + N + 1 is the number of sectors to be read in stage 2, as stage 1 -# loads only the first sector, so adapt NOF_LOAD_SECTORS to 18) +# loads only the first sector, so adapt NOF_LOAD_SECTORS to 19) image.bin: boot.bin kernel.bin magic.bin cat boot.bin kernel.bin > image.tmp - truncate -s 9216 image.tmp + truncate -s 9728 image.tmp cat image.tmp magic.bin > image.bin boot.bin: boot.asm boot_gdt.asm stage1_functions.asm stage2_functions.asm stage2_switch_mode.asm stage2_a20.asm -- cgit v1.2.3-54-g00ecf