Mail Archives: djgpp/1998/01/28/19:46:10
Liche wrote:
>
> Does djgpp not support the far keyword? For example: char far* test =
> (char far*) 0x00000000L.
Why should it? DJGPP is a 32-bit compiler, and therefore has no use for
any of those silly real mode addressing tricks.
If you want to access memory addresses at fixed locations (such as VGA
memory) that are not mapped into your program's address space, then you
must use one of the interfaces provided by DJGPP for that purpose. I
won't get into the details here, but they are described fully in chapter
10 of the DJGPP Frequently Asked Questions list (v2/faq210b.zip from
SimTel or online at http://www.delorie.com/djgpp/v2faq/).
--
---------------------------------------------------------------------
| John M. Aldrich | "Autocracy is based on the assumption|
| aka Fighteer I | that one man is wiser than a million |
| mailto:fighteer AT cs DOT com | men. Let's play that over again, |
| http://www.cs.com/fighteer | too. Who decides?" - Lazarus Long |
---------------------------------------------------------------------
- Raw text -