Re: [hatari-devel] Strange timestamp issue |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Strange timestamp issue
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Sat, 27 Jul 2024 19:09:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1722100164; bh=zulyxv83ZMnEIQax7qBY+w4TdGDwqe57kvumHLCSops=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=AsE79NO8vF1PBjYMUill1hqBpHb9PDd/1AuhzDuPRP2ltQl2ndQ8m1g6hpn0Y/pVr q9RhAbkmYxheGZ6OHkYwGe/NCy8YnA/pFiDvosW0LKiN2sN9gDs0cPg5p/Q5zlKyvW GfRhFianL+QzAu5wlsK0GEQtZq4arBXSAZh1i6AZIcD2GEcm51sa76eFpiwvgrv0Gl dqrQatV7L5sjypAFI5THXSLzJlsoRp9ydxxjt4RkULGUj4b2jBv72oNkgUFYlMksw1 rmdStoKbsSdp0/qi0hivNVt4keHpUMbKUxmYAPzw/BYgdx5V7RY32HxNAx63eu3JDI gMTfvyr8Sk6eA==
> Am 27.07.2024 um 18:57 schrieb Uwe Seimet <Uwe.Seimet@xxxxxxxxx>:
>
>
>>
>>> What if Hatari were to automatically leave fast-forward mode for a few
>> seconds
>> whenever the mouse was used or a (mouse, keyboard, joystick) button was
>> pressed?
>> A solution?
>
> Not really I think. While Pure C is compiling several C files in
> fast-forwarding mode I would not want it to compile slower just because
> I move the mouse.
>
There have been similar problems with Previous. Therefore we modified the timing system to support two kinds of schedulers in parallel: One depending on CPU cycles and one depending on real time.
When setting delays with the CycInt functions you can choose if it should wait for a real amount of time or for a defined number of cycles.