summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 659d86d..a512ddb 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@
#lets use the size of a 1.44 floppy for a start for our boot img
IMAGE_SIZE=1474560
+
+#font data starts at 0x8000
+FONT_DATA_START=25600
+
#data starts at 0x8000
DATA_START=32768
@@ -20,7 +24,7 @@ FoolOS.img: Fool.img FoolData.img fill.bin
cat $^ | head -c $(IMAGE_SIZE) > $@
Fool.img: mbr.bin kernel.bin fill.bin
- cat $^ | head -c $(DATA_START) > $@
+ cat $^ | head -c $(FONT_DATA_START) > $@
FoolData.img: binfont.bin
cat $^ > $@