Read last two graphics cursor positions
OSWord call | Action | Available on: | ||||
---|---|---|---|---|---|---|
(dec) | (hex) | BBC | Master | Electron | ||
13 | 0D | Read last two graphics cursor positions | x | x | x |
The operating system keeps a record of the last two graphics cursor, positions in order to perform triangle filling if requested. These cursor positions may be read using this call. X and Y should provide the address of 8 bytes of memory into which the data may be written.
Parameter block
XY+ | Content |
---|---|
0 | LSB Previous X coordinate |
1 | MSB Previous X coordinate |
2 | LSB Previous Y coordinate |
3 | MSB Previous Y coordinate |
4 | LSB Current X coordinate |
5 | MSB Current X coordinate |
6 | LSB Current Y coordinate |
7 | MSB Current Y coordinate |
Last modified October 6, 2021: Move BBC content into subdirectory to allow more bbc content (23080e8)