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:
|
||||
rm -rf boot.bin
|
||||
nasm -f bin -o boot.bin main.asm
|
||||
compile_bootloader:
|
||||
rm -rf target/boot.bin
|
||||
nasm -f bin -o target/boot.bin bootloader/main.asm
|
||||
|
||||
run:
|
||||
qemu-system-x86_64 -drive format=raw,file=boot.bin -drive format=raw,file=drive.bin -monitor stdio
|
||||
run_bootloader:
|
||||
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:
|
||||
|
||||
push byte 0
|
||||
.read_disk_loop
|
||||
.read_disk_loop:
|
||||
pop cx
|
||||
inc cl
|
||||
push cx
|
Loading…
Reference in a new issue