Removed unneeded stuff

pull/1/head
E. Almqvist 4 years ago
parent e55a90e358
commit bd7bf3ee85
  1. 38
      src/bootloader.asm

@ -23,25 +23,25 @@ mov al, ASCII_LINEBREAK ; linebreak
int BIOS_INT int BIOS_INT
; ALPHABET PRINT ; ALPHABET PRINT
mov al, 64 ; one less than A since we are printing in a loop and it increments before sys interupt ;; mov al, 64 ; one less than A since we are printing in a loop and it increments before sys interupt
loop: ;; loop:
; Print the alphabetic char ;; ; Print the alphabetic char
inc al ; move to next char ;; inc al ; move to next char
int BIOS_INT ; bios interupt to print it ;; int BIOS_INT ; bios interupt to print it
push ax ; push ax onto stack ;; push ax ; push ax onto stack
; newline ;; ; newline
mov al, ASCII_CARRIAGE_RETURN ;; mov al, ASCII_CARRIAGE_RETURN
int BIOS_INT ;; int BIOS_INT
mov al, ASCII_LINEBREAK ;; mov al, ASCII_LINEBREAK
int BIOS_INT ;; int BIOS_INT
; Prepair for next iteration ;; ; Prepair for next iteration
pop ax ; restore ;; pop ax ; restore
cmp al, 90 ; 26 letters in english alphabet (64 + 26) ;; cmp al, 90 ; 26 letters in english alphabet (64 + 26)
jl loop ; if al < 64+26: jmp loop ;; jl loop ; if al < 64+26: jmp loop
jmp $ jmp $

Loading…
Cancel
Save