Mail Archives: djgpp/1997/02/22/14:51:51
Cheese Grater (Bruce Merry) wrote:
>
> Where can I get a beginner's guide to Protected Mode in general and in
> using it with DJGPP in particular?
It depends greatly on what exactly you are trying to do in protected
mode.
The first thing to keep in mind is that the DPMI support in DJGPP is
completely transparent. As long as you aren't trying to do anything
which requires interfacing with hardware, interrupts, graphics,
conventional memory, etc., you can completely ignore the memory
management system and just program away. So just go ahead and write
your programs like you always have, and they'll work fine under DJGPP.
If you do start getting into the things I mentioned (hardware interface,
interrupt handling, graphics, conventional memory, etc.), then there are
an immense number of resources at your disposal. The first thing you
should look at is the DJGPP Frequently Asked Questions list
(v2/faq210b.zip). Chapters 10, 17, 18, and 22 have lots of useful
information. Then, check out such invaluable resources as:
The DJGPP Book Project
<http://www2.ari.net/flyboy/>
Brennan's DJGPP2+Games Resources
<http://www.rt66.com/~brennan/djgpp/>
the Allegro game programming library
<ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/alleg21.zip>
<http://www.talula.demon.co.uk/allegro/>
DPMI 1.0 Programming API Specfication
<http://www.delorie.com/djgpp/doc/dpmi/>
There are lots of other places as well, and of course any specific
questions can be asked right here on the newsgroup/mailing list. :)
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| * Proud user of DJGPP! * | http://www.cs.com/fighteer |
| ObJoke: If Bill Gates were a robber, not only would he |
| shoot you, but he'd send you a bill for the bullets. |
---------------------------------------------------------------------
- Raw text -