Entry | |
---|---|
R0 | Territory number |
R1 | Pointer to table of entry points |
R2 | Value of R12 on entry to territory |
Exit | |
---|---|
R0 | Preserved |
R1 | Preserved |
R2 | Preserved |
The purpose of this call is to add the given territory to the list of active territories.
This call adds the given territory to the list of active territories, making it available for application programs.
A territory module must issue this call from its initialisation entry point when it is initialised, and whenever it receives the service call Service_TerritoryManagerLoaded.
The table pointed to by R1 should contain 43 entries, each of which is a pointer to code to handle one of the SWIs that – although in the territory manager SWI chunk – are actually handled by a territory module. The first entry corresponds to the SWI &4304A, the second to SWI &4304B, and so on through to the last entry which currently is for SWI &43074.