MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: EmuTimer question
05/13/15 08:33 PM


> Think of it this way: Work doesn't cause the CPU clock to tick. Causality runs the
> other way: clock cycles are what drive the CPU. When in a suspended state, on each
> clock cycle, the CPU evaluates whether a "wake-up" condition has been met (e.g., an
> external signal, an interrupt, or some on-chip timer expiring). In your case, it's an
> external interrupt. If this hasn't happened, it will remain in the same state.

Right. If the CPU is suspended, the only difference from normal is that no opcodes are emulated on each clock. (This of course greatly reduces the emulation load on the host's CPU). Time still happens for timers and screens and so on.







Entire thread
Subject Posted by Posted on
* EmuTimer question dma.request 05/12/15 09:36 AM
. * Re: EmuTimer question Bart T.  05/13/15 06:14 AM
. * Re: EmuTimer question R. Belmont  05/13/15 08:33 PM
. * Re: EmuTimer question dma.request  05/13/15 10:05 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 66 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2157