Created physical memory manager. moved printMemoryMap to kernel

This commit is contained in:
2024-04-25 21:06:22 +02:00
parent 71be1523b3
commit 753c983c9d
5 changed files with 153 additions and 37 deletions
+2 -2
View File
@@ -14,11 +14,11 @@ struct cursor_s {
uint32_t y;
};
char* font;
static char* font;
uint32_t* vidmem;
uint16_t bytesPerScanline;
struct cursor_s cursor = { 0, 0 };
static struct cursor_s cursor = { 0, 0 };
void setupScreen() {
vidmem = *(uint32_t**)(MODE_INFO_BLOCK + 40); // Vidmem pointer location