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

From WikiTI
Jump to: navigation, search
(wikify)
Line 1: Line 1:
{{Wikify}}
+
[[Category:83Plus:BCALLs:By Name|RunTracerHook]]
_RunTracerHook      EQU 4FF9h  ;Undocumented 1.13
+
[[Category:83Plus:BCALLs:By Name:Hook|RunTracerHook]]
    ;Checks the byte @ the address @ tracerHookPtr.
+
[[Category:83Plus:BCALLs:By Address|4FF9 - RunTracerHook]]
    ;If the byte is 83, it runs the hook. If the byte
+
    ;is different, it resets the tracer hook flag.
+
    ;Inputs:     tracerHookPtr      must be setup correctly
+
    ;Outputs:   HL          Int16  points to start of hook
+
    ;            F          Int8    F is 6A if not run
+
  
submitted by Michael Cimino
+
== Synopsis ==
 +
'''Unofficial Name:''' RunTracerHook
  
btw, sorry about not looking up what the actual value of the hook ptr is
+
'''BCALL Address:''' 4FF9
 +
 
 +
Checks the first byte of the block for the [[83Plus:Hooks:9BA8|Trace Hook]].
 +
If the byte is 83, the hook is run.  Otherwise, the active flag for the hook
 +
is set to zero.
 +
 
 +
=== Inputs ===
 +
The block for the Trace Hook must be set up correctly.
 +
<!-- What does this mean? -->
 +
 
 +
=== Outputs ===
 +
*HL points to the start of the hook.  <!-- The hook block? -->
 +
*F is 6A if the hook was not run.  <!-- And if it was run? -->
 +
 
 +
== Comments ==
 +
This BCALL is known to be present in AMS 1.13, and is undocumented.
 +
 
 +
== Credits and Contributions ==
 +
*Michael Cimino

Revision as of 00:27, 27 March 2006


Synopsis

Unofficial Name: RunTracerHook

BCALL Address: 4FF9

Checks the first byte of the block for the Trace Hook. If the byte is 83, the hook is run. Otherwise, the active flag for the hook is set to zero.

Inputs

The block for the Trace Hook must be set up correctly.

Outputs

  • HL points to the start of the hook.
  • F is 6A if the hook was not run.

Comments

This BCALL is known to be present in AMS 1.13, and is undocumented.

Credits and Contributions

  • Michael Cimino