Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!utgpu!tomwest From: tomwest@gpu.utcs.toronto.edu (Tom West) Newsgroups: comp.sys.atari.st Subject: RS232 Flow Control Message-ID: <1987Feb27.152401.21348@gpu.utcs.toronto.edu> Date: Fri, 27-Feb-87 15:24:01 EST Article-I.D.: gpu.1987Feb27.152401.21348 Posted: Fri Feb 27 15:24:01 1987 Date-Received: Sat, 28-Feb-87 05:49:47 EST Reply-To: tomwest@gpu.utcs.UUCP (Tom West) Distribution: na Organization: University of Toronto Computing Services Lines: 39 Checksum: 04846 I am trying to write a terminal emulator for the 1040ST in Pascal. Unfortunately, the flow control (x-on/x-off) that comes with the Atari is no good. (Unless the user isn't allowed to use ctl-s/q in which case it would do.) To get around this, I have tried to implement flow control myself. The problem comes in that the record that contains the information about the receive buffer (found by doing an XBIOS(14)) seems to be defective. The record looks like tx_Bufptr : bufferPtr; tx_Bufsize : integer; tx_tail : integer; (The BIOS calls documentation reverses tx_head : integer; this, but it's irrelevant.) tx_lowWater : integer; tx_highWater : integer; rx_Bufptr : bufferPtr; rx_Bufsize : integer; rx_tail : integer; rx_head : integer; rx_lowWater : integer; rx_highWater : integer; Anyway, the problem is while the transmit (That's the ATARI transmitting to avoid confusion) seems to work (tx_tail and tx_head cycle around the buffer), the receive buffer seems to be dead. rx_tail and rx_head are ALWAYS 0, and the buffer seems to be all zeroes. Is there anyone else who has encountered similar problems and might know a way around them? Either email or if you think it's of general interest, post. Many thanks in advance. Tom West UUCP: {utzoo, utcsri, mnetor, cbosgd, ihnp4}!gpu.utcs!tomwest -- Tom West UUCP: {utzoo, utcsri, mnetor, cbosgd, ihnp4}!utcs!tomwest