Title: CALLASWI Author: Darren Salt Version: 0.0 Title From: Documentation Author From: Documentation Version From: Documentation Supplier: Darren Salt Date: 25/10/96 Keywords: Systems software Shareware: No Machine: Archimedes Operating system: RISCOS Memory requirements: Peripherals needed: Other s/ware needed: RISC OS 3.1 to 3.6 Directory: micros/arch/riscos/e160 Date mounted/updated: 30/10/96 File names: callaswi.zip Unarchived files: 2 Unarchived size: 6 kbytes Omissions: See also: ------------------------------------------------------------------------------- Acquiring the package: Download the archive file(s) and extract using SparkPlug 2 (see the "tools_help" file in micros/arch/riscos/tools for further info). Description: The CallASWI module provides a new SWI allowing a target SWI number to be determined at run time, and passed in a register. This removes the need for a common idiom of dynamic code, in language library SWI veneers for example. In an APCS-R library, OS_CallASWIR12 may be more appropriate. Unlike Acorn's implementation, this version *does* allow you to use the SWI names. CallASWI implements the StrongARM support SWIs from RISC OS 3.7 and is suitable for use on RISC OS 3.1, and probably 3.5 and 3.6 as well.