83Plus:Hooks:9BB8

From WikiTI
Revision as of 00:11, 28 March 2005 by FloppusMaximus (Talk | contribs)

Jump to: navigation, search

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.