Xref: news-dnh.mv.net comp.os.msdos.djgpp:3170 Path: news-dnh.mv.net!mv!news.sprintlink.net!news.uoregon.edu!gatech2!ncar!newsxfer.itd.umich.edu!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!info.ucla.edu!nntp.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!newsfeed.rice.edu!rice!news!sandmann From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Mapping physical->linear Date: Sat, 11 Nov 1995 10:27:25 CST Organization: Rice University, Houston, Texas Lines: 12 References: <47o6ci$fen AT voyager DOT Internex 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 need to map a region of physical memory into my program's > linear address space. I'm trying to map a video card's graphic's memory so > that I can address it with a near (32-bit) pointer. A V2 example which shows both far pointer and near pointer access examples is on ftp.neosoft.com:pub/users/s/sandmann/vbe.zip (2Kb). The near pointer code needs the latest patches to V2B3 (ie won't compile without them) to work without recomputing the pointer. Please, no comments or questions on the code - the sbrk() stuff is still in development flux so may change. But this should be enough of an example to get started.