SS.MsSig Set Status

From NitrOS-9
Jump to: navigation, search

Sends a signal to a process when the mouse button is pressed.

Entry Conditions
A path number
B SS.MsSig ($8A)
X user defined signal code (low byte only)
Error Output
CC carry set on error
B error code

Additional Information

  • SS.MsSig sends the process a signal the next time a mouse button changes state (from open to closed). Once SS.MsSig sends the signal, the process must repeat the SetStat each time that it needs to set up the signal.
  • Processes using SS.MsSig should have an intercept routine to trap the signal. By intercepting the signal, other processes can be notified when the change occurs. Therefore, the other processes do not need to continually poll the mouse.
  • The SS.Relea SetStat clears the pending signal request, if desired. It also clears any pending signal from SS.SSig. Because of this, if you want to clear only one signal, you must reset the other signal after calling SS.MsSig.
  • The support module for this call is CC3IO.