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.
GRUB Manual wrote:All other processor registers and flag bits are undefined. This includes, in particular:
‘ESP’
The OS image must create its own stack as soon as it needs one.
‘GDTR’
Even though the segment registers are set up as described above, the ‘GDTR’ may be invalid, so the OS image must not load any segment registers (even just reloading the same values!) until it sets up its own ‘GDT’.
‘IDTR’
The OS image must leave interrupts disabled until it sets up its own IDT.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]