Page 2 of 2

Re:Implementing

Posted: Mon Sep 15, 2003 12:53 am
by Pype.Clicker
hmm .. the "DS" thing certainly shows that your new GDT's base address is screwed up. i need to get back at your code to know how and why ...

Where would you expect your GDT to be loaded ? Could it be possible that your linker decided that the "data section" should be page-aligned and that the loader did not page-align it ?

Re:Implementing

Posted: Mon Sep 15, 2003 8:32 am
by beyondsociety
Where would you expect your GDT to be loaded ?
I havent really thought about this yet. At the moment the bootloader/stub takes care of it. I havent given it any location just loaded it.

Should I load it somewhere?
Could it be possible that your linker decided that the "data section" should be page-aligned and that the loader did not page-align it ?
Im not sure what you mean?