www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/07/07:53:40

Xref: news2.mv.net comp.os.msdos.djgpp:4692
From: "T.W. Seddon" <T DOT W DOT Seddon AT ncl DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Simplest way to access VGA memory
Date: 6 Jun 1996 23:01:39 GMT
Organization: University of Newcastle upon Tyne
Lines: 18
Message-ID: <4p7o0j$ejg@whitbeck.ncl.ac.uk>
References: <4p7amg$pd0 AT news5 DOT erols DOT com>
NNTP-Posting-Host: pike17.ncl.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Francisco Gochez (arcanix AT pop DOT erols DOT com) wrote:
>    __djgpp_map_physical_memory(screenptr, 65536, 0xA0000);    

I was going to use this myself in a program I am writing, but when I used 
the _dpmi_get_capabilities (or whatever) function, the bit which was 
supposed to represent page mapping ability wasn't set. (I used the 
get_capabilities function in case the program was being run under a DPMI 
0.9 host)

Is this a CWSDPMI bug? I didn't try the actual function because CWSDPMI 
said it couldn't do it -- maybe I shouldn't let the computer tell me what 
to do ;-)

--Tom




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019