Minimal Code to Jump from Bootloader to Kernel in C++

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Geron
Posts: 1
Joined: Sat Jul 20, 2024 2:44 am

Minimal Code to Jump from Bootloader to Kernel in C++

Post by Geron »

Hi, I want to write a kernel in C++, but the tutorials I followed to jump from the bootloader to the kernel were either too complex, adding other elements that complicated the code, or they didn't work at all. Could someone provide me with the most minimalist working code possible to understand how it works and apply it?
(i386 Compiler)(x86)
nullplan
Member
Member
Posts: 1790
Joined: Wed Aug 30, 2017 8:24 am

Re: Minimal Code to Jump from Bootloader to Kernel in C++

Post by nullplan »

My suggestion would be to not rely on tutorials, but rather read documentation until you understand it. Find out what it is your bootloader has, and your kernel needs, and find the code that connects the two. So basically the same old three questions: Where are you, where do you want to be, and how do you get from here to there?
Carpe diem!
Post Reply