Register parameters
RST 20H, DEFW $8D
N: L = reason code Other register parameters depend on reason code OUT: Depends on reason code, see below. IX will always be unchanged.
Notes
Full details of this call's reason codes are found below. This interface is used by OZ internally, and don't work on application level. For Application level serial port I/O, use GN_Opf to get serial port handle and use OS_Gb / OS_Pb to transmit data. Applications might use OS_Si to reset serial port buffers, and interact with the Panel.
Other information of this call can be found in the The Serial Interface section.
SI_HRD
SI_HRD (L = $00), Serial hard reset
IN: - OUT: Fc = 0 Registers changed after return: ..BCDEHL/IXIY same AF....../.... different
This resets the UART in the gate array. This call should not need to be used.
SI_SFT
SI_SFT (L = $03), serial soft rest
IN: - OUT: - Registers changed after return: ......../IXIY same AFBCDEHL/.... different
This call should be useful to install new panel settings or when starting low level (ie. using SI_GBT, SI_PBT etc.) serial operations. It carries out the following:
1. Empty receive and transmit buffers.
2. Reset the XON/XOFF flags.
3. Reset baud rates, parity and flow control settings to the PANEL values.
4. Assert RTS.
5. Resets the serial port timeout to its default of 10 minutes.