83Plus:BCALLs:4600

From WikiTI
Jump to: navigation, search

Synopsis

Unofficial Name: PrevContext

BCALL Address: 4600

Sets up memory to switch to the previous context (essentially copying cxPrev to cxMain), if possible.

Inputs

  • None

Outputs

Destroys

  • Unknown

Comments

This function considers split screen modes if grfSplitOverride,(iy+sGrFlags) is not set.

This function immediately returns if (cxCurApp) is not 57h (FORMAT menu), 4Bh (TABLE SET editor), or 45h (MODE menu).

The purpose of this function is unclear, but straightforward.

Example

 set grfSplitOverride,(iy+sGrFlags)
 B_CALL PrevContext