Link to home
Start Free TrialLog in
Avatar of aeteta
aeteta

asked on

How can I access a device using phisical address in win95?

I  have made  a PC card (ISA bus) composed of a dual port ram.
 
I need to read and write the ram in my app which is coded using MFC in WIN95

 I know that I can access  the ram directly  In MS-DOS. For example to write

10 at adress 0x08000 where the ram is mapped

unsigned int * a = ox08000;
(*a) = 10;

but I don't know how to do it  in WIN95 using MFC

Please, help me to solve that problem

Thank you
Avatar of aeteta
aeteta

ASKER

I designed the pc- card use the address lines a0-a19 in ISA
If you change to using IO mapping, access to your dual port RAM is much simpler under '95.  Also, it is quite antisocial to reserve chunks of ISA high memory.
ASKER CERTIFIED SOLUTION
Avatar of Answers2000
Answers2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial