)
Call pcANYWHERE API entry point with:
AX = 0000h get pcANYWHERE IV version
DS:SI -> BYTE buffer for host type code
Return: AH = version number
AL = revision number
DS:DI buffer byte filled with
00h full-featured host
01h limited-feature LAN host
other API may not be supported
AX = 0001h initialize operation
DS:SI -> initialization request structure (see #01390)
Return: AX = function status (see #01393)
AX = 0002h get status
Return: AH = current operating mode (see #01390)
AL = current connection status (see #01392)
AX = 0003h suspend remote screen updates
Return: AX = function status (see #01393)
AX = 0004h resume screen updates
Return: AX = function status (see #01393)
AX = 0005h end current remote access session
DS:SI -> termination request structure (see #01391)
Return: AX = function status (see #01393)
AX = 0006h remove pcANYWHERE IV from memory
Return: AX = status (see #01393)
AX = 8000h read data from communications channel
DS:BX -> buffer
CX = buffer size
Return: AX >= number of characters read/available
AX < 0 on error
AX = 8001h write data to communications channel
DS:BX -> buffer
CX = buffer size
Return: AX >= number of characters written
AX < 0 on error
AX = 8002h get connection status
Return: AX = status
> 0000h if connection active
= 0000h if connection lost
< 0000h on error