From d6b64c65a0d09dba96a65edd2959bd58fe781fcc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 14 May 2017 19:20:38 +0200 Subject: some small fixes, clang image overload (magic doesn't work, most likely because memory is not wiped between qemu invocations) --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 52a628b..c2b91fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,8 +11,8 @@ image.bin: boot.bin kernel.bin magic.bin # + 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 10) - truncate -s 5632 image.tmp + # loads only the first sector, so adapt NOF_LOAD_SECTORS to 12) + truncate -s 6656 image.tmp cat image.tmp magic.bin > image.bin boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm -- cgit v1.2.3-54-g00ecf