PMODE [GDT]

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.
Post Reply
crazysurfmonkey

PMODE [GDT]

Post by crazysurfmonkey »

Does anybody have some sample code of defining the GDT for a OS!
- Thanks
Fredrik Hellman

RE:PMODE [GDT]

Post by Fredrik Hellman »

You can always take a look at the v2os-sources at http://www.v2os.cx. If you browse the CVS, you can find the bootloader and take a look there.

Good Luck.

>On 2002-01-15 09:58:58, crazysurfmonkey wrote:
>Does anybody have some sample code of defining the GDT for a OS!
>- Thanks
Chris Giese

RE:PMODE [GDT]

Post by Chris Giese »

>On 2002-01-15 09:58:58, crazysurfmonkey wrote:
>Does anybody have some sample code of defining the GDT for a OS!
>- Thanks

http://www.execpc.com/~geezer/os/pm.htm
http://www.execpc.com/~geezer/os/pm.zip
http://www.execpc.com/~geezer/os/tiny.txt

or the startup code in my kernel:
http://www.execpc.com/~geezer/os/index.htm#cosmos
Post Reply