Article View: comp.sys.atari.st
Article #27328Re: How can you send a BREAK?
From: John Gardner
Date: Wed, 24 Jun 1987 03:20
Date: Wed, 24 Jun 1987 03:20
20 lines
1375 bytes
1375 bytes
In article <8706230308.AA26681@ucbvax.Berkeley.EDU> SYSTEM@UVPHYS.BITNET (NAME NIK ZAPANTIS) writes: > I would like to be able to send a BREAK to my RS-232 port from my program, >just like UNITERM does with the ALT L or ALT B key. > >Thank you in advance, > >Nik Zapantis To send the break signal, you need to program the 68901's tsr register. If you put in a hex 0x89 the RS232 port will now send the break signal. Write tsr with a hex 0x81 to turn it off. The Atari developer's kit includes a function called Rsconf and basically if you do something like Rsconf(-1, -1, -1, -1, 0x89, -1); you turn on break. The -1's tell this function not to change the parameter at that location. The parameters appear like this, Rsconf(speed, flowctl, ucr, rsr, tsr, scr); Later, JAG
Technical Details
Message-ID:
<553@iscuva.ISCS.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uunet!iscuva!johngReferences:
<8706230308.AA26681@ucbvax.Berkeley.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uunet!iscuva!johng From: johng@iscuva.ISCS.COM (John Gardner) Newsgroups: comp.sys.atari.st Subject: Re: How can you send a BREAK? Message-ID: <553@iscuva.ISCS.COM> Date: Tue, 23-Jun-87 23:20:17 EDT Article-I.D.: iscuva.553 Posted: Tue Jun 23 23:20:17 1987 Date-Received: Thu, 25-Jun-87 05:35:29 EDT References: <8706230308.AA26681@ucbvax.Berkeley.EDU> Reply-To: johng@iscuva.UUCP (John Gardner) Distribution: world Organization: ISC Systems Corporation, Spokane, WA Lines: 20