Hi,

no problem to do that ...

<snip>
//writing a byte to memory address B0800
//this is somewhere in the 1st MB of PC-Memory
...
#include <asm/io.h>
...
#define MEM_BASE_ADRESS  0x0B0800
...
char value;
int ptr;
...
writeb(value, MEM_BASE_ADRESS + ptr);
...
</snip>

Pierre Cloutier wrote:
> 
> Hi:
> 
> I'm considering writing an ArcNet driver that would run in the RTLinux
> kernel. To do that I need to R/W a 2K buffer of dual ported RAM below the
> first
> meg mark i.e. in the 640K - 1024K range. Do we have an example of how to do
> this?
> _______________________________________________________
> 
> Pierre Cloutier
> Tel: (450)-659-9186
> Fax: (450)-659-0014
> POSEIDON CONTROLS INC
> _______________________________________________________
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to