Versions Compared

Key

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

...

Code Block
languagenone
titleRST 20H, DEFW $C406
IN:
	  A = options
        A7 = even bank needed (for segment 0 allocation)
        A6 = fixed memory requested (no subject to swapping)
        A5 = from any slot
		A4 = no offset (generated and returned by call)
        A0-A1 = slot number if A5=0

      H = page offset ($00-$3F; $00 if A4 option set)
      L = number of pages wanted (1 to 64)

OUT:  Fc = 0 if empty memory found at bank BBH0
      Fc = 1, A = RC_Room if not enough space in slot(s)

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

Notes

This call tells application in which bank the explicit memory area requested is free for allocation. Refer to explicit memory allocation for further informations. This system call is only available in OZ release V4.6 and newer.

...