summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-17 08:47:07 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-17 08:47:07 +0200
commiteace3b5f238e5e4eaf4c2ffcbf741616a0d6a25f (patch)
tree6b4ceb442fe2729c8d22aa1231bb20d8144ea076 /src/Makefile
parent0061eeb77f73a7832c4c72aba8dd56dc91743171 (diff)
downloadabaos-eace3b5f238e5e4eaf4c2ffcbf741616a0d6a25f.tar.gz
abaos-eace3b5f238e5e4eaf4c2ffcbf741616a0d6a25f.tar.bz2
added the most complex VGA mode (640x480x4, only timings for now)
added graphics and text mode type parameter to vga_mode_t
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
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