Z88 Developers' Notes
Contents   Contents of System Calls

OS_Axp, allocate explicit page

RST 20H, DEFB $D2

IN:

     IX = memory handle
     OS_Mal supplies the BH[L] address page
OUT, if call successfull:
     Fc = 0, OK
OUT, if call failed:
     Fc = 1
          A = RC_FAIL, failed to allocate memory
Registers changed after return:
     ..BCDEHL/IXIY same
     AF....../.... different
Notes:
Internal operating system usage.
Interlogic comment: We believe that OS_Mal uses this call to
allocate new pages in a pool when needed. Since page are on 256 byte
boundaries the L register is probably ignored by this call.
Bugs: