QDOS Internals

Anything you never knew you wanted to know about the Sinclair QL.

User Tools

Site Tools


qdosmsq:traps:trap_3:flsh

Table of Contents

FS_FLUSH/IOF_FLSH

This trap flushes a file's buffers.

Call ParametersReturn Parameters
D0.B$41D0.LError code.
D1.LUnused.D1.LCorrupted.
D3.WTimeout.D3.LPreserved.
A0.LChannel ID.A0.LPreserved.
A1.LUnused.A1.LCorrupted.

Errors

ERR_NCNot complete.
ERR_NOChannel not open.

Notes

  • All registers not shown above are not used on entry and are preserved on exit.
  • When a write operation returns complete there may still be information in the slave blocks. This trap will ensure that the file is in a known state.
qdosmsq/traps/trap_3/flsh.txt · Last modified: 2010/10/30 15:36 by george.gwilt