Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R1 | Reason Code 267648 (&41580) |
R2 | Lowest TIP version supported × 100 |
R3 | Last TIP version known × 100 |
R4 | Emulator flags |
Exit | |
---|---|
R1 | 0 to claim, else preserved to pass on |
R2 | Pointer to protocol name string (null terminated) |
R3 | Base SWI number of protocol module |
R4 | Pointer to protocol information block |
R5 | Protocol flags |
Bits | Value | Meaning |
---|---|---|
0 | 0 | Emulator does not support file transfer calls |
1 | Emulator supports file trans`fer calls | |
1 – 2 | 00 | Direction of link not important |
01 | One-way link required – protocol to emulator | |
10 | One-way link required – emulator to protocol | |
11 | Two-way link required | |
3 | 0 | Bits 1 – 2 are minimum requirement |
1 | Bits 1 – 2 are exact requirement | |
4 – 31 | 0 | All other bits are reserved and must be zero |
Bits | Value | Meaning |
---|---|---|
0 | 0 | Can open new link |
1 | Cannot open new link, or not useful | |
1 | 0 | Protocol does not support file transfer SWIs |
1 | Protocol supports file transfer SWIs | |
2 | 0 | Protocol does not support Protocol_DirOp? |
1 | Protocol supports Protocol_DirOp? | |
3 – 31 | 0 | All other bits are reserved and must be zero |
Note: If the protocol is mainly for file transfer (such as Ftp) and the terminal emulator doesn’t support file transfer calls (bit 0 of R3 was clear on entry) the protocol module should set bit 0 to show it’s ‘not useful’.
This service call is used in your terminal emulator to find all available compatible protocol modules.
To use this SWI, you should follow these steps:
The protocol module checks to see if:
If one of the above isn’t true, the protocol module must not claim the call – that is, it must return with registers preserved.
If both the above are true it must claim the call – that is, it must return with the values shown above in the section entitled On exit. It must then set an internal flag so it doesn’t claim this call again until it receives a Service_FindProtocolsEnd.