delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/21/16:07:09

Date: Wed, 21 Sep 1994 12:49:07 -0700 (PDT)
From: Darwin Hawes <hawes AT physics DOT ubc DOT ca>
Subject: DJGPP and linear addressing above main memory
To: djgpp <djgpp AT sun DOT soe DOT clarkson DOT edu>

I'm trying to interface a video grabber card to a C program.  The card
maps its image directly into memory above the 12MB mark.  How can I read
this memory.  I tried using a pointer and adding 0x10000000 (can't
remember how many zeros), but it just generated a protected memory fault. 
Just copying blocks of memory into low memory would probably be
sufficient, but for speed reasons, I would prefer to just access the
memory directly. 

##########=========================-------------------------------------*
# Darwin Hawes  <hawes AT physics DOT ubc DOT ca>                                  |
I This is a typical net.posting.  Any resemblance to reality is         I 
| strictly coincidental.                                                #
*-------------------------------------=========================########## 






- Raw text -


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