Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 22 (&16) |
R1 | Module number, or 0 to start |
R2 | Instance number |
Exit | |
---|---|
R0 | Preserved |
R1 | Updated for next module/instance |
R2 | Updated for next module/instance |
R3 | Pointer to module? |
R4 | Pointer to private word, or 0 if module was not correctly unlinked |
R5 | Pointer to postfix string (the instantiation’s name) |
The purpose of this call is to enumerate ROM modules. Unlike OS_Module 12, this call returns a pointer to the private word, instead of the value of the word.
If a module is not multiply instantiated, R5 will be returned pointing to the string “Base”.
This is call equivalent was to introduced the in*ModulesRISC command. OS 5.27.
Currently this SWI is unsupported by RISC OS 5 and is only available in versions of ROL’s OS.