Help with GDT in bootloader

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
icr09
Posts: 11
Joined: Fri Oct 02, 2026 3:06 pm

Help with GDT in bootloader

Post by icr09 »

Hi, I'm developing a bootloader for the i386 architecture from scratch and need some help with the transition from real mode (16-bit) to protected mode (32-bit)—specifically regarding the GDT, as I haven't been able to find resources explaining how to set it up. Could someone help me with a tutorial or teach me how to do it?
Octocontrabass
Member
Member
Posts: 6275
Joined: Mon Mar 25, 2013 7:01 pm

Re: Help with GDT in bootloader

Post by Octocontrabass »

User avatar
iansjack
Member
Member
Posts: 4935
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Help with GDT in bootloader

Post by iansjack »

Have you read the Intel Programmer’s manuals?
Post Reply