diff --git a/src/bootloader.asm b/src/bootloader.asm index b685912..f07345c 100644 --- a/src/bootloader.asm +++ b/src/bootloader.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 diff --git a/src/elib/io.asm b/src/elib/io.asm index 939ec03..10ed003 100644 --- a/src/elib/io.asm +++ b/src/elib/io.asm @@ -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