Difference between revisions of "83Plus:Hooks:9BB0"
From WikiTI
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
− | '''Name:''' | + | '''Name:''' App Change Hook |
− | '''Hook Pointer Block Address:''' [[83Plus:RAM: | + | '''Hook Pointer Block Address:''' [[83Plus:RAM:9BB0|9BB0]] |
− | '''Hook Enable BCALL:''' [[83Plus:BCALLs: | + | '''Hook Enable BCALL:''' [[83Plus:BCALLs:502C|502C]] |
− | '''Hook Disable BCALL:''' [[83Plus:BCALLs: | + | '''Hook Disable BCALL:''' [[83Plus:BCALLs:502F|502F]] |
− | '''Hook Call BCALL:''' | + | '''Hook Call BCALL:''' ''(none known)'' |
− | '''Hook Active Flag:''' | + | '''Hook Active Flag:''' [[83Plus:Flags:36#Bit_2|2, (iy + 36h)]] |
− | This hook | + | This hook is called at any time that TIOS changes from one app to another. Also called when the calculator is turned off. |
== Using the Hook == | == Using the Hook == | ||
− | + | ||
− | * | + | * B = current app |
− | * | + | ** Switching from one app to another: A = new app |
− | ** | + | ** Turning the calculator off from most apps: A = 2 |
− | ** | + | ** Exiting an external app: A = 0 |
− | ** | + | ** Turning the calculator off from the graph screen (possibly others): A = 0 |
− | + | ||
− | + | ||
== Comments == | == Comments == | ||
− | + | TIOS completely ignores the output of this hook. | |
− | + | ||
− | + | ||
− | + |
Revision as of 00:03, 28 March 2005
Synopsis
Name: App Change Hook
Hook Pointer Block Address: 9BB0
Hook Enable BCALL: 502C
Hook Disable BCALL: 502F
Hook Call BCALL: (none known)
Hook Active Flag: 2, (iy + 36h)
This hook is called at any time that TIOS changes from one app to another. Also called when the calculator is turned off.
Using the Hook
- B = current app
- Switching from one app to another: A = new app
- Turning the calculator off from most apps: A = 2
- Exiting an external app: A = 0
- Turning the calculator off from the graph screen (possibly others): A = 0
Comments
TIOS completely ignores the output of this hook.