Versions Compared

Key

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

...

Code Block
titleFN_AH (A = $04), Get (Find) handle (OZ 4.6 and newer)
IN:  A = FN_GH ($04)
     IX = first handle to test, 0 to begin with firsttop handle
     B = handle type
     C = dyn id, 0 to bypass the check

OUT, if successful:
     Fc = 0, IX = handle

OUT, if failed:
     Fc = 1, A = RC_EOF

Registers changed after return:
     ..BCDEHL/..IY same
     AF....../IX.. different


Code Block
titleFN_NH (A = $05), Get next handle of same type (OZ 4.6 and newer)
IN:  A = FN_NH ($05)
     IX = handle to test
OUT, if successful:
     Fc = 0, IX = handle
OUT, if failed:
     Fc = 1, A = RC_EOF

Registers changed after return:
     ..BCDEHL/..IY same
     AF....../IX.. different

...