www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/21/17:51:44

Date: Fri, 21 Apr 1995 15:35:00 -0400 (EDT)
From: Long Doan <ldoan1 AT osf1 DOT gmu DOT edu>
To: chojnacki <s709 AT icslab DOT agh DOT edu DOT pl>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: extended memory

On Fri, 21 Apr 1995, chojnacki wrote:

> How can I access the particular addresses of extended memory (above 1MB) ?
> I know the first 1MB is mapped to 0xE0000000 in the program's address space
> but how is it with above 1MB memory ?
> I need to access the memory of DT2862 frame grabber which grabs images
> into extended memory from address 0xA00000.
> How compiler handles that memory ?
> Please help !

The entire 256M of memory is mapped to 0xe0000000 (unless you don't have 
that much... :->). If you want to access 0xa00000, just use 0xe0a00000. 
BTW, that will not work under DPMI, unless you do some assembly coding to 
map the memory yourself.

Hope that helps,
Long.

+--------------------------------------------------------+
| Long Doan                          ldoan1 AT osf1 DOT gmu DOT edu |
|                                          ld AT netrix DOT com |
+--------------------------------------------------------+

- Raw text -


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