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 pageOUT, if call successfull:
Fc = 0, OKOUT, if call failed:
Fc = 1 A = RC_FAIL, failed to allocate memoryRegisters changed after return:
..BCDEHL/IXIY same AF....../.... differentNotes:
Internal operating system usage.Bugs:
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.