Files
JPOS/initrd/vga/main.c
Justus Wolff 115b4c88a1 first commit
2026-02-26 00:06:36 +01:00

9 lines
216 B
C

void main() {
volatile char *video = (volatile char*)0xB8000; // small welcome message
char* welcome = "Hello VGA, World!";
while (*welcome != 0) {
*video++ = *welcome++;
*video++ = 15;
}
}