From eace3b5f238e5e4eaf4c2ffcbf741616a0d6a25f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 17 Jun 2017 08:47:07 +0200 Subject: added the most complex VGA mode (640x480x4, only timings for now) added graphics and text mode type parameter to vga_mode_t --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index cb72031..3b1964f 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 158) for kernel.bin +# + M * 512 (M is currently 159) 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 158) +# adapt NOF_LOAD_SECTORS to 159) # 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 83456 image.tmp + truncate -s 83968 image.tmp cat image.tmp magic.bin > image.bin truncate -s 1474560 image.bin -- cgit v1.2.3-54-g00ecf