skni-kod / MicrOS

32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
51 stars 6 forks source link

New bootloader required, kernel overrides vga memory and stack. #116

Closed MinusPL closed 2 years ago

MinusPL commented 2 years ago

Current bootloader loads kernel at 0xF000, after it reaches more than 570 KiB in memory (not only physical size on floppy, but also BSS section which is allocated dynamically) it will start to behave weird and cause countless amount of random issues due to memory of kernel being changed during runtime.

New loader should be developed, that will load kernel into upper memory (over first 1 MiB). Also due to limitations it is advised to make it as two stage bootloader.