| Z88 Developers' Notes | ||
|---|---|---|
| Contents | Contents of System Calls | |
OZ_Mgb, get memory binding
CALL $0057
IN:
C = memory segment specifier (MS_S0, MS_S1, MS_S2 & MS_S3)
OUT, always successful:
B = bank bound in segment
Registers changed after return:
AF.CDEHL/IXIY same
..B...../.... different
Notes:
New API introduced in OZ V4.1
Get current Bank binding for specified segment MS_Sx, defined in C.
This is the functional equivalent of OS_MGB, but much faster.
Related calls: