Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | 13 |
R1 | Pointer to key handler, or 0 to just return valid flags |
Exit | |
---|---|
R0 | Mask of valid key handler flags |
The purpose of this call is to allow the owner of a key handler to validate it before installing it via OS_InstallKeyHandler, or to read which key handler flags this OS version supports.
If a key handler has been supplied and is invalid, error &1F4 (“Bad key handler”) will be returned.
If no key handler has been supplied and the SWI generates an error (e.g. &1EC, “Unknown OS_ReadSysInfo call”), then take it as an indication that the kernel doesn’t support the new key handler format at all.