summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-02 17:48:14 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-02 17:48:14 +0200
commitbb4b53475cbd5ddc72200dcb8080fe3d324ffc34 (patch)
tree3d89234d940d8da9b3a55093287da1fa2a9f7285 /src/Makefile
parent9d33a61d88910027dd33fe6febfc52fb4e204ff7 (diff)
downloadabaos-bb4b53475cbd5ddc72200dcb8080fe3d324ffc34.tar.gz
abaos-bb4b53475cbd5ddc72200dcb8080fe3d324ffc34.tar.bz2
..
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 37ad6fe..3b21ab3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,10 +13,10 @@ 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 22)
+# loads only the first sector, so adapt NOF_LOAD_SECTORS to 24)
image.bin: boot.bin kernel.bin magic.bin
cat boot.bin kernel.bin > image.tmp
- truncate -s 11264 image.tmp
+ truncate -s 12288 image.tmp
cat image.tmp magic.bin > image.bin
boot.bin: boot.asm boot_gdt.asm stage1_functions.asm stage2_functions.asm stage2_switch_mode.asm stage2_a20.asm