When OS_CallASWI was introduced in RISC OS 3.7, Acorn realised that in order to encourage adoption of the SWI and to ease the burden on programmers they had to provide a method for that SWI to be used on older OS versions. This resulted in the creation of the CallASWI module. Over time the number of kernel SWIs that that the module provides implementations of has grown in number. This page provides a list of SWIs provided by the module, and the OS and module version numbers in which the SWI was introduced.
SWI | OS version | CallASWI version |
---|---|---|
OS_CallASWI | 3.70 | 0.01 |
OS_CallASWIR12 | 3.70 | 0.01 |
OS_PlatformFeatures | 3.70 | 0.01 |
OS_SynchroniseCodeAreas | 3.70 | 0.01 |
OS_HeapSort32 | 5.00 | 0.03 |
OS_SubstituteArgs32 | 5.00 | 0.03 |
OS_ReadLine32 | 5.00 | 0.03 |
OS_LeaveOS | 5.00 | 0.101 |
OS_ConvertVariform | 5.17 | 0.06 |
OS_FSControl 58 | ROOL: FileSwitch 2.74 (RISC OS 5.17) | 0.07 |
ROL: FileSwitch 2.44 (RISC OS 4.xx?) | ||
OS_ReadUnsigned “WIDE” | 5.17 | 0.09 |
1 Note that although OS_LeaveOS is present in CallASWI 0.03 and later, a bug in the implementation would most likely lead to a crash or infinite loop if an attempt is made to use it. This bug was fixed in CallASWI 0.10.