[hatari-devel] 68030 Debug mode and new CPU
Eero Tamminen
oak at helsinkinet.fi
Tue Feb 15 21:20:13 CET 2011
Hi,
On tiistai 15 helmikuu 2011, Nicolas Pomarède wrote:
> > However, I wonder whether this processor_time stuff is even necessary,
> > it seems to be used only for "events"(?) and vsyncmintime, which I
> > would guess maybe to correspond to Hatari internal interrupts or
> > synching sound& screen updates stuff Nicolas recently fixed....?
>
> These sleep calls are for Amiga only, calling sleep when cpu is in stop
> time can be useful only if we wait for a VBL, but for "faster" interrupt
> like hbl, sleeping 1 ms would be much too long.
I think the main use-case for stop instruction would be reducing battery
consumption on a laptop where somebody's running GEM applications
(as they mostly idle waiting user input) within an emulator like Hatari.
Only thing on Atari that I know to use stop instruction is EmuTOS.
Does anybody know anything else?
> Anyway, you can even declare "void sleep_millis (int ms) {}" if we want
> to keep that part of the code (but it would be better to clean it later
> with something like "#ifdef AMIGA_EMUL" for example)
- Eero
More information about the hatari-devel
mailing list