mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Started working on Physical memory map for memory manager
This commit is contained in:
+3
-4
@@ -11,8 +11,7 @@
|
||||
|
||||
#define PROMPT "#> "
|
||||
|
||||
// TODO: Put this at a set address
|
||||
char filetable[512];
|
||||
char* filetable = (char*)0x7000; // Pretty sure we don't have to care about the bootloader at 0x7c00
|
||||
|
||||
// Function declarations
|
||||
void printFiletable(char* ft);
|
||||
@@ -30,14 +29,14 @@ void main() {
|
||||
|
||||
// Screen setup
|
||||
// TODO: Find font in filetable
|
||||
diskRead(35, 4, (char*)0x6000); // Read font from disk
|
||||
diskRead(36, 4, (char*)0x6000); // Read font from disk
|
||||
setupScreen();
|
||||
loadFont((char*)0x6000);
|
||||
|
||||
clear();
|
||||
print("kern.\n\n");
|
||||
|
||||
diskRead(4, 1, filetable); // Read the filetable and store it in memory
|
||||
diskRead(5, 1, filetable); // Read the filetable and store it in memory
|
||||
|
||||
// Run Interactive Shell Program
|
||||
// TODO: Make it in another file
|
||||
|
||||
Reference in New Issue
Block a user