qdosmsq:traps:trap_1:rrtc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
qdosmsq:traps:trap_1:rrtc [2009/02/25 16:12]
george.gwilt Links added
qdosmsq:traps:trap_1:rrtc [2009/02/25 16:18] (current)
george.gwilt Links added
Line 1: Line 1:
 +====== MT_RCLCK/SMS_RRTC ======
  
 +This trap reads the real-time clock.
 +
 +^Call Parameters^^Return Parameters^^
 +|D0.B|$13|D0.L|Corrupted?|
 +|D1.L| |D1.L|Time (internal form).|
 +|D2.L| |D2.L|Corrupted.|
 +|A0.L| |A0.L|Corrupted.|
 +
 +===== Errors =====
 +No errors are returned by this trap.
 +
 +
 +
 +
 +===== Notes =====
 +  * 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 [[qdosmsq:vectors:ildat|CN_DATE]] and [[qdosmsq:vectors:ildat|CN_DAY]] can be used to convert the date to ASCII.
 +===== Example =====
 +The example [[qdosmsq:vectors:ildat|here]] shows the use of this trap call.
  • qdosmsq/traps/trap_1/rrtc.txt
  • Last modified: 2009/02/25 16:18
  • by george.gwilt