move defines.s to include directory

main
pantonshire 1 year ago
parent d55d71059f
commit 559a4275ba

@ -36,7 +36,7 @@ fn build_asm(nasm: &Nasm, out_dir: &Path) {
nasm.assemble( nasm.assemble(
&out_dir.join("prelude.bin"), &out_dir.join("prelude.bin"),
&["asm/prelude.s".as_ref()], &["asm/prelude.s".as_ref()],
&["..".as_ref()], &["../include".as_ref()],
).unwrap(); ).unwrap();
} }

@ -6,8 +6,8 @@ run:
-drive format=raw,file=disk.bin -drive format=raw,file=disk.bin
build: build:
nasm -f bin -o boot0.bin boot0.s nasm -f bin -Iinclude -o boot0.bin boot0.s
nasm -f bin -o boot1.bin boot1.s nasm -f bin -Iinclude -o boot1.bin boot1.s
zero_disk: zero_disk:
dd if=/dev/zero of=disk.bin bs=512 count=1000 dd if=/dev/zero of=disk.bin bs=512 count=1000

Loading…
Cancel
Save