Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-11-2003, 05:29 AM   #1
ACM
Member (7 bit)
 
Join Date: Jan 2003
Posts: 70
Drivers & Windows

In several definitions that I've read it says that for Windows to perform I/O to a device (such as a sound card), it gives control to the driver for that device and the driver actually communicates with the device in its own special language. Now for the driver to do this it would need to know the I/O address and the memory address of this device (since that's the only way data is transferred). Is this the case, or does the driver communicate under Windows (like any other program), telling Windows "send this to sound card", and then Windows worrying about what I/O address to activate?
ACM is offline   Reply With Quote
Old 01-11-2003, 12:35 PM   #2
Member (12 bit)
 
andyms18a's Avatar
 
Join Date: Dec 2002
Location: essex
Posts: 2,252
win 3.1 to win me, let the driver talk to the hardwair
win nt to xp use hal, ( hardwair abstract layer) and dont let the drivers talk to the hardwair that is how win nt 2k and xp are more stable than the win 3.1 95 98 and me systems
__________________
Join the PcMech.com Folding@Home Team and Help Save Lives! Click Here!
Life only looks greener on the other side of the fence
andyms18a is offline   Reply With Quote
Old 01-11-2003, 06:45 PM   #3
Member (12 bit)
 
Join Date: Nov 2001
Location: Woodland Hills, CA (suburb of Los Angeles)
Posts: 4,014
Sounds like perhaps you'd like some detailed articles, so let's see if we can get you started.
_____
First, the definitions (from Cnet's glossary):

HAL = hardware abstraction layer:
A hardware abstraction layer is a component of an operating system that functions something like an API. (In strict technical architecture, hardware abstraction layers reside at the device level, a layer below the standard API level.) It allows programmers to write applications and game titles with all the device-independent advantages of writing to an API, but without the large processing overhead that APIs normally demand.

API = application programming interface:
An API is a series of functions that programs can use to make the operating system do their dirty work. Using Windows APIs, for example, a program can open windows, files, and message boxes--as well as perform more complicated tasks--by passing a single instruction. Windows has several classes of APIs that deal with telephony, messaging, and other issues.
_____
Now, the details:
"Windows Driver Model Technology"
http://www.microsoft.com/hwdev/driver/wdm/default.asp

...this site has a brief blurb with a nice graph showing the system architecture of Win2000 (also similiar to XP's). They are a training site that offers courses (for a fee). You can read the blurb and study the graph for free, however:
http://tutorials.findtutorials.com/r...gory/97/id/379

And here's a link to an "Overview of the Windows I/O Model": if you look in the pane to the left, you'll notice that this article is part of a whole world of information on Windows architecture from msdn (completely free and as many details as anyone can stand):
http://msdn.microsoft.com/library/de.../irps_0rhj.asp

Happy Reading
. . . Gary
GaryRouth is offline   Reply With Quote
Old 01-11-2003, 07:21 PM   #4
Shiro Usagi
Premium Member
 
Cricket's Avatar
 
Join Date: Sep 1999
Location: Kaneohe, Hawaii
Posts: 34,002
I thought DirectX had something to do with how Windows communicates or interacts with multimedia hardware?

Cricket
Cricket is offline   Reply With Quote
Old 01-11-2003, 10:23 PM   #5
Member (12 bit)
 
Join Date: Nov 2001
Location: Woodland Hills, CA (suburb of Los Angeles)
Posts: 4,014
The way I think it works is that DirectX-compatible drivers operate at the device end, and can communicate directly with hardware, but commands are passed to them in WDM drivers through a Microsoft-written layer, which relieves the multimedia programmers of needing nVidia or ATi or Matrox hardware-specific commands, etc. And I think that in Win9x, this can take place on a lower level than in the NT/2000/XP model, where the Kernel is more protected by the HAL.

Maybe we should have Hal post a clearer picture of HAL for us
. . . Gary
GaryRouth is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:47 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2