Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R0 | 13 |
R1 | Pointer to Mode String |
R2 | Pointer to Mode Selector Block to fill in |
R3 | Size of specifier buffer (bytes) |
Exit | |
---|---|
R0 | Error, or preserved |
- | All other registers preserved |
The purpose of this call is to convert a mode string to a mode selector block.
It’s not possible to read required size of the selector block using this call. Instead the caller must make an educated guess as to the required buffer size. It’s reasonable to expect up to four mode variables to be returned (NColour, mode flags, X & Y eigen factors), but future extensions or other implementations may return more.
See also OS_ScreenMode 14 to convert a mode specifier to a mode string.
This call is available in RISC OS Select and RISC OS 5.21+