[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting baud rate on Super Serial Card from BASIC?



Appendix H of the //e Tech Ref Manual documents SSC programming.
IIRC, the //c is almost (but not quite) the same.

To set baud rate from printer mode
Print CHR$(9);n;"B"

To set baud rate from communications mode
Print CHR$(1);n;"B"

where n
1-50, 2-75, 3-110, 4-135, 5-150, 6-300, 7-600, 8-1200, 9-1800, 10-2400,
11-3600, 12-4800, 13-7200, 14-9600, 15-19200

You may not get reliable operation from BASIC at the highest speeds.

To set parity from printer mode
Print CHR$(9);n;"P"

1-odd,3-even,5-mark,7-space,0,2,4,6-none

"D" controls # of data bits and stop bits
"C" CR delay
"L" LF delay
"F" FF delay
Many other parameters.

Some commands use a space followed by E (enable) or D (disable after the
command letter.
To set no screen echo  from comm mode
Print CHR$(1);"E D"  :REM - there's a space between E and D

You may actually have to print the commands-typing from keyboard may not do
it.

Some commands are different for printer vs. comm mode.
I vaguely remember discrepancies among the //e, //c, and //gs on things like
if you need a CR after the command, or a space  some commands, or whether
the firmware eats these characters or passes them through to the printer or
modem.

Is it only baud rate you are trying to set? Printer or modem?