delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/22/13:40:48

Date: Fri, 22 May 92 13:14:03 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: htf AT ee DOT edinburgh DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: physical addresses in gpp
Status: O

>I have a (frame grabber) board at address 0xa00000 which I need to read
>and write to. This being outwith the first 1 Meg of physical memory
>the above formula doesn't work. Is it possible to (easily) set pointers
>to physical memory within source to be compiled by gpp? Alternatively
>can the peek/poke memput/get functions in the extender be accessed
>from within the program?

Sorry; this is a different (and much harder) problem.  You'll have to
put your own hooks into paging.c to map that range into your address
space somewhere.  Everyone's wish list includes some way of doing this
through a standard means, but it hasn't happened yet.

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


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