Mail Archives: djgpp/1997/05/18/01:49:43
Andrea Martino wrote:
>
> I want to acces video memory (0xA0000), but, when I try to do it, the
> compiler returns a SIGSEG. I have to tell the compiler that I CAN
> "touch" and "write" the video memory, but I don`t know how to do this.
> What is the best way to do this?
You need to do two things. First, get the DJGPP FAQ (v2/faq210b.zip
from SimTel) and read chapters 10, 17, and 18, in that order. Second,
grab Allegro (v2tk/alleg22.zip from SimTel), and use it instead of
messing with all that nasty DPMI stuff. ;)
Good luck!
--
---------------------------------------------------------------------
| 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 -