Mail Archives: djgpp/1997/03/26/18:54:41
Paolo Milani <pmilani AT leonardo DOT math DOT unipd DOT it> wrote in article
<3338FB32 DOT 32A78285 AT leonardo DOT math DOT unipd DOT it>...
> I've a little problem with my program: when I write to memory allocated
> by me, (malloc, etc.) it works perfectly, but when I try writing to
> memory to an arbitrary address, I get a general protection fault.
> This is ok, but how do I write to video memory, without getting a
> protection fault ?
> When I obtain the linear address where the DPMI host maps the physical
> address of the video buffer, shall I call some kind of "change rights"
> function for that memory block ?
>
> Any help would be very appreciated.
>
> Thanx.
>
>
Maybe you should have posted this to the djgpp newsgroup...
--
Dennis Moran (aka Coolio)
coolio AT coolio9 DOT com
http://coolio9.com/
- Raw text -