delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:3702 |
Path: | news-dnh.mv.net!mv!barney.gvi.net!news.sprintlink.net!cs.utexas.edu!academ!bcm.tmc.edu!newsfeed.rice.edu!rice!news!sandmann |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Graphics in V2 |
Date: | Wed, 06 Dec 1995 09:37:57 CST |
Organization: | Rice University, Houston, Texas |
Lines: | 11 |
References: | <DJ46K2 DOT 8D6 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 |
> What address is the VGA buffer mapped to in V2 ? It's not mapped by default in the linear space. You can either access it with the farptr functions or the nearptr functions. Emulated linear buffers (ie 0xd00xxxxx) are not supported. Use the conventional_memory selector with offset 0x0a0000. If your video card has the capabilities of mapping a linear buffer in extended memory, there is a VBE.ZIP example floating around which shows how to turn this on and directly write to the card with both near pointers and far pointers.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |