From 0061eeb77f73a7832c4c72aba8dd56dc91743171 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 16 Jun 2017 19:36:10 +0200 Subject: playing with VGA font distance and characters bei being on the head or mirrored --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 68f3a0f..cb72031 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,16 +11,16 @@ all: image.bin kernel.sym # truncate to correct number of sectors, we have # 512 (boot, stage 1) + N * 512 (N currenty is 5, stage 2) for boot.bin -# + M * 512 (M is currently 156) for kernel.bin +# + M * 512 (M is currently 158) for kernel.bin # (M + N + 1 is the number of sectors to be read in stage 2, as stage 1 # loads only the first sector, and stage 1 loads 5 sectors of stage 2, -# adapt NOF_LOAD_SECTORS to 156) +# adapt NOF_LOAD_SECTORS to 158) # then we make sure the image has the size of a 1.44 MB floppy # (emulators like qemu do some guess work for CHS resolution based # on the size of the image) image.bin: boot.bin kernel.bin magic.bin cat boot.bin kernel.bin > image.tmp - truncate -s 82432 image.tmp + truncate -s 83456 image.tmp cat image.tmp magic.bin > image.bin truncate -s 1474560 image.bin -- cgit v1.2.3-54-g00ecf