Versions Compared

Key

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

...

Code Block
titleDR_FRW ($0D), file record write (OZ 5.0 and newer)
IN:
     B = record type letter (Name, Creation, Update, eXtent, Efs, Attribute)
     DE = user buffer address (to store information to be written, always local, in S0 or S1)
     IX = DOR handle (device or file type)

OUT, if call successful:
     Fc = 0
     original IX DOR handle is still valid

OUT, if call failed:
     Fc = 1
     original IX is still valid
     A = error code
          RC_BAD ($04), bad argument

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

Note

  • This call is the optimized equivalent of DR_WR for file record. It is used by operating itself.
  • Read notes about DR_FRR.


Code Block
titleDR_USE ($0E), handle in use (OZ 5.0 and newer)
IN:
     IX = DOR handle

OUT, if call successful:
     Fc = 0
     handle or device is NOT already in use

OUT, if call failed:
     Fc = 1
     original IX is still valid
     A = error code
          RC_USE, already in use

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

...