MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Olivier Galibert
Semi-Lurker
Reged: 09/21/03
Posts: 398
Send PM
Re: 8088 mph we break all your emulators
04/10/15 08:22 AM


> Sounds like the equivalent on the PC to the "+IO CH RDY" line on the ISA bus. A
> peripherial can pull this low to suspend one of the phases of a bus access cycle,
> introducing wait states. That's not quite the same as interrupting the CPU on an
> arbitrary cycle, though - the execution unit can keep on running during these wait
> states, and the bus interface unit can only be suspended in one of its phases.

From an emulation point of view, it's roughly equivalent. What hardware does usually is stop the cpu on a bus access. Since instructions can do more than one bus access (the 68000 can reach around 68 I think) it means suspending the execution in the middle of an instruction. From a cpu emulation software point of view, there are four possible points to stop execution: almost never (static recompilers), at a branch (dynamic recompilers), at the end of an instruction (traditional cpu cores) or at any time (cycle-precise cpu cores). Each level increases overhead and the amount of state to track, but also increases timing precision. Any time vs. at a bus access is pretty impossible to distinguish externally, and in practice cycle-precise cpu cores are an hybrid of the two.

OG.







Entire thread
Subject Posted by Posted on
* 8088 mph we break all your emulators RdW 04/08/15 09:56 AM
. * Re: 8088 mph we break all your emulators Moose  04/09/15 01:26 AM
. * Re: 8088 mph we break all your emulators jonwil  04/08/15 10:44 AM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/08/15 01:02 PM
. * Re: 8088 mph we break all your emulators reenigne  04/08/15 04:05 PM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/09/15 04:32 PM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 04:59 PM
. * Re: 8088 mph we break all your emulators R. Belmont  04/08/15 10:07 PM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 12:04 AM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/09/15 07:38 AM
. * Re: 8088 mph we break all your emulators Vas Crabb  04/09/15 11:32 AM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 10:47 AM
. * Re: 8088 mph we break all your emulators R. Belmont  04/09/15 04:49 PM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 05:06 PM
. * Re: 8088 mph we break all your emulators Olivier Galibert  04/10/15 08:22 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 33 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4465