From d1cefde0065be153be3b66c5729eac3b6869155b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 1 May 2017 18:28:00 +0200 Subject: added some primitive VGA functions and rewrote kernel.c greeting --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index fcde58d..0d9cc1e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,8 +7,8 @@ all: image.bin image.bin: boot.bin kernel.bin cat boot.bin kernel.bin > image.bin # truncate to correct number of sectors, we have - # 512 (boot, first stage) + N * 512 (N currenty is 3) + M * 512 (M is currently 2) - truncate -s 3072 image.bin + # 512 (boot, first stage) + N * 512 (N currenty is 3) + M * 512 (M is currently 3) + truncate -s 3584 image.bin boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm nasm boot.asm -f bin -o boot.bin -- cgit v1.2.3-54-g00ecf