Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

New API call introduced in and used by OZ V4.1 and newer for fastest bank switching functionality possible.

Bind bank, defined in B, into segment C (MS_Sx). Return old bank binding in B.. This  This is the functional equivalent of OS_Mpb and the OS_Fc, but much faster, since there is no system call decoding overhead. The routine resides in LOWRAM.

Related calls

OS_Bix, Bind in extended address
OS_Box, restore bindings after OS_Bix
OS_Fc, select fast code (fast bank switching)
OS_Mal, allocate memory
OS_Mcl, close memory (free memory pool)
OS_Mfr, free (previously allocated block) memory
OS_Mgb, get current bank binding in segment
OS_Mop, open memory (allocate memory pool)
OS_Mpb, set new bank binding in segment
OZ_Mgb, get current bank binding in segment