diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-08-27 11:41:40 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-08-27 11:41:40 +0200 |
| commit | 2b194b83286424408694bd9b230b816736fd6c5f (patch) | |
| tree | e35834b8989158825d96285aae40e9fecd34c856 /Makefile | |
| parent | 13dd8822cf60ad30fb346bbb0dfa6875e3abd46a (diff) | |
added simple binary font data
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -9,14 +9,25 @@ #lets use the size of a 1.44 floppy for a start for our boot img IMAGE_SIZE=1474560 +#data starts at 0x8000 +DATA_START=32768 #final image all: FoolOS.img #assembling of final image -FoolOS.img: mbr.bin kernel.bin fill.bin +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) > $@ + +FoolData.img: binfont.bin + cat $^ > $@ + +binfont.bin: binfont.src + python makefont.py + #some data just to fill up to the target image_size fill.bin: boot/fill.asm nasm -f bin $^ -o $@ |
