Difference between revisions of "OSWORD &15"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (Formatted title.)
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
OSWORD &15 (21 ) - Read/Write mouse and pointer infomation Arthur
+
{{PageTitle|OSWORD &15 (21): Mouse and pointer information}}
 
 
 
  XY?0=0 - Set pointer size, shape and active point
 
  XY?0=0 - Set pointer size, shape and active point
 
  On entry:
 
  On entry:
Line 42: Line 41:
 
   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==

Revision as of 15:59, 21 November 2021

OSWORD &15 (21): Mouse and pointer information
XY?0=0 - Set pointer size, shape and active point
On entry:
 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+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?1=signed 8-bit X multiplier
 XY?2=signed 8-bit Y multiplier
XY?0=3 - Set mouse position
On entry:
 XY+1..2=X position
 XY+3..4=Y position.
XY?0=4 - Read unbuffered mouse position
On exit:
 XY+1..2=X position
 XY+3..4=Y position
XY?0=5 - Set pointer position
On entry:
 XY+1..2=X position
 XY+3..4=Y position
XY?0=6 - Read pointer position
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)