From 9b3095f56d27cc49f40ca308b78f2faef88fd8af Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 12 Jan 2021 16:02:33 +0100 Subject: [PATCH] File restructure --- compile.sh | 3 ++- BIOS_equ.asm => src/BIOS_equ.asm | 0 bootloader.asm => src/bootloader.asm | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) rename BIOS_equ.asm => src/BIOS_equ.asm (100%) rename bootloader.asm => src/bootloader.asm (99%) 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