summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-16 19:36:10 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-16 19:36:10 +0200
commit0061eeb77f73a7832c4c72aba8dd56dc91743171 (patch)
tree4387e1ea40cd1e804cb077ddbabc7509cd26f530 /src/Makefile
parentdd7cbebcb41381fdb87e5c8e4d9d988337919c9c (diff)
downloadabaos-0061eeb77f73a7832c4c72aba8dd56dc91743171.tar.gz
abaos-0061eeb77f73a7832c4c72aba8dd56dc91743171.tar.bz2
playing with VGA font distance and characters bei being on the head or mirrored
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 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