i found from the internet the sequence for
switching from real mode to protected mode is like this:
1) setup GDT
2) set PE bit in CR0
3) jmp far
but i still don't know how to code
could anybody show me a sample code please?
Switching to Protected Mode
http://www.jamesmolloy.co.uk/
http://www.osdever.net/tutorials.php?cat=4&sort=1
..and of course, our own wiki.
Cheers,
Adam
[Edit]JamesM's page seems to be down at the moment - I guess just a temporary glitch...[/Edit]
http://www.osdever.net/tutorials.php?cat=4&sort=1
..and of course, our own wiki.
Cheers,
Adam
[Edit]JamesM's page seems to be down at the moment - I guess just a temporary glitch...[/Edit]
-
- Member
- Posts: 127
- Joined: Sat Sep 29, 2007 5:43 pm
- Location: Amsterdam, The Netherlands
Philip, why not bother searching around on the osdev.org wiki? There stands everything you need for this.
www.brokenthorn.com goes even more into the thing you want to do.
Regards, Stephan J.R. van Schaik.
www.brokenthorn.com goes even more into the thing you want to do.
Regards, Stephan J.R. van Schaik.