Stack bug fix

pull/3/head
E. Almqvist 4 years ago
parent 6f97e5eeff
commit 8e27e54583
  1. 8
      src/bootloader.asm

@ -26,14 +26,14 @@ loop:
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 al ; push al onto stack push ax ; push ax onto stack
; Print a linebreak ; Print a linebreak
;mov al, ASCII_LINEBREAK mov al, ASCII_LINEBREAK
;int BIOS_INT int BIOS_INT
; Prepair for next iteration ; Prepair for next iteration
;pop al ; return to char 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

Loading…
Cancel
Save