This commit is contained in:
2021-08-21 20:32:20 -05:00
commit b7156335cd
14 changed files with 410 additions and 0 deletions

8
src/kernel.cpp Normal file
View File

@@ -0,0 +1,8 @@
// Called by boot.asm
void main() {
// Create pointer to a char and point to the first text cell of VGA
char* video_memory = (char*) 0xb8000;
// Write the char X to the video memory to display it on the top-left of screen
*video_memory = 'X';
}