Folder reorganisation
This commit is contained in:
parent
3f19e9f0ef
commit
680563fdf5
4 changed files with 8 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
||||||
boot.bin
|
target/boot.bin
|
||||||
|
|
12
Makefile
12
Makefile
|
@ -1,8 +1,8 @@
|
||||||
compile_and_run: compile run
|
compile_and_run: compile_bootloader run_bootloader
|
||||||
|
|
||||||
compile:
|
compile_bootloader:
|
||||||
rm -rf boot.bin
|
rm -rf target/boot.bin
|
||||||
nasm -f bin -o boot.bin main.asm
|
nasm -f bin -o target/boot.bin bootloader/main.asm
|
||||||
|
|
||||||
run:
|
run_bootloader:
|
||||||
qemu-system-x86_64 -drive format=raw,file=boot.bin -drive format=raw,file=drive.bin -monitor stdio
|
qemu-system-x86_64 -drive format=raw,file=target/boot.bin -drive format=raw,file=target/kernel.bin -monitor stdio
|
||||||
|
|
|
@ -90,7 +90,7 @@ call .puthex
|
||||||
.reset_disk_no_error:
|
.reset_disk_no_error:
|
||||||
|
|
||||||
push byte 0
|
push byte 0
|
||||||
.read_disk_loop
|
.read_disk_loop:
|
||||||
pop cx
|
pop cx
|
||||||
inc cl
|
inc cl
|
||||||
push cx
|
push cx
|
Loading…
Reference in a new issue