Mail Archives: djgpp/1997/04/16/21:03:13
Derek Greene wrote:
>
> is tehre any kind of segment operator or or function in djgpp?
It depends on what you need one for. DJGPP runs in flat model 32-bit
protected mode, meaning that the entire program fits in a single segment
with an upper limit of 4 GB. You don't need segments to access anything
inside your address space.
To access memory outside of your address space, you need to use one of
several techniques to prevent your programs from violating memory
protection. You cannot, for instance, directly access the VGA memory at
0xa0000 without one of these techniques. Please download the DJGPP FAQ
(v2/faq210b.zip from SimTel) and read chapters 10, 17, and 18 - all the
information you need should be there.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -