|Re: [hatari-devel] GEMDOS bug: 5.10.2 Tgetdate off by one day, 5.10.3 Tgettime reports wrong time|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
- To: Christian Zietz <czietz@xxxxxxx>
- Subject: Re: [hatari-devel] GEMDOS bug: 5.10.2 Tgetdate off by one day, 5.10.3 Tgettime reports wrong time
- From: Charles Curley <charlescurley@xxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Dec 2018 12:56:35 -0700
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=charlescurley.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2nU/VUrTLXYbibj5doVPFrV9p/gx+7p6UhbhRIMrhRY=; b=rSuFrOfuXU/NrsC82O0EWemp5D Q3DgtfxZgl+UgEB9ATsNo/7KGw2yQVoA5CoV3jmJ6rvNGgXhgkneHfLlDHiyS0LtdYQCShFBkwmUS XQKrU+U1Pi4bnLEGmsVCuS3Spgz1Hwzt7aHvPWiaMwIKGYm/nDTm25VUs5rOlWDykXK1M1+y8/lM2 E7k/7h7+1FBzUY9RfSu/szoAkZqsInuw2Q6Nlcc1AeYOp89H9VD6KQW8RS5NobLvz6QyWnNhJ7kuC 8hiD7KsAMoIsuuKW5nMjywwBdM1DCad0C4WnYUhXCnXpRDrWYFrTCn1oUeJFFggFPwGh/gzZBfJ5Z YbWuEgqA==;
- Organization: occasionally
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