www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/11/04/21:18:04

Xref: news-dnh.mv.net comp.os.msdos.djgpp:3043
Path: news-dnh.mv.net!mv!news.sprintlink.net!news.uoregon.edu!hunter.premier.net!news.jmls.edu!chi-news.cic.net!newsfeed.internetmci.com!news.sesqui.net!rice!news!sandmann
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 2 Meg cards mapping of memory
Date: Fri, 03 Nov 1995 17:21:07 CST
Organization: Rice University, Houston, Texas
Lines: 16
References: <DHH8L9 DOT C6o AT jade DOT mv DOT net>
Reply-To: sandmann AT clio DOT rice DOT edu
Nntp-Posting-Host: clio.rice.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

> I have a video card with 2 Meg of memory which can be mapped to a flat

Doing this with GO32 is a lost cause, since it's a dead product.

> Since I am not totally clueless on the VGA I would be willing to work on
> getting either or both of these to work with some help from the go32
> developer. Unfortunately I don't have Borland C (just MS Visual C++).

Do it under DPMI and it will be V2 compatible, work with V1 also, and
require no additional tools.

V2 development is probably easier since all the dpmi API calls are
already written and prototyped for you.  Call the 0x800 (?) call to
map the card into virtual memory, then allocate a selector for accesses
with the fartpr functions.  You should also be able to use the nearptr
functions under V2.  

- Raw text -


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