Solved

ISA drivers...

Posted on 1998-09-23
1
213 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

747 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

10 Experts available now in Live!

Get 1:1 Help Now