| Entry | |
|---|---|
| R0 | 9 |
| Exit | |
|---|---|
| R0 | Preserved |
| R1 | Pointer to word aligned table of supported baud rates |
| R2 | Number of entries in table |
The purpose of this call is to read or enumerates the available serial port speeds.
Each entry in the table is in units of 0.5 bit/sec.
The index into the table (starting at 1) can be used in OS_SerialOp 5 and OS_SerialOp 6 calls to set the corresponding baud rate.
As the hardware on a given machine may not support certain baud rate combinations the table may have ‘holes’ in it, represented by a zero word – this way the index into the table can still be used with OS_SerialOp 5.