> Hi,
> 
> I am a bit new to to RPCemu so it might be silly questions time.
> 
> I have RPCemu 0.7 running OS4.04 on a Vista laptop. Is there anyway to get
> the RISC OS clock to take notice of the Vista clock. Even if I manually set
> the time using Alarm the clock stops when the laptop is hibernated.

Trying to remember from the dim and distant past when I overclocked my
A3000...maybe someone with more knowledge of the inner workings of
RPCemu might be able to distill some valuable information from it.

Fact #1: during startup, RISC OS asks via IIC its hardware realtime
clock for the date and time and takes a soft copy of it. SWIs in RISC OS
which deal with asking for date and time always work on the soft copy.

Fact #2: after startup, the soft copy is incremented by a Timer (I think it
is Timer 0, but I'm not sure). The hardware realtime clock is not used
anymore (only if the time is set, the hardware clock is also adjusted).

So RPCemu should - if it detects a "restart from hibernate" (don't even
know if this is easily possible...) - probably sync the PC clock with the
RISC OS clock again. Then, everything should work fine.

Apart from that, I never use hibernate, as it regularly shows various
strange effects in all kind of software.

Steffen


_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to