Difference between revisions of "83Plus:Hooks:9BB8"

From WikiTI
Jump to: navigation, search
(categorized)
Line 1: Line 1:
 +
[[Category:83Plus:Hooks:By_Name|Help Hook]]
 +
[[Category:83Plus:Hooks:By_Address|9BB8 - Help Hook]]
 
== Synopsis ==
 
== Synopsis ==
 
'''Name:''' Help Hook
 
'''Name:''' Help Hook

Revision as of 09:00, 28 March 2005

Synopsis

Name: Help Hook

Hook Pointer Block Address: 9BB8

Hook Enable BCALL: 504A

Hook Disable BCALL: 504D

Hook Call BCALL: (none known)

Hook Active Flag: 4, (iy + 36h)

This hook is called when a key is pressed at the Mode screen or in a system menu, as well as at Mode screen startup.

Using the Hook

These different values, passed in A, determine what the hook should do.

  • 1: A key was pressed in a menu
    • B = keycode
  • 3: At the mode screen
    • B = kMode at startup
    • B = kApp when the Mode key is pressed
    • B = keycode for other keys

Comments

This hook has been referred to as the Mode hook, but the only app to use it (Catalog Help) has nothing to do with the Mode screen.