Difference between revisions of "83Plus:Hooks:9BB8"
From WikiTI
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
− | '''Name:''' | + | '''Name:''' Help Hook |
− | '''Hook Pointer Block Address:''' [[83Plus:RAM: | + | '''Hook Pointer Block Address:''' [[83Plus:RAM:9BB8|9BB8]] |
− | '''Hook Enable BCALL:''' [[83Plus:BCALLs: | + | '''Hook Enable BCALL:''' [[83Plus:BCALLs:504A|504A]] |
− | '''Hook Disable BCALL:''' [[83Plus:BCALLs: | + | '''Hook Disable BCALL:''' [[83Plus:BCALLs:504D|504D]] |
− | '''Hook Call BCALL:''' | + | '''Hook Call BCALL:''' ''(none known)'' |
− | '''Hook Active Flag:''' | + | '''Hook Active Flag:''' [[83Plus:Flags:36#Bit_4|4, (iy + 36h)]] |
− | This hook | + | 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 == | == Using the Hook == | ||
− | These different values, passed in | + | These different values, passed in A, determine what the hook should do. |
− | * 1: | + | * 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 == | == Comments == | ||
− | This hook | + | 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. |
− | + | ||
− | + | ||
− | + |
Revision as of 00:11, 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.