move defines.s to include directory

This commit is contained in:
pantonshire committed 2024-08-25 11:23:43 +01:00
1 parent d55d71059f
commit 559a4275ba
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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();
} }
View File
File renamed without changes.
+2 -2
View File
@@ -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