Dec 082017
 
Communications routines for 'C' written in assembly.
File MIKECOMM.ZIP from The Programmer’s Corner in
Category C Source Code
Communications routines for ‘C’ written in assembly.
File Name File Size Zip Size Zip Type
ASYNC.ASM 29671 7781 deflated
ASYNC.DOC 19690 5186 deflated
ASYNC.H 8255 2805 deflated
ASYNC_S.LIB 7168 2823 deflated
A_LIB.NEW 1655 391 deflated
A_LIB.UPD 2022 370 deflated
CARRIER.ASM 1096 465 deflated
CASMHDR.H 3821 1096 deflated
COMM.H 3611 1018 deflated
DBUG.INC 1709 431 deflated
DTR.ASM 1246 529 deflated
LITES1.INC 218 117 deflated
LITES2.INC 1265 279 deflated
MSR.ASM 1004 456 deflated
MSRFLOW.ASM 2242 934 deflated
READ.ME 2499 1312 deflated
RESET.ASM 1109 495 deflated
RTS.ASM 1271 544 deflated
RXCNT.ASM 958 440 deflated
RXFLUSH.ASM 1131 470 deflated
SETBPDS.ASM 1301 567 deflated
STAT.ASM 2235 905 deflated
STRIP.ASM 1003 451 deflated
SUBFX.H 242 194 deflated
SUPPORT.ASM 7450 2367 deflated
TXBLKSUP.ASM 1678 684 deflated
TXFLUSH.ASM 1390 574 deflated
TXFREE.ASM 875 396 deflated
TXIMD.ASM 3013 1119 deflated
XOFFCLR.ASM 1464 658 deflated
XONANY.ASM 1312 541 deflated
XONOFF.ASM 1674 708 deflated

Download File MIKECOMM.ZIP Here

Contents of the READ.ME file



FULLY INTERRUPT DRIVEN ASYNC ROUTINES FOR MICROSOFT C 8-29-87

These functions are a part of a group of serial communication routines I
wrote for a friend of mine, Paul Griffin, who was until recently the sysop
of my local neighborhood BBS, Split Up the Middle in Texarkana, TX.
Hopefully it will be back up in a few weeks and I will keep current updates
to these routines on his system. The phone number is 214 838-6713.

The routines provide both buffered transmit and receive for either COM1 or
COM2 or can also drive both simultaneously. They have been tested at up
to 19,200 baud using a terminal program written by Paul and outperformed
every communications program we compared it with when running CRC Xmodem
transfers. Using the make file described in the DOC you can assemble a
version of the routines for any size memory model. The routines are
compatible with MSC 3.0 and 4.0 and will probably also be linkable with
version 5.0 and Quick C when it is released.

There is one bug in the routines that I know of that I just haven't been able
to locate and that is when using RTS/CTS handshaking occasionally a character
will be dropped. I was holding off on releasing the routines until I found
the bug but have read some literature recently on the 8250 UART and the
8259 Interrupt Controller chips that suggests interrupt driven RTS/CTS
handshaking just doesn't work in the PC configuration. I don't use that
feature anyway but didn't take it out since someone else may be able to solve
the problem. If you have a solution leave me some mail at the above BBS if
its up or one of the other BBS's listed below. I check in at the others only
about every couple of weeks so may be slow to respond.

I have been using the ASYNC routines for the low level serial I/O in a small
comm program for the past 4 or 5 months and believe they are bug free with
the exception of the RTS/CTS handshaking. The included library (ASYNC_S.LIB)
is for small model MSC programs. The DOC file explains how to make libraries
for other size memory models or for $10 and a blank formatted disk I will
send you assembled libraries for all memory models. To use the functions
include the COMM.H header file in your C source code and link your compiled
OBJ file with the ASYNC_S library.

Mike Dumdei Split Up the Middle214 838-6713
6 Holly Lane Computer Aide918 493-2137
Texarkana, TX 75503 PC Exchange404 977-6686
Voice: 214 838-8307




 December 8, 2017  Add comments

Leave a Reply