corn/src/kmain.c

8 lines
115 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 08:26:21 +00:00
*(char*)(0xB8002 + 0x20'0000) = 'd';
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
}
}