Interrupt 6Fh   Novell NetWare - PCOX API (3270 PC terminal interface) 

Interrupt 6Fh 10-Net Network API

entry AH 00h Login

DS:DX login record

8 bytes user name

8 bytes password

12 bytes name of super-station

return CL security level

AX status

0000h good login

0FF01h no response from superstation

0FF02h network error

0FF03h invalid password

0FF04h no local buffer

0FF05h superstation not available

0FF06h node already logged in

0FF07h login not valid from this node

0FF08h node ID already in use

01h Logoff

return CX number of files closed

AX status

0000h successful

0FF08h superstation ID not already logged in

entry AH 02h Status of node

DS:DX pointer to 512-byte record

8 bytes user name (0 if none)

byte station type

0 workstation

1 superstation

4 logged into multiple superstations

24 bytes list of superstations logged into more than one

superstation

12 bytes node ID

word message count for this station (send for user

node, receive for superstations)

for superstations only:

word drives allocated (bit 0=A:, bit 1=B:,...)

byte user service flag

bit 4: SUBMIT is on

3: mail waiting for node

2: calendar waiting for you

1: news waiting for you

0: mail waiting for you

12 bytes node ID

byte printers allocated (bit 0=LPT1,...)

byte number of unprinted spool files

byte number of opened files

byte number of logged on files

byte primary drive (1=A:)

byte reserved

n bytes list of logged on node IDs (each 12 bytes, max

38 IDs)

return CF set on error

AX error code

0FF01h no response from node

0FF02h network error

0FF04h no local buffer

0FF16h invalid node ID

entry AH 03h Get Address of Configuration Table

return ES:BX-25 pointer to record (actually starts at [BX-25])

word count of dropped Send6F

word buffer start address

word comm driver base address

word send/receive retry count

byte number of 550ms loops

word UFH address

word CDIR address

word LTAB address

word SFH address

word FTAB address

word RLTAB address

word SMI address

word NTAB address

ES:BX pointer to word address of first CT_DRV

byte number of DRV entries

8 bytes login name

12 bytes node ID

6 bytes node address

byte flag

byte CT_CFLG

bit 1: sound bell

bit 0: CHAT permit

byte CT_PSFLG

bit 5: PRINT permit

bit 4: KB initiated

bit 3: CHAT called FOXPTRM

bit 2: SUBMIT active

bit 1: SUBMIT received

bit 0: SUBMIT permit

byte reserved

word receive message count

word send message count

word retry count

word failed count

word driver errors

word dropped responses/CHATs

9 bytes list ID/NTAB address (3 entries-LPT1-3?)

6 bytes AUX ID/NTAB address (2 entries-COM1-2?)

byte active CB channel

byte received 6F messages on queue

9 bytes activity counters for channels 1-9

entry AH 04h Send

DS:BX pointer to record

12 bytes receiving node's ID

word length of data at DX

DS:DX pointer to data (max 1024 bytes)

return CF set on error

AX error code

0FF01h timeout

0FF02h network error

0FF04h no local buffer

0FF16h invalid parameter (bad length)

05h Receive

CX number of seconds before timeout

DS:DX pointer to receive buffer

12 bytes sending node's ID

word length of message

n bytes message (maximum 1024 bytes)

return CF set on error

AX error code

0FF01h timeout

0FF18h sent message has been dropped

entry AH 06h Unknown

07h Lock Handle

BX file handle

CX:DX starting offset in file

SI record length

return CF set on error

AX error code

0FF01h timeout

02h file not found

0FF17h record locked by another user

08h Unlock Handle

BX file handle

AL mode

0 unlock all

1 unlock record at CX:DX

return CF set on error

AX error code

02h file not found

entry AH 0Bh Lock Semaphore, Return Immediately

AL drive number or 0

ES:SI Ethernet address or 0

DS:BX pointer to 31-byte ASCIIZ semaphore name

return AL status

0 successful

1 semaphore currently locked

2 server not responding

3 invalid semaphore name

4 semaphore list is full

5 invalid drive ID

6 invalid Ethernet address

7 not logged in

8 write to network failed

9 semaphore already logged in this CPU

0Ch unlock semaphore

AL drive number or 0

ES:SI Ethernet address or 0

DS:BX pointer to 31-byte ASCIIZ semaphore name

return AL status (see AH=0Bh)

1 semaphore not locked

entry AH 0Dh Who

CX length of data

DS:DX pointer to array of records to be filled

12 bytes node ID

byte flag (1=workstation, 2=superstation)

return CL number of records returned (responding stations)

0Eh spool/print

DS:DX pointer to record

word 0 initiate spool

1 abort print

2 close spool

3 delete spool

4 print

5 get report info

11 bytes file name

byte notification

bit 6: do ID page

bit 5: no form feed

bit 3: notify at print completion

bit 2: notify at print start and reply?

bit 1: notify at print start

bit 0: no notification

byte days to keep (0FFh=forever)

byte device (1=LPT1)

word length of following data area

n bytes $SCNT records returned if code in 1st word is 5

return CF set on error

AX error code

0FF16h invalid parameter

0FF17h device not mounted

0FF18h already spooling to named device

11h Lock FCB

AL mode

0 sequential

1 random

2 random block

DS:DX pointer to FCB

return CF set on error

AX 02h file not found

0FF01h timeout

0FF17h record locked by another user

12h Unlock FCB

AL mode

0 sequential

1 random

2 random block

DS:DX pointer to FCB

return CF set on error

AX 02h file not found