Versions Compared

Key

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

...

Code Block
languagenone
titleNQ_Mfs ($8900), Read free space information (system use only)
IN:  BC = NQ_Mfs
     IX = memory handle

OUT: Fc = 0, success
             ABC = free space info (A = MSB, C = LSB)
             DE = 0
     Fc = 1, A = RC_Handle

Registers changed after return:
     ......../IXIY same
     AFBCDEHL/.... different

...

Code Block
titleNQ_Mup ($8909), Get memory used in pool
IN:
 IX = memory pool handle

OUT:
 Fc = 0, 
 DE = number of pages used (1 page = 256 bytes)

 Fc = 1, 
 A = RC_HND (bad handle)

Registers changed after return:
 A.BC..HL/IXIY same
 .F..DE../... different

Notes

API call implemented in OZ 5.0.


NQ_Mnt

Code Block
titleNQ_Mnt ($890C), fetch mount status
IN:
 A = slot number

OUT:
 Fc = 0, file area mounted in slot

 Fc = 1, 
 A = RC_ONF (object not found), no file area mounted in slot

Registers changed after return:
 A.BCDEHL/IXIY same
 .F....../... different

Notes

API call implemented in OZ 5.0.