83Plus:Hooks:9BBC
From WikiTI
Revision as of 21:59, 27 March 2005 by FloppusMaximus (Talk | contribs)
Synopsis
Name: cxRedisp (has been incorrectly called the PutAway hook)
Hook Pointer Block Address: 9BBCh
Hook Enable BCALL: 506Bh
Hook Disable BCALL: 506Eh
Hook Call BCALL: (Unknown)
Hook Active Flag: 5, (iy + 36h)
Using the Hook
This hook is a very simple, but very useful one. It's triggered before the system monitor calls cxRedisp for any context. Both the A and B registers will contain the current context (basically the value of cxCurApp.) Returning with the zero flag set will cause the cxRedisp vector to be called; returning with it reset will prevent the vector from being called (this will generally break any system context!)