From bd7bf3ee859c46c561b24022be8b0fa602656d0f Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 12 Jan 2021 19:05:46 +0100 Subject: [PATCH] Removed unneeded stuff --- src/bootloader.asm | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/bootloader.asm b/src/bootloader.asm index 6a8b7e8..7ec8b10 100644 --- a/src/bootloader.asm +++ b/src/bootloader.asm @@ -23,25 +23,25 @@ mov al, ASCII_LINEBREAK ; 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: - ; Print the alphabetic char - inc al ; move to next char - int BIOS_INT ; bios interupt to print it - - push ax ; push ax onto stack - - ; newline - mov al, ASCII_CARRIAGE_RETURN - int BIOS_INT - mov al, ASCII_LINEBREAK - int BIOS_INT - - ; Prepair for next iteration - pop ax ; restore - - cmp al, 90 ; 26 letters in english alphabet (64 + 26) - jl loop ; if al < 64+26: jmp loop +;; mov al, 64 ; one less than A since we are printing in a loop and it increments before sys interupt +;; loop: +;; ; Print the alphabetic char +;; inc al ; move to next char +;; int BIOS_INT ; bios interupt to print it + +;; push ax ; push ax onto stack + +;; ; newline +;; mov al, ASCII_CARRIAGE_RETURN +;; int BIOS_INT +;; mov al, ASCII_LINEBREAK +;; int BIOS_INT + +;; ; Prepair for next iteration +;; pop ax ; restore + +;; cmp al, 90 ; 26 letters in english alphabet (64 + 26) +;; jl loop ; if al < 64+26: jmp loop jmp $