Versions Compared

Key

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

...

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

 

 

Code Block
titleFN_CH (A = $06), Change handle type (0Z 5.0 and newer
IN:  A = FN_CH ($06)
	 B = old type
	 C = new type
     IX = handle
OUT, if successful:
     Fc = 0, IX = same handle
OUT, if failed:
     Fc = 1, A = RC_Hand : bad handle old type

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