[net.micro.amiga] Serial driver questions

urjlew@ecsvax.UUCP (Rostyk Lewyckyj) (04/11/86)

 . If you see this line [then] it wasn't needed.
  
On March 17 I posted some questions here hoping that some kind GURU
would provide me and other readers of this newsgroup, with 
informative answers. I felt that for sure, all else failing,
I would get an answer from someone at Commodore. However since
I haven't heard anything yet, I must conclude that my posting
must have got lost. I am therefore reposting my questions.
    
For each of: Microsoft AMIGABASIC, ASSEMBLER, Lattice and Aztec 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
  Small Computer Systems Specialist     (5'3/4") 8-)
  at the UNC Computer Center
  in Chapel Hill NC
  
  urjlew@ecsvax.UUCP | urjlew@tucc.BITNET

grr@cbmvax.cbm.UUCP (George Robbins) (04/22/86)

In article <1981@caip.RUTGERS.EDU> local-info-amiga-request@ics.UCI.EDU writes:
>From: Rostyk Lewyckyj <ecsvax!urjlew@caip.rutgers.edu>
>
>  
>On March 17 I posted some questions here hoping that some kind GURU
>would provide me and other readers of this newsgroup, with 
>informative answers. I felt that for sure, all else failing,
>I would get an answer from someone at Commodore. However since
>I haven't heard anything yet, I must conclude that my posting
>must have got lost. I am therefore reposting my questions.
>    
>For each of: Microsoft AMIGABASIC, ASSEMBLER, Lattice and Aztec C.
>How does one accomplish the following:
...
...
...
>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 urjlew@ecsvax.UUCP | urjlew@tucc.BITNET

Rostyk:

	Your problem is that you are posting a grab bag of questions that
no single person can answer from memory at their terminal keyboard.  Thus
you find that no one answers any of them.

	This is not to complain about your style, rather just to point out
that they way you are asking is ineffective.  Also, it kind of looks like
you haven't checked any of the manuals for any of the questions...
-- 
George Robbins - now working with,	uucp: {ihnp4|seismo|caip}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@seismo.css.GOV
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)

local-info-amiga-request@ics.UCI.EDU (04/22/86)

From: Rostyk Lewyckyj <ecsvax!urjlew@caip.rutgers.edu>


 . If you see this line [then] it wasn't needed.
  
On March 17 I posted some questions here hoping that some kind GURU
would provide me and other readers of this newsgroup, with 
informative answers. I felt that for sure, all else failing,
I would get an answer from someone at Commodore. However since
I haven't heard anything yet, I must conclude that my posting
must have got lost. I am therefore reposting my questions.
    
For each of: Microsoft AMIGABASIC, ASSEMBLER, Lattice and Aztec 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
  Small Computer Systems Specialist     (5'3/4") 8-)
  at the UNC Computer Center
  in Chapel Hill NC
  
  urjlew@ecsvax.UUCP | urjlew@tucc.BITNET