delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/22/16:37:44

From: robn AT neuron DOT et DOT tudelft DOT nl (Rob van Nieuwkerk)
Date: Fri, 22 May 1992 21:54:30 +0200
To: DJ Delorie <dj AT ctron DOT com>, htf AT ee DOT edinburgh DOT ac DOT uk
Subject: Re: physical addresses in gpp
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Status: O

On May 22,  1:14pm, DJ Delorie wrote:
} Subject: physical addresses in gpp
> >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
	.
	. 
> 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.
}-- End of excerpt from DJ Delorie

Just some functions like:

		read_physical_block ( virt_mem, phys_mem, size)
                write_physical_block( virt_mem, phys_mem, size)
                   char *virt_mem, *phys_mem;
                   int  size;

would be great to have.  I want to access a board outside the 1st Meg range
too.  All I need are these 2 functions, or something alike.
For an expert it will probably not be too difficult to write these functions.
Any volunteers out there ?  :-) :-)

Rob van Nieuwkerk
robn AT dutecab DOT et DOT tudelft DOT nl

- Raw text -


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