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(
&out_dir.join("prelude.bin"),
&["asm/prelude.s".as_ref()],
&["..".as_ref()],
&["../include".as_ref()],
).unwrap();
}

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

Loading…
Cancel
Save