corn/src/kmain.c

7 lines
77 B
C
Raw Normal View History

2024-01-27 04:30:26 +00:00
void kmain() {
2024-01-27 07:18:08 +00:00
*(char*)0xB8000 = 'c';
2024-01-27 03:29:49 +00:00
while(1) {
2024-01-27 07:18:08 +00:00
__asm("cli; hlt");
2024-01-27 03:29:49 +00:00
}
}