summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <benji3.141@gmail.com>2020-05-24 21:55:12 -0400
committerBenji Dial <benji3.141@gmail.com>2020-05-24 21:55:12 -0400
commit021ea9b271f2144f7b16ae41a9236292dea7897d (patch)
tree77bae3af854f9ff1fb0298ae1f71b1395a392cc1 /makefile
parent02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 (diff)
downloadportland-os-021ea9b271f2144f7b16ae41a9236292dea7897d.tar.gz
basic fs type stuff, fat16, removing stack segment and using data segment
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 503fcca..ab08254 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
disk: kernel boot
mkdir -p obj out
- /sbin/mkfs.fat -C -f 1 -F 12 -n "PORTLAND OS" -R 17 obj/shadow.img 8192
+ /sbin/mkfs.fat -C -f 1 -F 16 -n "PORTLAND OS" -R 17 -s 1 -S 512 obj/shadow.img 8192
echo -n -e '\xeb\x3c' > obj/jmp.bin
dd if=obj/jmp.bin of=obj/shadow.img obs=2 conv=notrunc
dd if=out/boot.bin of=obj/shadow.img obs=1 seek=62 conv=notrunc