aboutsummaryrefslogtreecommitdiffstats
path: root/src/kernel/kernel.asm
blob: ca7339ef2c1ccb063d6c0b87330d57c4b7912ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;; kernel.asm
[bits 32]
[org 0x10000]

_kernel_entry:  
        cli                         ; No interrupts yet

        call _clear_screen
        mov esi, welcome_msg
        call _print_string_pm_vga
        
.halt: hlt
        jmp .halt

welcome_msg:
        db "Welcome...", 0
        
%include "common.asm"
%include "common.protmode.print.asm"
%include "common.protmode.clear.asm"