Newsgroups: comp.os.msdos.djgpp,rec.games.programmer From: "Dennis Moran" Subject: Re: DJGPP help Message-ID: <01bc3a0c$529d7280$520520ce@coolio-s-server> Date: Wed, 26 Mar 1997 17:44:49 GMT References: <3338FB32 DOT 32A78285 AT leonardo DOT math DOT unipd DOT it> Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Paolo Milani 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/