Folder reorganisation

This commit is contained in:
Robbe Van Herck 2019-12-28 13:04:53 +01:00
parent 3f19e9f0ef
commit 680563fdf5
No known key found for this signature in database
GPG key ID: A66F76F7B81BD784
4 changed files with 8 additions and 8 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
boot.bin
target/boot.bin

View file

@ -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

View file

@ -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