www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/23/12:27:07

Date: Fri, 23 Sep 1994 08:45:27 +0500
From: hvb AT netrix DOT com
To: djgpp AT sun DOT soe DOT clarkson DOT edu, hawes AT physics DOT ubc DOT ca
Subject: Re: DJGPP and linear addressing above main memory

 
> 
> 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

Try to add 0xe0000000 to the pointer instead.

> 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. 
> 

- Raw text -


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