Minor changes

This commit is contained in:
2024-04-26 12:11:44 +02:00
parent c3d2ccd90d
commit 9032052e23
3 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
__attribute__ ((section ("entry"))) __attribute__ ((section ("entry")))
void main() { void main() {
uint32_t wait = 0xffffffff; uint32_t wait = 0x1fffffff;
putc('a'); print("kern.\n\n");
while (wait--); while (wait--);
-2
View File
@@ -19,7 +19,6 @@ uint32_t memmapAddr = 0x30000;
void printFiletable(char* ft); void printFiletable(char* ft);
void printPhysicalMemmap(); void printPhysicalMemmap();
__attribute__ ((section ("entry"))) // Make sure that main() is at the start of kernel.bin
void main() { void main() {
// Interrupts // Interrupts
setupIdt(); setupIdt();
@@ -50,7 +49,6 @@ void main() {
// Screen setup // Screen setup
// TODO: Find font in filetable // TODO: Find font in filetable
diskRead(36, 4, (char*)0x6000); // Read font from disk diskRead(36, 4, (char*)0x6000); // Read font from disk
// loadFont((char*)0x6000);
clear(); clear();
print("kern.\n\n"); print("kern.\n\n");
-1
View File
@@ -1,6 +1,5 @@
SECTIONS { SECTIONS {
.text 0x1000 : { .text 0x1000 : {
*(entry);
*(.text*); *(.text*);
} }
.data : { .data : {