Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The call WILL NOT automatically bind in the allocated memory into the Z80 address space.

Normally memory is allocated from slots 1-2-3-0 in that order.

If you specified MM_MUL in OS_Mop, you can force slot 1-3 during first
OS_Mal by loading A with slot number

If you didn't specify MM_MUL, all memory allocated from that pool is
guaranteed to be in same bank. Additionally, memory area returned from
OS_Mal is guaranteed to be in single page.

Related calls

OS_Bix, Bind in extended address
OS_Box, restore bindings after OS_Bix
OS_Fc, select fast code (fast bank switching)
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