pull/1/head
E. Almqvist 4 years ago
parent 8c21f37841
commit df2db14bba
  1. 3
      src/bootloader.asm
  2. 6
      src/elib/io.asm

@ -14,8 +14,7 @@ jmp $ ; inf loop
%include "elib/io.asm"
;; Data
welcomeString:
db "Welcome to eOS", ASCII_END
welcomeString: db "Welcome to eOS", ASCII_END
; Magic BIOS number
times 510-($-$$) db 0

@ -24,10 +24,10 @@ print:
popa ; restore all registers
ret ; return to previous location
; Subroutine to print a string on a new line
newline:
db ASCII_CARRIAGE_RETURN, ASCII_LINEBREAK, ASCII_END
newline: db ASCII_CARRIAGE_RETURN, ASCII_LINEBREAK, ASCII_END ; used for printing newlines
; Subroutine to print a string on a new line
println:
pusha

Loading…
Cancel
Save