Solved

ISA drivers...

Posted on 1998-09-23
1
214 Views
Last Modified: 2012-08-13
Hi everyone... a bit of an arb question now... I am writing an application to access an ISA card. I am using the instructions inp and outp  to access address 0x300 but those only work for win95. As I understand it, those instructions just read the card which sounds straight forward. Now for the arb question... if I want to use winNT or some strange platform that requires a driver, I must rewrite some code. In spite of looking like a fool now, I must ask what is a driver in laymans terms? What does it do that is so special and different from inp and outp? More importantly how does it do it and how does it work? How would my program read what the driver retrieves? And the next step is what are the steps I should follow to write my own driver. Stop laughing ;-) Thanks for any clues...
0
Comment
Question by:rose3377
1 Comment
 
LVL 4

Accepted Solution

by:
agreen earned 70 total points
ID: 1173502
>>...but those only work for win95
To enable the I/O access under Windows NT use the GIVEIO.SYS driver by Dale Roberts (http://http://www.ddj.com/ftp/1996/1996.05/directio.zip).

Also you can use the NTIOSUPP.DLL (by Andy Green) that allows you to load and start the GIVEIO.SYS by simple function call.
(http://www.warmcat.com/ntiosupp.zip).

>>And the next step is what are the steps I should follow to >>write my own driver
This isn't a right place for the "Introduction to driver development" course :) So what you need to do is:
1) Get the Win95 and WinNT DDKs from Microsoft
2) Read the Help
3) Compile the simplest samples ("SIMPLE" in the WinNT DDK)

Also I can suggest you to read the Art Baker's "The Windows NT Device Driver Book" and the Walter Oney's "Systems Programming for Windows 95"

>>How would my program read what the driver retrieves?
There are few ways the driver can communicate with the user mode application IOCTL, APC etc.
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
Quicksort a dynamic deque 33 66
Fully specialized class template function 21 129
C++ question 3 61
C++ :Change value from  DisableCMD registry 4 44
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

929 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

19 Experts available now in Live!

Get 1:1 Help Now