IN:
A = reason code
HL, IX arguments
Reason codes are as follows:
DR_GET ($01) get handle for a DOR name (internal use)
DR_DUP ($02) duplicate DOR
DR_SIB ($03) return brother DOR
DR_SON ($04) return child DOR
DR_FRE ($05) free DOR handle
DR_CRE ($06) create blank DOR
DR_DEL ($07) delete DOR
DR_INS ($08) insert DOR
DR_RD ($09) read DOR record
DR_WR ($0A) write DOR record
OUT, if call successful:
Fc = 0
returned values depend on A(in)
OUT, if call failed:
Fc = 1
A = error code:
RC_HAND ($08), bad handle
RC_BAD ($04), bad argument
RC_ROOM ($07), no room
RC_EOF ($09), end of file
Registers changed after return:
not documented. |