Page 1 of 1

PMODE [GDT]

Posted: Tue Jan 15, 2002 12:00 am
by crazysurfmonkey
Does anybody have some sample code of defining the GDT for a OS!
- Thanks

RE:PMODEĀ [GDT]

Posted: Tue Jan 15, 2002 12:00 am
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

RE:PMODEĀ [GDT]

Posted: Tue Jan 15, 2002 12:00 am
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