Int 61 Fn 0007 - Banyan Vines - Get Ports For A Service [N]

AX = 0007h
BX = 0002h
DS:DX -> StreetTalk service name
DS:DI -> port record block (see #3104)

Return: AX = status (see #3103)

Note: if the requested number of ports is greater than five, it will be reset
to five

See Also: AX=0007h/BX=0001h,AX=0007h/BX=0003h,AX=0007h/BX=0004h

See Also: AX=0007h/BX=000Ah

Format of VINES port record block:
Offset Size Description (Table 3104)
00h WORD (call) number of 17-byte elements (01h-05h) to be filled
02h BYTE (call) port type for first port
03h 16 BYTEs (ret) port (see #2999)
13h BYTE (call) port type for second port
14h 16 BYTEs (ret) port (see #2999)
24h BYTE (call) port type for third port
25h 16 BYTEs (ret) port (see #2999)
35h BYTE (call) port type for fourth port
36h 16 BYTEs (ret) port (see #2999)
46h BYTE (call) port type for fifth port
47h 16 BYTEs (ret) port (see #2999)
57h BYTE reserved

See Also: #3106