This trap reads the real-time clock.

Call ParametersReturn Parameters
D1.L D1.LTime (internal form).
D2.L D2.LCorrupted.
A0.L A0.LCorrupted.

No errors are returned by this trap.

  • All registers not shown above are not used on entry and are preserved on exit.
  • The number returned in D1.L is the number of seconds since 00:00 1st January 1961.
  • Note that the vectors CN_DATE and CN_DAY can be used to convert the date to ASCII.

The example here shows the use of this trap call.

  • qdosmsq/traps/trap_1/rrtc.txt
  • Last modified: 2009/02/25 16:18
  • by george.gwilt