Page 1 of 1

Enter long mode via DOS

Posted: Wed Jul 02, 2008 1:44 pm
by WindowsNT
Hi there - this is my first message to this forum, although I 've read a lot.

I am trying an experimental project to enter the long mode from DOS. While I 've managed to enter the 32-bit protected mode , define segments, use LDT, use paging etc, I am not sure how to setup the paging and/or the GDT (if needed) to switch to long mode. Basically, I 'd like some clean reference on the subject , AMD docs seem somewhat confusing.

Best Regards,
Michael.

Re: Enter long mode via DOS

Posted: Wed Jul 02, 2008 2:07 pm
by Candy
There's a topic on jumping directly to long mode from realmode that has been resurrected recently. Switching from real mode to long mode directly..

Re: Enter long mode via DOS

Posted: Wed Jul 02, 2008 2:21 pm
by Combuster
There's also a page on the global steps on the wiki: X86-64

Oh and, please change your username, its bound to give you problems.