Re: [hatari-devel] Strange timestamp issue

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


Hi,

On 27.7.2024 14.51, Thorsten Otto wrote:
On Samstag, 27. Juli 2024 11:03:07 CEST Uwe Seimet wrote:
but what about never setting the timestamp on the Linux side to the
future but to "now" instead?

Is there any practical difference between that and using "host time" option?


>> Wouldn't that be possible and help in cases like the one I described?

If you use Atari code editor, but e.g. run "make" (cross-GCC etc) on the host, it's better. It all depends on whether your workflow relies on file timestamps matching host or emulated Atari time.


The timestamp of the file is not explicitly set by Pure-C when you save a
file. Instead, it is assumed to be the same that Tgettime() returns. If
Tgettime() returns something different (eg. because of fast-forward), those 2
times will differ.

I already mentioned that behaviour long time ago, thinking that a 200hz timer
should always be 200Hz, regardless of emulation speed. But probably this would
break lots of timing dependant tricks.

Yes.


	- Eero




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