Setting System Time?
Help!
Does anyone have, or know of, some code fragments to set the system Time-of-Day
clock (as opposed to the Battery-Backed clock)?
I have a need to synchronize the Amiga system time to an external clock source.
I can do it by re-setting the BattClock chip (via Resources & Utility.library)
and then executing "SetClock Load", but that's not as neat as I'd like it. I
can't find anything in all my Amiga docs about setting the system time, nor in
the AmigaTech library here on CIS.
What I need is a routine (in C or Asm) to take a time value (which I can supply
in any suitable form) and do whatever "Date" and "SetClock" do in order to set
the System Time.
All info/advice appreciated
Martin Kay