From BeebWiki
Jump to: navigation, search

OSBYTE &07 (7) - Select the receive rate to be used on the RS423 interface.

On entry, A=&07, X=receive rate

On exit, A=&07, X=Y=previous contents of Serial ULA control register (B+ User Guide)

The value of X is made up as follows:

Value Meaning if set
1 75 baud receive
2 150 baud receive
3 300 baud receive
4 1200 baud receive
5 2400 baud receive
6 4800 baud receive
7 9600 baud receive
8 19200 baud receive. This rate is not guaranteed.

A baud rate can be converted to a *FX7/*FX8 parameter with the following code:


A *FX7/8 parameter can be converted into a baud rate with the following code:


See also