83Plus:BCALLs:403C

From WikiTI
Revision as of 16:46, 25 September 2009 by FloppusMaximus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: PutAway

BCALL Address: 403C

Calls the current app's PutAway routine.

Inputs

Outputs

  • None

Destroys

  • Depends on the app (but you can assume all registers will be destroyed)

Comments

If bit 5, (iy + 25h) is set, this routine does nothing. Otherwise it calls the routine currently set as the put-away handler.

If you are writing a Flash app that needs put-away notification, your put-away routine should (after doing any necessary cleanup) use this routine to call the normal Flash app put-away routine provided by TI:

AppPutAway:
    ; free temporary memory, restore system flags,
    ; mark memory areas dirty, etc.
    B_CALL ReloadAppEntryVecs
    B_JUMP PutAway