Solved

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

Posted on 1998-08-03
3
152 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

820 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