[comp.sys.atari.st] Rsconf

rowley@ORVILLE.ARPA (Karl Rowley) (08/28/87)

I would like to thank those who responded to my questions about 
Rsconf().  Rsconf() returns an int that indicates the settings of some
(but not all) parameters.  One of the parameters not returned by Rsconf()
is the baud rate setting.

Even the Atari vt-52 emulator desk accessory (EMULATOR.ACC) does not appear
to be able to tell what the current baud rate setting of the rs-232 port is.
If you change the baud rate behind the back of EMULATOR.ACC, and then fire
up the EMULATOR.ACC dialog box to set the parameters, the dialog box will
show the old baud rate value.  

The rudest part about the behavior of EMULATOR.ACC is what happens when the
dialog box shows an incorrect baud rate setting, and you then select the 
"CANCEL" box in the dialog.  EMULATOR.ACC at that point resets the rs-232 
parameters to the values that are shown in the dialog box anyway, even 
though "CANCEL" was selected!!  :-(

This seems to violate the intuitive meaning of "CANCEL".  When I hit the 
"CANCEL" button, I would expect that EMULATOR.ACC would leave things in
their original state.  The behavior of EMULATOR.ACC works fine as long
as it is the only software on the system that changes the rs-232 configuration.

Too bad there seems to be no documented way to read all of the rs-232
parameters without changing them.


Karl Rowley
rowley@orville.nas.nasa.gov
...{hplabs,ucbvax,lll-crg}!ames!orville!rowley