🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #362

Re: Trapping 386 IO port accesses

#362
From: Todd Greenfield
Date: Thu, 03 Sep 1992 20:01
25 lines
1758 bytes
In <1992Sep03.153802.688@Schultz.ON.CA> peter@Schultz.ON.CA (Peter Roeser) writes:

>In article <tgreen.715391992@vincent2.iastate.edu> tgreen@iastate.edu
(Todd Greenfield) writes:
[ original discussion of need to trap access to IO port deleted ]
>>
>>what about doing this under windows?  I know nothing of windows
>>programming,  but wouldn't it be possible to write a windows
>>driver (for 386 enh mode of course) to do something like this?

>  I have been told that although Windows uses protected mode to do
>  memory management( ie. traps when you talk to non-available mem.)
>  it does not trap IO references.

any of you windows programmers care to comment?  I thought
that windows can trap any IO access, such as comm ports or
the timer.  How do you programmer a driver to handle something
like this?  I've never programmed for windows, so references
and any advice would be appreciated.

>>
>>I'd be interested in seeing what others think, and how one 
>>would go about doing it, as I have a similar need.

>  Let's keep the discussion going
Technical Details
Message-ID: <tgreen.715550500@pv0547.vincent.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!news.iastate.edu!pv0547.vincent.iastate.edu!tgreen
References: <1992Aug31.191659.672@Schultz.ON.CA> <1992Sep1.143350.10587@ncsu.edu> <tgreen.715391992@vincent2.iastate.edu> <1992Sep03.153802.688@Schultz.ON.CA>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!news.iastate.edu!pv0547.vincent.iastate.edu!tgreen
From: tgreen@iastate.edu (Todd Greenfield)
Subject: Re: Trapping 386 IO port accesses
Message-ID: <tgreen.715550500@pv0547.vincent.iastate.edu>
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames IA
References: <1992Aug31.191659.672@Schultz.ON.CA> <1992Sep1.143350.10587@ncsu.edu> <tgreen.715391992@vincent2.iastate.edu> <1992Sep03.153802.688@Schultz.ON.CA>
Distribution: na
Date: Thu, 3 Sep 1992 20:01:40 GMT
Lines: 26