11.11.3 Co-resident Usage Restrictions
When using co-resident applications:
- A function may be shared between co-resident applications, but calling such a function should only be attempted if you are sure that all data is initialized, i.e., the called function should only reference shared or constant data.
- Only one co-resident application can fill in each vector slot.
- A co-resident application should have a stack provided. For a non-coresident application, the language tool will select the largest block of free space to be the stack. In a co-resident application, this should be defined by the programmer. Fortunately this is easily done with a simple assembly file. The following will reserve 1024 bytes for the stack:
.section *,stack .space 1024