Versions Compared

Key

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

...

Code Block
titleRST 20H, DEFW $C206
IN:
      IX = memory handle (from previous OS_Mop)
      B = bank (slot ORed)
      H = page address high byte ($00-$3F)
      L=number of pages to be allocated (1 to 64)

OUT:  Fc = 0, memory has been allocated
      Fc = 1, A = RC_Room if not enough space in slot(s)
              A = RC_Fail if bad argument

Registers changed after return:
     ..BCDE..DE..L/IXIY same
     AFBCAF....H.HL/.... different

Notes

This call allocates a large contiguous memory area at explicit address. Refer to explicit memory allocation for further informations. This system call is only available in OZ release V4.6 and newer.

...