Article View: alt.msdos.programmer
Article #352Re: Trapping 386 IO port accesses
From: jim
Date: Tue, 01 Sep 1992 13:12
Date: Tue, 01 Sep 1992 13:12
50 lines
2864 bytes
2864 bytes
gee....I was just about to post a similar request --- good timing, eh?
In article <1992Aug31.192341.795@Schultz.ON.CA> peter@Schultz.ON.CA
(Peter Roeser) writes:
>I have a need to write a program for MSDOS that will act
>as a TSR to redirect IO manipulation by another program
>to my own custom hardware. That is to say:
>
> 1. Trap any IO reads/writes to a specific port
> 2. Simulate Interrupts from hardware
I'm looking for something similar --- only in my case, all I want to do is
setup something where, with one standard (we'll assume a 16550 UART) serial
port, multiple programs under a multitasking environment (Desqview, windoze,
whatever) can use the same serial port to access multiple devices.
something like the following:
____
modem terminal program \ | |--- modem (38.4 kb)
packet radio program > serial port | ?? |--- packet TNC #1 (9.6 kb)
2nd packet radio program / (115 kb/s) | |--- packet TNC #2 (9.6 kb)
----
the black box after the serial port is something I haven't designed yet,
since I'm not sure if the rest of this is even within the limits of sanity
to attempt (or if it's even possible to begin with). basically, though,
it's a data switch/mux.
now, to add to the problem --- I'd want this to work with any old generic
comm program....meaning it can't be expected to handle the addressing on
its own (device driver?).
>I will post a summary of any email if there is interest.
there is interest. :-)
ideas? thoughts? suggestions? comments as to the sanity level of asking
this? :-)
--jim
\input std_disclaimer % 73 DE N5IAL (/9)
------------------------------------------------------------------------------
"[...] the plural of `mongoose' ought to be `polygoose'." [Jargon file 2.9.10]
INTERNET: jim@n5ial.chi.il.us | grahj@gagme.chi.il.us | j.graham@ieee.org
ICBM: 41.70N 87.63W UUCP: gagme!n5ial!jim@clout.chi.il.us
AMATEUR RADIO: n5ial@n9hsi (Chicago.IL.US.Earth)
------------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Sep1.131218.26716@hou.amoco.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!network.ucsd.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!noc.msc.net!uc.msc.edu!apctrc!wsc!jimReferences:
<1992Aug31.191659.672@Schultz.ON.CA> <1992Aug31.192341.795@Schultz.ON.CA>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!ucivax!orion.oac.uci.edu!network.ucsd.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!noc.msc.net!uc.msc.edu!apctrc!wsc!jim From: jim@n5ial.chi.il.us Newsgroups: alt.msdos.programmer Subject: Re: Trapping 386 IO port accesses Message-ID: <1992Sep1.131218.26716@hou.amoco.com> Date: 1 Sep 92 13:12:18 GMT References: <1992Aug31.191659.672@Schultz.ON.CA> <1992Aug31.192341.795@Schultz.ON.CA> Sender: news@hou.amoco.com Reply-To: jim@n5ial.chi.il.us Distribution: na Organization: me? have you seen my desk? : -) Lines: 50 Originator: jim@eddie