h6. [[OS SWI Calls]] h6(. » OS_Module h2. OS_Module h5. (SWI &1E) |_<^{width:4em}. Entry | | |<^. R0 |<^. "Reason code":#reason | |\2<^. All other registers are dependent on reason code| |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |\2<^. All other registers dependent on reason code| h4. Use The purpose of this call is to perform a module operation. h4. Notes The action performed depends on the reason code value in R0. h4(#reason). Reason Codes |_<^{width:4em}. #|_<^{width:4em}. Hex #|_<^. Action| |<^. 00|<^. &00|<^. [[OS_Module 0|Run]]| |<^. 01|<^. &01|<^. [[OS_Module 1|Load]]| |<^. 02|<^. &02|<^. [[OS_Module 2|Enter]]| |<^. 03|<^. &03|<^. [[OS_Module 3|ReInit]]| |<^. 04|<^. &04|<^. [[OS_Module 4|Delete]]| |<^. 05|<^. &05|<^. [[OS_Module 5|Describe RMA]]| |<^. 06|<^. &06|<^. [[OS_Module 6|Claim]]| |<^. 07|<^. &07|<^. [[OS_Module 7|Free]]| |<^. 08|<^. &08|<^. [[OS_Module 8|Tidy]]| |<^. 09|<^. &09|<^. [[OS_Module 9|Clear]]| |<^. 10|<^. &0A|<^. [[OS_Module 10|Insert module from memory]]| |<^. 11|<^. &0B|<^. [[OS_Module 11|Insert module from memory and move into RMA]]| |<^. 12|<^. &0C|<^. [[OS_Module 12|Extract module information]]| |<^. 13|<^. &0D|<^. [[OS_Module 13|Extend block]]| |<^. 14|<^. &0E|<^. [[OS_Module 14|Create new instantiation]]| |<^. 15|<^. &0F|<^. [[OS_Module 15|Rename instantiation]]| |<^. 16|<^. &10|<^. [[OS_Module 16|Make preferred instantiation]]| |<^. 17|<^. &11|<^. [[OS_Module 17|Add expansion card module]]| |<^. 18|<^. &12|<^. [[OS_Module 18|Lookup module name]]| |<^. 19|<^. &13|<^. [[OS_Module 19|Enumerate ROM modules]]| |<^. 20|<^. &14|<^. [[OS_Module 20|Enumerate ROM modules with version]]| |<^. 21|<^. &15|<^. [[OS_Module 21|Find end of ROM module chain]]| |<^. 22|<^. &16|<^. [[OS_Module 22|Enumerate modules with private word pointer]]| |<^. 23|<^. &17|<^. [[OS_Module 23|Unplug or insert modules]]| |<^. 24|<^. &18|<^. [[OS_Module 24|Claim aligned block]]| h4. See also * [[Service Calls]] * [[Module Format]]