IN: A7 = even bank needed (for segment 0 allocation) A6 = fixed memory requested (no subject to swapping) A5 = from any slot A0-A1 = slot number if A5=0 H = page offset ($00-$3F) L = number of pages wanted (1 to 64) OUT: Fc = 0 if empty memory found at bank B Fc = 1, A = RC_Room if not enough space in slot(s) Registers changed after return: ....DE../IXIY same AFBC..HL/.... different |
OS_Axm, Allocate explicit memory
OS_Axp, Allocate explicit page
OS_Bix, Bind in extended address
OS_Box, Restore bindings after OS_Bix
OS_Fc, Select fast code (fast bank switching)
OS_Fma, Find memory for allocation
OS_Fxm, Free explicit memory
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