From: Sinan_Unur AT mail DOT com (A. Sinan Unur) Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI problem Date: 29 Jun 2001 08:13:33 -0700 Organization: http://groups.google.com/ Lines: 20 Message-ID: <426926da.0106290713.1e79eb2c@posting.google.com> References: NNTP-Posting-Host: 128.253.251.163 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 993827614 24429 127.0.0.1 (29 Jun 2001 15:13:34 GMT) X-Complaints-To: groups-support AT google DOT com NNTP-Posting-Date: 29 Jun 2001 15:13:34 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Matt" wrote in message news:... > I have a game which accesses VGA memory (A000:0000) directly. In 16-bit > mode, that's ok, but to get it to run under DJGPP I either have to rewrite > the thing or map VGA memory to linear memory. There is a function to do > that, but I can only do it with a DPMI 1.0 server. it is really straightforward to use the farptr and movedata functions to access video memory. for an example, you can take a look at: http://www.unur.com/comp/c-examples.html. There is really no overhead to using these functions. Sinan. -- A. Sinan Unur http://www.unur.com/