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

From WikiTI
Jump to: navigation, search
(wikify)
Line 1: Line 1:
 
{{Wikify}}
 
{{Wikify}}
_RunCatalog1Hook    EQU 505Ch  ;Undocumented 1.13
+
[[Category:83Plus:BCALLs:By Name|RunCatalog1Hook]]
    ;Checks the byte @ the address @ catalog1HookPtr.
+
[[Category:83Plus:BCALLs:By Name:Hook|RunCatalog1Hook]]
    ;If the byte is 83, it runs the hook. If the byte
+
[[Category:83Plus:BCALLs:By Address|505C - RunCatalog1Hook]]
    ;is different, it resets the catalog1 hook flag.
+
    ;Inputs:     catalog1HookPtr      must be setup correctly
+
    ;Outputs:   HL          Int16  points to start of hook
+
    ;            F          Int8    F is 6A if not run
+
  
Michael Cimino
+
== Synopsis ==
 +
'''Unofficial Name:''' RunCatalog1Hook
 +
 
 +
'''BCALL Address:''' 505C
 +
 
 +
Checks the first byte at 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
 +
set to zero.
 +
 
 +
=== Inputs ===
 +
The block for the Catalog 1 Hook must be set up correctly.
 +
<!-- What on earth does this mean? -->
 +
 
 +
=== Outputs ===
 +
* HL points to the start of the hook. <!-- The start of the hook block, or what? -->
 +
* F is 6A if the hook was not run. <!-- And if it was run? -->
 +
 
 +
=== Destroys ===
 +
Unknown.
 +
 
 +
== Comments ==
 +
This BCALL is known to be present in AMS 1.13, and is undocumented.
 +
 
 +
== Credits and Contributions ==
 +
*Michael Cimino

Revision as of 00:23, 27 March 2006


Please format this article according to the guidelines and Wikification suggestions, then remove this {{Wikify}} notice from the article.


Synopsis

Unofficial Name: RunCatalog1Hook

BCALL Address: 505C

Checks the first byte at 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