[net.micro.amiga] serial port questions

urjlew@ecsvax.UUCP (Rostyk Lewyckyj) (03/18/86)

<<< If you see this line then it wasn't needed >>>

For each of: Microsoft AMIGABASIC, ASSEMBLER, Lattice C.
How does one accomplish the following:
  1) Set the serial port to:baud rate=1200, parity=even, 7 data bits,
     1 start bit, 1 stop bit. I.e. send a total of 10 bits/char.
     OPEN "com1:1200,e,7,1" ... in BASIC is not sending even parity.
  2) Send a true break signal out the serial port.
     I.e send a spaces signal for a user settable duration of 
     x milliseconds. x is usually approximately 300, but may
     vary somewhat for different computers/timesharing sevices.
  3) Stop the serial driver from automatically sending out a series
     of presumably ^Ss if the receive buffer gets full. 
     Note: Perhaps this only happens in BASIC.
  4) Pass a DC1 received from the remote device/computer into
     the BASIC program. For that matter I wish to be able to get
     all characters coming into com1:  into my program.
   
Since others may find the answers usefull, I suggest that all
replies be posted to the net.
   
Don't you just feel a sense of accomplishment if you can get
your Amiga to do something. With an IBM it's much less fun.
It doesn't fight back.
     
     Rostyk Lewyckyj
  I believe all of the following are valid addresses
  urjlew@ecsvax.UUCP  urjlew@tucc.UUCP  urjlew@tucc.BITNET