Page 1 of 1

C program to get into protected mode

Posted: Sat Mar 29, 2003 12:00 am
by shahzad
can i write a C program to convert into protected mode?
or any have it plz send me
or refer me to any link
also,what is the meaning of "16bit protected mode".

RE:C program to get into protected mode

Posted: Sun Mar 30, 2003 12:00 am
by carbonBased
ANSI C has no facilities to enter and/or exit protected mode.  You'll need to use assembly.

There are many examples in the links at the top of this page, if you need examples.

Cheers,
Jeff