Versions Compared

Key

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

...

Special record type (1) is used to store filesystem first sector pointer (16 bits in DE) as DOR son, MSB (MSB bank) always zero)


Code Block
languagenone
titleDR_WR ($0A), write DOR record
IN:
     B = record type
     C = buffer length
     DE = user buffer address (to copy information of store)
     IX = DOR handle

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_HAND ($08), bad DOR handle
          RC_BAD ($04), bad argument

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

...

Special record type (1) is used to store filesystem first sector pointer (16 bits in DE) as DOR son, MSB (MSB bank) always zero)