Solved

ISA drivers...

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

770 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