Showing changes from revision #5 to #6:
Added | Removed | Changed
Entry | |
---|---|
R0 | Reason code |
All other registers are dependent on reason code |
Exit | |
---|---|
Registers dependent on reason code |
The purpose of this call is to perform a pointer(mouse) operation.
The action performed depends on the reason code value in R0.
Many versions of RISC OS contain a bug which will cause OS_Pointer to malfunction or crash if called with an unsupported reason code. Therefore, care must be taken when attempting to make use of reason codes 2 and above.
Internally this call makes use of the PointerV software vector to communicate with the pointer driver(s).
# | Hex # | Action |
---|---|---|
0 | &00 | Get pointer type |
1 | &01 | Set pointer type |
2 | &02 | |
Read pointer presence (NCOS only) |