delorie.com/archives/browse.cgi | search |
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: | <bwS_6.65731$_T2 DOT 17269145 AT typhoon DOT tampabay DOT rr DOT com> |
NNTP-Posting-Host: | 128.253.251.163 |
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" <para AT tampabay DOT rr DOT com> wrote in message news:<bwS_6.65731$_T2 DOT 17269145 AT typhoon DOT tampabay DOT rr DOT com>... > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |