Message-ID: <3454AFBB.74F8@post.comstar.ru> Date: Mon, 27 Oct 1997 18:14:03 +0300 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: DJGPP Mail List Subject: ANNOUNCE : DZComm v0.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Hi, I'm glad to announce the new version of my communication lib for Allegro - DZComm v0.4 Versions described : v0.2;v0.3;v0.4; -- DZComm version 0.2 (26.03.97) - modem status and line status placed into read queue. Since comm_port_get() returned *packed* value, do next : c=comm_port_get(); if (q_reg_(c)==DATA_BYTE) { ch=data_(c); ... } if q_reg()=LSR_BYTE then next call data_() will return status byte from LSR. if q_reg()=MSR_BYTE then next call data_() will return status byte from MSR. if q_reg()=DATA_BYTE then next call data_() will return data byte from RDR. - added documentation on FIFO queue routines. See dzcomm.txt Note : it's not documentation on 16550 FIFO feature ! Source file for this functions is /src/queue.c DZComm ver 0.3 (19.05.97) - serious bug fixed. This bug coused system crash then it runs on slow PC at high boud rate. - modem status and line status removed from read queue. Instead of it you may provide your own handlers for this events. - comm_port_get() - removed from library. Use comm_port_test() instead. Data returned by comm_port_test() is not packed now, so you never need q_reg() call. - XON/XOFF flow control added. - add comm_port_load_settings(). Now you may load settings from file. - add comm_port_reinstall(). Change any port settings and apply it at runtime. - add modem_hangup(). DZComm ver 0.4 (30.09.07) - RTS/CTS flow control added - adding byte counters for in/out data streams - adding some new settings to be recognized by comm_port_load_settings() - hardcoded defaults I/O address used then BIOS have no data (this may occures on notebooks and brand named PCs) - makefile changed. Not needed to rebuild entire liballeg now :) -- Regards, Dim Zegebart, Moscow Russia. Ghostly basement : http://www.geocities.com/siliconvalley/pines/7817 DZCOMM - comm library for Allegro