Commit 56a39cdd authored by Ian Seyler's avatar Ian Seyler

Update scripts for trailing binary support

parent 831007d9
......@@ -6,7 +6,13 @@ export OUTPUT_DIR="$PWD/sys"
cd "$OUTPUT_DIR"
echo Building OS image.
cat pure64.sys kernel.sys > software.sys
if [ "$1" != "" ]; then
cat pure64.sys kernel.sys $1 > software.sys
else
cat pure64.sys kernel.sys null.bin > software.sys
fi
dd if=mbr.sys of=disk.img conv=notrunc
dd if=software.sys of=disk.img bs=512 seek=16 conv=notrunc
cd ..
......@@ -12,6 +12,7 @@ git clone https://gitlab.com/ReturnInfinity/BareMetal.git
cd ..
cd sys
dd if=/dev/zero of=disk.img count=128 bs=1048576
dd if=/dev/zero of=null.bin count=8 bs=1
cd ..
./build.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment