Re: [hatari-devel] GEMDOS bug: 5.10.2 Tgetdate off by one day, 5.10.3 Tgettime reports wrong time

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Tue, 25 Dec 2018 10:19:53 +0100
Christian Zietz <czietz@xxxxxxx> wrote:

> In Hatari, if you want to use your host's local time, you have to
> emulate a machine *with* real time clock (e.g. MegaST). If, on the
> contrary, you select an ST, at powerup EmuTOS will behave like on a
> real ST, which doesn't have a RTC, either. I.e. EmuTOS will set the
> IKBD date to its compile date (which probably was just one day off)
> and the IKBD time to 00:00:00.

Curiouser and curiouser.

I switched emulation to an STE, and the time and date are reported
correctly, so that will work for my purposes. Thank you.

The actual dated of compilation is Dec 18 14:26. And as an ST, the date
emuTOS now reports is still the 23rd.

It has been a while since I have used my ST, but I don't recall setting
the time and date every time I reset it. I wonder if I added a RTC to
it. There are two add-on ICs on the motherboard, neither jogs my
memory. Since I do not have the monitor readily at hand, I have not
tried setting it up and running it. Or there was an RTC on the SCSI
adapter I had, also not readily available.



-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/