2024-07-24 17:02:54 +00:00
|
|
|
; Bootloader
|
|
|
|
%include "boot.asm"
|
2024-07-24 15:41:52 +00:00
|
|
|
|
2024-07-24 17:16:51 +00:00
|
|
|
|
|
|
|
section KERNEL follows=BOOTSECTOR vstart=1000h
|
|
|
|
|
2024-07-24 15:41:52 +00:00
|
|
|
main:
|
2024-07-24 19:27:55 +00:00
|
|
|
mov bx, 24734
|
|
|
|
call print_uint
|
2024-07-24 15:41:52 +00:00
|
|
|
|
|
|
|
jmp $ ; Halt
|
2024-07-24 17:02:54 +00:00
|
|
|
|
|
|
|
; Libs
|
2024-07-24 15:41:52 +00:00
|
|
|
%include "print_util.asm"
|
2024-07-24 17:02:54 +00:00
|
|
|
|
|
|
|
; Data
|
|
|
|
HELLO_WORLD:
|
|
|
|
db 'Hello, world! :D', 0
|