🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #304

Re: Setting up a serial port with DosDevIOCtl

#304
From: Kai-Uwe Rommel
Date: Sat, 08 Aug 1992 07:01
21 lines
1544 bytes
In article <1992Aug8.044745.29124@javelin.sim.es.com> rpack@javelin.sim.es.com writes:
>   Unfortunately, the online help only tells how the pointers to the parameter
>blocks are passed, not what should be IN the parameter blocks.

The online docs *show* the parameter contents. If you open the Control
Program online manual, go to the "Generic IOCtl Commands" section.
Click on the + to expand it and then on the + left to the "Category 1
ASYNC". Then move to "Function 53H - Set DCB", double click on it. Two
windows appear, double click on "Parameter Packet" in the left window
and you are told how the structure pointed to by the parameter pointer
must be set up ...

Although the online DOCS don't mention it, there are predefined
structures for the parameter blocks in BSEDEV.H.

Kai Uwe Rommel

/* Kai Uwe Rommel --- rommel@informatik.tu-muenchen.de */

DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be.                -Russell Williams
Technical Details
Message-ID: <1992Aug8.070112.11708@Informatik.TU-Muenchen.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!informatik.tu-muenchen.de!rommel
References: <1992Aug8.044745.29124@javelin.sim.es.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!informatik.tu-muenchen.de!rommel
From: rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel)
Subject: Re: Setting up a serial port with DosDevIOCtl
References: <1992Aug8.044745.29124@javelin.sim.es.com>
Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
Organization: Technische Universitaet Muenchen, Germany
Date: Sat, 8 Aug 1992 07:01:12 GMT
Message-ID: <1992Aug8.070112.11708@Informatik.TU-Muenchen.DE>
Lines: 22