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" %include "elib/io.asm"
;; Data ;; Data
welcomeString: welcomeString: db "Welcome to eOS", ASCII_END
db "Welcome to eOS", ASCII_END
; Magic BIOS number ; Magic BIOS number
times 510-($-$$) db 0 times 510-($-$$) db 0

@ -24,10 +24,10 @@ print:
popa ; restore all registers popa ; restore all registers
ret ; return to previous location 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: println:
pusha pusha

Loading…
Cancel
Save