|
|
@ -1,5 +1,8 @@ |
|
|
|
[org 0x7c00] ; bootsector |
|
|
|
[org 0x7c00] ; bootsector |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mov bx, welcomeString ; Print the welcome string |
|
|
|
|
|
|
|
call println |
|
|
|
|
|
|
|
|
|
|
|
jmp $ ; inf loop |
|
|
|
jmp $ ; inf loop |
|
|
|
|
|
|
|
|
|
|
|
;; includes |
|
|
|
;; includes |
|
|
@ -8,11 +11,11 @@ jmp $ ; inf loop |
|
|
|
%include "equ/ASCII.asm" |
|
|
|
%include "equ/ASCII.asm" |
|
|
|
|
|
|
|
|
|
|
|
; eLIB |
|
|
|
; eLIB |
|
|
|
;%include "elib/io.asm" |
|
|
|
%include "elib/io.asm" |
|
|
|
|
|
|
|
|
|
|
|
;; Data |
|
|
|
;; Data |
|
|
|
welcomeString: |
|
|
|
welcomeString: |
|
|
|
db "Welcome to eOS", ASCII_CARRIAGE_RETURN, ASCII_LINEBREAK |
|
|
|
db "Welcome to eOS", ASCII_END |
|
|
|
|
|
|
|
|
|
|
|
; Magic BIOS number |
|
|
|
; Magic BIOS number |
|
|
|
times 510-($-$$) db 0 |
|
|
|
times 510-($-$$) db 0 |
|
|
|