From 8fb9efc08388d3a866cfdf911b07e372de24b556 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 14 Jun 2017 20:48:16 +0200 Subject: got switch to graphical VGA mode working --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index a5aa9d0..c1dfd2b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -15,13 +15,13 @@ all: image.bin kernel.sym # + 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, and stage 1 loads 3 sectors of stage 2, -# adapt NOF_LOAD_SECTORS to 37) +# adapt NOF_LOAD_SECTORS to 41) # 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 20480 image.tmp + truncate -s 22528 image.tmp cat image.tmp magic.bin > image.bin truncate -s 1474560 image.bin -- cgit v1.2.3-54-g00ecf