summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 07:06:13 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-06-15 07:06:13 +0200
commitedad38a5a2dca96f5bea513d11eccf1134046d47 (patch)
tree654f0d62874c77804ab310cc9ba0082a9c053de4 /src/Makefile
parent397b8b28d59483388f37dcd1771bde8f867a10cd (diff)
downloadabaos-edad38a5a2dca96f5bea513d11eccf1134046d47.tar.gz
abaos-edad38a5a2dca96f5bea513d11eccf1134046d47.tar.bz2
made framebuffer segment a member of vga_mode_t, computing it once
when vga_set_mode is called (because it will not change after every pixel)
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 c1dfd2b..d32d3c1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -15,13 +15,13 @@ all: image.bin kernel.sym
# + 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, and stage 1 loads 3 sectors of stage 2,
-# adapt NOF_LOAD_SECTORS to 41)
+# adapt NOF_LOAD_SECTORS to 44)
# 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 22528 image.tmp
+ truncate -s 24064 image.tmp
cat image.tmp magic.bin > image.bin
truncate -s 1474560 image.bin