Mail Archives: djgpp/2002/07/10/18:47:07
There's a lot more behind the scenes than what you, the programmer,
sees.
First, you need a DPMI server. It does the actual switches between
real and protected mode.
Second, you need djgpp's stub loader, a 2k chunk of 16-bit code that
loads the program into memory and performs the initial switch into
protected mode.
Third, you need djgpp's crt0.o and friends which parse command line
options, initialize stdio, etc.
Fourth, you need djgpp's C library, which manages the DPMI calls to
perform such functions as open(), exit(), etc.
The net effect of all this is to allow you, the programmer, to write
protected mode programs without having to worry about the protected
mode part of it.
- Raw text -