Up ] Docs Home ]

Call pcANYWHERE API entry point with

Back ] Next ]

AX Description

0000h

get pcANYWHERE IV version

Call:

AX = 0000h
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

0001h

initialize operation

Call:

AX = 0001h
DS:SI initialization request structure (see #01390)

Return:

AX = function status (see #01393)

0002h

get status

Call:

AX = 0002h

Return:

AH = current operating mode (see #01390)
AL = current connection status (see #01392)

0003h

suspend remote screen updates

Call:

AX = 0003h

Return:

AX = function status (see #01393)

0004h

resume screen updates

Call:

AX = 0004h

Return:

AX = function status (see #01393)

0005h

end current remote access session

Call:

AX = 0005h
DS:SI termination request structure (see #01391)

Return:

AX = termination request structure (see #01391)

0006h

remove pcANYWHERE IV from memory

Call:

AX = 0006h

Return:

AX = status (see #01393)

8000h

read data from communications channel

Call:

AX = 8000h
DS:BX buffer
CX = buffer size

Return:

AX >= 0 number of characters read/available
AX < 0 on error

8001h

read data from communications channel

Call:

AX = 8001h
DS:BX buffer
CX = buffer size

Return:

AX >= 0 number of characters written
AX < 0 on error

8002h

get connection status

Call:

AX = 8002h

Return:

AX = status
> 0000h - if connection active
= 0000h - if connection lost
< 0000h - on error