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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER