| Z88 Developers' Notes | ||
|---|---|---|
| Contents | Contents of System Calls | |
OS_Axp, allocate explicit page
RST 20H, DEFB $D2
IN:
IX = memory handleOUT, if call successfull:
B explicit bank
H explicit page
Fc = 0, OKOUT, if call failed:
Fc = 1Registers changed after return:
A = RC_FAIL, failed to allocate memory
..BCDEHL/IXIY sameNotes:
AF....../.... different
Internal operating system usage.Bugs:
Since page are on 256 byte boundaries the L register is ignored.
This call could be useful for properly allocating 512 bytes or more contigous memory area.
The first page is allocated with OS_Mal.
Next pages are allocated with OS_Axp specifying B and H+1 (and more...).