Article View: comp.os.os2.programmer
Article #1312Re: How to crash OS/2 1.2 & 1.3?
From: David Bolen
Date: Tue, 01 Sep 1992 11:37
Date: Tue, 01 Sep 1992 11:37
35 lines
2324 bytes
2324 bytes
In article <1992Sep1.134936.6800@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes: >In article <1992Aug29.044807.15808@access.digex.com> terryfry@access.digex.com (Terry Fry) writes: >> >>DosPortAccess is part of the API, however it was never implemented. >> >If I read the API specs correctly, DosPortAccess MUST be called before >performing any PORT I/O, in order to secure permission from the OS >before using the ports. Of course, the ports must be accessed from an >IOPL segment. Exactly - but the documentation and the implementation differ (as Terry stated). In other words, the documented functionality was never implemented. I can't say anything about 2.0, but I used to do a lot of data acquisition under 1.2/1.3 many times (from IOPL segments) using direct I/O without ever bothering to call the DosPortAccess function, and never had any problems. (And I did try stuff with and without the call - it seemed to be a NOOP). >>Any IBM'ers want to shed some light? > >Yes, please do. I'm confused about this now... I'm not sure the call is even relevant nowadays. It doesn't seem to be documented any longer under OS/2 2.0 (at least not in the 2.0 toolkit docs or header files), although it still has an entry point in the system dll. -- -- David -- /-----------------------------------------------------------------------\ \ David Bolen \ Internet: db3l@ans.net / | Advanced Network & Services, Inc. \ Phone: (914) 789-5327 | / 100 Clearbrook Road, Elmsford, NY 10523 \ Fax: (914) 789-5310 \ \-----------------------------------------------------------------------/
Technical Details
Message-ID:
<1992Sep01.153604.35238@ans.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!news.ans.net!ans.net!db3lReferences:
<1992Aug28.131233.26834@klaava.Helsinki.FI> <1992Aug28.150650.719@ccsvax.sfasu.edu> <1992Aug29.044807.15808@access.digex.com> <1992Sep1.134936.6800@njitgw.njit.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!news.ans.net!ans.net!db3l From: db3l@ans.net (David Bolen) Subject: Re: How to crash OS/2 1.2 & 1.3? Sender: news@ans.net (News Administrator) Message-ID: <1992Sep01.153604.35238@ans.net> In-Reply-To: dic5340@hertz.njit.edu's message of 1 Sep 92 13: 49:36 GMT Date: Tue, 1 Sep 1992 11:37:30 GMT References: <1992Aug28.131233.26834@klaava.Helsinki.FI> <1992Aug28.150650.719@ccsvax.sfasu.edu> <1992Aug29.044807.15808@access.digex.com> <1992Sep1.134936.6800@njitgw.njit.edu> Organization: Advanced Network & Services, Inc. - Elmsford, NY Lines: 35