Versions Compared

Key

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

Register parameters

Code Block
languagenone
titleRST 20H, DEFW $C406$C206
IN:
      A7IX = evenmemory bankhandle needed (forfrom segment 0 allocationprevious OS_Mop)
      A6B = fixedbank memory requested (no subject to swappingslot ORed)
      A5H = frompage anyaddress slot
      A0-A1 = slot number if A5=0

      H = page offset high byte ($00-$3F)
      L = number of pages wantedto be allocated (1 to 64)

OUT:  Fc = 0 if, empty memory foundhas atbeen bankallocated
B       Fc = 1, A = RC_Room if not enough space in slot(s)
              A = RC_Fail if bad argument

Registers changed after return:
     ....DE../IXIY same
     AFBC..HL/.... different

Notes

This call tells application in which bank the memory area requested is free for allocationallocates 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.

...