Difference between revisions of "83Plus:BCALLs:505C"

From WikiTI
Jump to: navigation, search
m (remove wikify template, sigh)
m (fix wording, double sigh)
Line 8: Line 8:
 
'''BCALL Address:''' 505C
 
'''BCALL Address:''' 505C
  
Checks the first byte at the block for the [[83Plus:Hooks:9BB4|Catalog 1 Hook]].
+
Checks the first byte of the block for the [[83Plus:Hooks:9BB4|Catalog 1 Hook]].
 
If the byte is 83, the hook is run; otherwise, the active flag for the hook is
 
If the byte is 83, the hook is run; otherwise, the active flag for the hook is
 
set to zero.
 
set to zero.

Revision as of 23:25, 26 March 2006


Synopsis

Unofficial Name: RunCatalog1Hook

BCALL Address: 505C

Checks the first byte of the block for the Catalog 1 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 Catalog 1 Hook must be set up correctly.

Outputs

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

Destroys

Unknown.

Comments

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

Credits and Contributions

  • Michael Cimino