Introduction and Overview
The calls to control the mouse and pointer settings are accessed through OS_Word 21. In order to ensure that the interfaces are complete, a new reason code has been defined to read the mouse bounding box.
SWI Calls
OS_Word 15OS_Word_ReadMouseBoundsSWI &7
Read mouse bounding box (OS_Word 21,7)
| R0 | = | 21 (reason code) |
| R1 | = | Pointer to 9 byte block, first byte of which is 7 |
| R0 - R1 | = | Preserved | ||||||||||||||||||
| RBlock at R1 | = | Updated to contain:
|
Interrupts are undefined
Fast interrupts are undefined
Processor is in undefined mode
Not defined
This SWI call is used to read the mouse bounding box which was set using OS_Word 21,1. The parameters in the block in R1 are in the same order. As with OS_Word 21,1, the coordinates are relative to the screen origin at the time of this call. This means that the bounding box can be preserved with this call, modified, and later restored using OS_Word 21,1.