Solved

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

Posted on 1998-08-03
3
149 Views
Last Modified: 2013-11-19
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
0
Comment
Question by:aeteta
3 Comments
 

Author Comment

by:aeteta
ID: 1320160
I designed the pc- card use the address lines a0-a19 in ISA
0
 
LVL 2

Expert Comment

by:warmcat
ID: 1320161
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
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 total points
ID: 1320162
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 48
twoTwo  challenge 35 93
building a service to accessed via telnet client, want colors ? 4 83
Excel file not created as expected 7 50
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now