| 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 1OUT:
D = bank to be bound into segment 2
IY = OSPUSH frame
Fc = 0Registers changed after return:
A.BCDEHL/IXIY sameNotes:
.F....../.... different
Internal operating system usage.Bugs:
OS_Box are called from GN_ and OS_ 2 byte calls. Please refer to OS_Box 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