diff --git a/compile.sh b/compile.sh index 929f01e..eaa433d 100755 --- a/compile.sh +++ b/compile.sh @@ -1,5 +1,6 @@ #!/usr/bin/bash +srcDir=src binDir=bin -nasm -f bin bootloader.asm -o $binDir/bootloader.bin +nasm -f bin $srcDir/bootloader.asm -o $binDir/bootloader.bin diff --git a/BIOS_equ.asm b/src/BIOS_equ.asm similarity index 100% rename from BIOS_equ.asm rename to src/BIOS_equ.asm diff --git a/bootloader.asm b/src/bootloader.asm similarity index 99% rename from bootloader.asm rename to src/bootloader.asm index 960ba59..43e5c8a 100644 --- a/bootloader.asm +++ b/src/bootloader.asm @@ -14,8 +14,6 @@ mov al, 10 ; linebreak int BIOS_INT ; ALPHABET PRINT - - mov al, 64 ; one less than A since we are printing in a loop and it increments before sys interupt loop: inc al ; move to next char