h6. [[OS SWI Calls]] h6(. » [[OS_SerialOp]] h6((. » OS_SerialOp 9 h2. OS_SerialOp 9 h5. (SWI &57) |_<^{width:4em}. Entry | | |<^. R0 |<^. 9 | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved| |<^. R1 |<^. Pointer to word aligned table of [[Baud Rate Codes|supported baud rates]] | |<^. R2 |<^. Number of entries in table | h4. Use The purpose of this call is to read or enumerates the available serial port speeds. h4. Notes 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. h4. See also * [[Baud Rate Codes]] * [[OS_SerialOp]] * [[OS_SerialOp 5]] * [[OS_SerialOp 6]]