Dec 272017
 
CLRPORT resets a comm port to non-initialized status. Existing info on baud rate, parity, etc. is retained, but all control registers are cleared to off-line status (all interupts disabled, the internal buffer disabled, e
File CLRPORT.ZIP from The Programmer’s Corner in
Category Communications
CLRPORT resets a comm port to non-initialized status. Existing info on baud rate, parity, etc. is retained, but all control registers are cleared to off-line status (all interupts disabled, the internal buffer disabled, e
File Name File Size Zip Size Zip Type
CLRPORT.DOC 1011 538 deflated
CLRPORT.EXE 3712 2595 deflated

Download File CLRPORT.ZIP Here

Contents of the CLRPORT.DOC file


ClearPort (c)1988 Steve Sneed Released to the public domain
--------------------------------------------------------------

CLRPORT resets a comm port to non-initialized status. Existing info on
baud rate, parity, etc. is retained, but all control registers are cleared
to off-line status (all interupts disabled, the internal buffer disabled
on the 16550-series UARTs turned off, etc.)

Syntax:

CLRPORT {port} {base address}

Both params are optional. {Port} can be 1 thru 5 - ports 1 thru 4 are at the
standard base addresses (COM1 = 3F8h, COM2 = 2F8h, COM3 = 3E8h, COM4 = 2E8h),
and 5 is definable by adding the base address as the second parameter. You
can also redefine the base address of ports 1 thru 4 by providing the second
parameter. The default is COM1 at the standard address.

The program verifies the existance of the port and then clears the nessessary
registers. Any error is reported and the program aborts.

Steve Sneed
Ozarks West Software
CIS ID 71520,77


 December 27, 2017  Add comments

Leave a Reply