QDOS Internals

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

User Tools

Site Tools


qdosmsq:traps:trap_1:wevt

Table of Contents

SMS_WEVT

This trap waits for an Event.

Call ParametersReturn Parameters
D0.B$3BD0.Lcorrupted?
D2.BEvent(s) to wait for D2.BEvent(s) causing return
D3.WTimeoutD3.Lpreserved

Errors

None

Notes

  • No other registers are used.
  • There are eight possible events 0 to 7 represented by the bits in D2.B. The job can be asked to wait for any combination of these. For example the job will wait for events 0 and 2 if D2.B is 5.
  • The job will have an event accumulator set up to record the events for which it is waiting. When an event is received it is removed from the accumulator.
qdosmsq/traps/trap_1/wevt.txt · Last modified: 2008/11/30 21:34 by george.gwilt