Int E0 - Real/32 - "n_logon" - Log Onto A Server [O]

CL = 40h
DS:DX -> LPB (see #3767)

Return: AX = status (0000h,00FFh,07FFh,0DFFh,0EFFh,FFFFh) (see #3696)
may destroy SI,DI,DS???

See Also: INT E0/CL=41h

Format of REAL/32 Logon/Logoff Parameter Block:
Offset Size Description (Table 3767)
00h BYTE node ID
01h 8 BYTEs password for server access
09h DWORD -> process descriptor of process to be logged on (see #3768)

Format of REAL/32 Process Descriptor:
Offset Size Description (Table 3768)
00h WORD offset of next entry in current descriptor list
02h WORD offset of thread list
04h BYTE current processor status (see #3769)
05h BYTE priority
06h WORD runtime flags (see #3770)
08h 8 BYTEs process name
10h WORD segment of User Data Area (256 or 352 bytes)
12h BYTE current default disk drive
13h BYTE drive from which process was loaded
14h WORD reserved (0)
16h WORD offset of memory descriptor list for memory owned by process
18h 6 BYTEs reserved
1Eh WORD offset of process descriptor for parent process
0000h if parent has already terminated
20h BYTE number of default console
21h BYTE number of default AUX device
22h 2 BYTEs reserved
24h BYTE number of default list device
25h BYTE reserved
26h WORD flags (see #3771)
28h 12 BYTEs reserved
34h WORD offset of memory page allocation root
36h 22 BYTEs reserved

See Also: #3767

(Table 3769)
Values for REAL/32 processor status:
00h process is ready to run
01h process is polling a device
02h delaying for a number of ticks
03h in swap list
04h terminating
05h asleep
06h waiting to read a message from a queue
07h waiting to write a message
08h waiting on system flag or semaphore
09h waiting to attach to an I/O device
0Ah waiting on sync block
0Bh waiting for system flag or semaphore with timeout
0Ch forced dispatch

See Also: #3768

Bitfields for REAL/32 process flags:
Bit(s) Description (Table 3770)
0 system process
1 do not terminate
2 special rsp process
3 from process descriptor table
14-4 unused???
15 uses math coprocessor

See Also: #3768,#3771

Bitfields for REAL/32 secondary flags:
Bit(s) Description (Table 3771)
0 suspend when in background
1 ???
2 in foreground
3 enable APPEND processing on file opens
4 Ctrl-C was typed
5 Ctrl-C will reset disk system
6 OK to read locked record
7 ???
8 do not perform banking

See Also: #3768,#3770

(Table 3696)
Values for REAL/32 "N_LOGON" status:
0000h successful
00FFh server could not create shadow process
07FFh incorrect password
0CFFh not logged into specified server
0DFFh process already logged onto 16 servers,
LPB process not attached to network
0EFFh physical transmission prevented message or response from getting thru
network error during logoff
FFFFh calling process not attached to network