Message-ID: <3454B084.7ED@post.comstar.ru> Date: Mon, 27 Oct 1997 18:17:24 +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 (second post) 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 changes.txt : 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(). - add comm_port_string_send() and comm_port_command_send(). - found on the Net and placed into /doc exelent serial hardware description by Christian Blum. DZComm ver 0.4 (27.10.97) - 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 :) Comming soon : Palantir v0.2beta - pre-emptive multytasking, events driven kernel for Allegro. -- Regards, Dim Zegebart, Moscow Russia. Ghostly basement : http://www.geocities.com/siliconvalley/pines/7817 DZCOMM - comm library for Allegro