Mail Archives: djgpp/1996/12/30/11:11:01
On 30 Dec 1996 07:29:37 GMT, John Savage <102371 DOT 734 AT CompuServe DOT COM>
wrote:
>I heard there was some way to disable protected mode in DJGPP...
>what I really want to do is be able to access video RAM directly.
> Is this possible?
Disabling protection would defeat the purpose of using a protected
mode environment, but there are a few ways around it. Section 18.4 of
the FAQ begins the discussion of accessing conventional memory.
You can use dosmemget(), dosmemput(), _farpeekb(), _farpokeb(),
_farpeekw(), _farpokew(), _farpeekl(), _farpokel(), and a few others.
- Raw text -