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.
How about posting your code as it is now so that everyone can get a clear idea of the changes you've made. If you know how to, get your assembler to show all the hex values as well so that it's absolutely clear how it's interpreting your code.
DavidCooper wrote:How about posting your code as it is now so that everyone can get a clear idea of the changes you've made. If you know how to, get your assembler to show all the hex values as well so that it's absolutely clear how it's interpreting your code.
I already have once; but instead, can you (or anyone) post the code for a working example? I don't need a complete bootloader, just the part for setting up the gdt and entering pmode. I've been stuck on this for almost a year and I really just wanna get past it.
EDIT:
I just tried it again and dumped the GDT with the VB debugger, and managed to figure it out myself
Turns out I was forgetting to add 0x10000 to the linear address of the gdt. I can't believe it took me this long to notice that!
A well, problem solved!