Difference between revisions of "OSWORD &15"
m (1 revision) |
m (Minor tidying.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:OSWORD]] | [[Category:OSWORD]] | ||
− | OSWORD &15 (21 ) | + | {{PageTitle|OSWORD &15 (21): Mouse/pointer information}} |
− | + | ==XY?0=0 - Set pointer size, shape and active point== | |
On entry: | On entry: | ||
+ | XY?0=0 | ||
XY?1=shape number (1-4) | XY?1=shape number (1-4) | ||
XY?2=width in bytes (0-8) | XY?2=width in bytes (0-8) | ||
XY?3=height in pixels (0-32) | XY?3=height in pixels (0-32) | ||
− | XY?4= | + | XY?4=activeX in pixels from left |
− | XY?5= | + | XY?5=activeY in pixels from top |
XY!6=>pointer shape data | XY!6=>pointer shape data | ||
− | + | ==XY?0=1 - Define mouse bounding box== | |
On entry: | On entry: | ||
+ | XY?0 =1 | ||
XY+1..2=left coordinate | XY+1..2=left coordinate | ||
XY+3..4=bottom coordinate | XY+3..4=bottom coordinate | ||
Line 18: | Line 20: | ||
XY+7..8=top coordinate | XY+7..8=top coordinate | ||
− | + | ==XY?0=2 - Set mouse multipliers== | |
On entry: | On entry: | ||
+ | XY?0=2 | ||
XY?1=signed 8-bit X multiplier | XY?1=signed 8-bit X multiplier | ||
XY?2=signed 8-bit Y multiplier | XY?2=signed 8-bit Y multiplier | ||
− | + | ==XY?0=3 - Set mouse position== | |
On entry: | On entry: | ||
+ | XY?0 =3 | ||
XY+1..2=X position | XY+1..2=X position | ||
XY+3..4=Y position. | XY+3..4=Y position. | ||
− | + | ==XY?0=4 - Read unbuffered mouse position== | |
+ | On entry: | ||
+ | XY?0 =4 | ||
On exit: | On exit: | ||
XY+1..2=X position | XY+1..2=X position | ||
XY+3..4=Y position | XY+3..4=Y position | ||
− | + | ==XY?0=5 - Set pointer position== | |
On entry: | On entry: | ||
+ | XY?0 =5 | ||
XY+1..2=X position | XY+1..2=X position | ||
XY+3..4=Y position | XY+3..4=Y position | ||
− | + | ==XY?0=6 - Read pointer position== | |
+ | On entry: | ||
+ | XY?0 =4 | ||
On exit: | On exit: | ||
XY+1..2=X position | XY+1..2=X position | ||
XY+3..4=Y position | XY+3..4=Y position | ||
+ | |||
+ | ==Implementation== | ||
+ | Initially implemented on Arthur. | ||
==See Also== | ==See Also== | ||
Line 47: | Line 59: | ||
[[User:Jgharston|Jgharston]] 13:28, 26 May 2009 (UTC) | [[User:Jgharston|Jgharston]] 13:28, 26 May 2009 (UTC) | ||
+ | [[User:Jgharston|Jgharston]] ([[User talk:Jgharston|talk]]) 18:16, 7 January 2023 (CET) |
Latest revision as of 18:16, 7 January 2023
OSWORD &15 (21): Mouse/pointer information
Contents
XY?0=0 - Set pointer size, shape and active point
On entry: XY?0=0 XY?1=shape number (1-4) XY?2=width in bytes (0-8) XY?3=height in pixels (0-32) XY?4=activeX in pixels from left XY?5=activeY in pixels from top XY!6=>pointer shape data
XY?0=1 - Define mouse bounding box
On entry: XY?0 =1 XY+1..2=left coordinate XY+3..4=bottom coordinate XY+5..6=right coordinate XY+7..8=top coordinate
XY?0=2 - Set mouse multipliers
On entry: XY?0=2 XY?1=signed 8-bit X multiplier XY?2=signed 8-bit Y multiplier
XY?0=3 - Set mouse position
On entry: XY?0 =3 XY+1..2=X position XY+3..4=Y position.
XY?0=4 - Read unbuffered mouse position
On entry: XY?0 =4 On exit: XY+1..2=X position XY+3..4=Y position
XY?0=5 - Set pointer position
On entry: XY?0 =5 XY+1..2=X position XY+3..4=Y position
XY?0=6 - Read pointer position
On entry: XY?0 =4 On exit: XY+1..2=X position XY+3..4=Y position
Implementation
Initially implemented on Arthur.
See Also
Jgharston 13:28, 26 May 2009 (UTC) Jgharston (talk) 18:16, 7 January 2023 (CET)