Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ISA drivers...

Posted on 1998-09-23
1
Medium Priority
?
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
agreen earned 210 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.
Suggested Courses

618 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