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
aetetaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Answers2000Connect With a Mentor Commented:
I don't think you can do this in Ring 3 (user app level) code in Win95.

You need to write Ring 0 code which means a VxD or device driver.

For tools for a quick start check out
http://www.vireo.com
0
 
aetetaAuthor Commented:
I designed the pc- card use the address lines a0-a19 in ISA
0
 
warmcatCommented:
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.
0
All Courses

From novice to tech pro — start learning today.