Versions Compared

Key

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

...

Code Block
titleRST 20H, DEFW $BA06
IN:
   DE = OP_IN file handle
   IX = OP_OUT file handle

OUT:
   Fc = 0,
        RAM File copied successfully to destination
   Fc = 1,
        A = RC_Hand, DE or IX is not a file handle
        A = RC_Wp, destination file is write protected
        A = RC_xxx, No Room, I/O error during copying process.

Registers changed after return:
   ..BCDEHL/IXIY same
   AF....../.... different 

Notes

API call implemented in OZ 5.0.

Internal operating system usage, however may be useful for applications. Use GN_Opf with OP_IN for source file, and OP_OUT for target file.

...