Difference between revisions of "83Plus:BCALLs:4A65"

From WikiTI
Jump to: navigation, search
m
Line 1: Line 1:
 +
== Synopsis ==
 
'''Official Name:''' ZIfRclHandler
 
'''Official Name:''' ZIfRclHandler
  
This routine sets the zero flag if Rcl mode is active, or resets it otherwise. The check is performed by comparing cxMain to the value it would be when Rcl mode is active. Incidentally cxPage isn't checked.
+
'''BCALL Address:''' 4A65h
 +
 
 +
Returns whether or not a Rcl handler (the function that occurs when you press 2nd+Rcl) is currently active.
 +
 
 +
=== Inputs ===
 +
''None''
 +
 
 +
=== Outputs ===
 +
* Zero Flag: Set if Rcl handler is active, reset otherwise.
 +
 
 +
=== Registers Destroyed ===
 +
''Unknown''
 +
 
 +
== Comments ==
 +
This B_CALL works by simply comparing the address of [[83Plus:RAM:cxMain|cxMain]] to whatever it should be when the Rcl handler is active. Ironically [[83Plus:RAM:cxPage|cxPage]] is not checked.

Revision as of 07:37, 25 March 2005

Synopsis

Official Name: ZIfRclHandler

BCALL Address: 4A65h

Returns whether or not a Rcl handler (the function that occurs when you press 2nd+Rcl) is currently active.

Inputs

None

Outputs

  • Zero Flag: Set if Rcl handler is active, reset otherwise.

Registers Destroyed

Unknown

Comments

This B_CALL works by simply comparing the address of cxMain to whatever it should be when the Rcl handler is active. Ironically cxPage is not checked.