OS_Box, Restore bindings after OS_Bix

Register parameters

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_Bix for further information. May be used by applications.

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
OZ_Mgb, get current bank binding in segment
OZ_Mpb, set new bank binding in segment

web analytics