Z88 Developers' Notes
Contents   Contents of System Calls

OS_Box, restore bindings after OS_Bix

RST 20H, DEFB $63
 

IN:  E = bank to be bound into segment 1
     D = bank to be bound into segment 2
     IY = OSPUSH frame
OUT:
     Fc = 0
Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different
Notes:
Internal operating system usage.

OS_Box are called from GN_ and OS_ 2 byte calls. Please refer to OS_Box for further information. May be used by applications.
Bugs:
 

Related calls:

OS_Bix, Bind in extended address
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