summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-09 17:58:41 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-09 17:58:41 +0200
commit2a83f352967435beb05582e5119b9e9e0cfefe3a (patch)
tree5cd1116a83a4681fb85e8dd857b8c9518ba4447c /src/Makefile
parent13e26c52945650293ccc5c6c31e1470f043d7d10 (diff)
downloadabaos-2a83f352967435beb05582e5119b9e9e0cfefe3a.tar.gz
abaos-2a83f352967435beb05582e5119b9e9e0cfefe3a.tar.bz2
clang kernel.bin size bump
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 24d0088..0fbf658 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,13 +13,13 @@ all: image.bin kernel.sym
# + M * 512 (M is currently 7) = 3144 for kernel.bin
# + 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, so adapt NOF_LOAD_SECTORS to 38)
+# loads only the first sector, so adapt NOF_LOAD_SECTORS to 39)
# 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 19456 image.tmp
+ truncate -s 19968 image.tmp
cat image.tmp magic.bin > image.bin
truncate -s 1474560 image.bin