MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Olivier Galibert
Semi-Lurker
Reged: 09/21/03
Posts: 390
Send PM
Re: 8088 mph we break all your emulators
04/10/15 03: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 04:56 AM
. * Re: 8088 mph we break all your emulators Moose  04/08/15 08:26 PM
. * Re: 8088 mph we break all your emulators jonwil  04/08/15 05:44 AM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/08/15 08:02 AM
. * Re: 8088 mph we break all your emulators reenigne  04/08/15 11:05 AM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/09/15 11:32 AM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 11:59 AM
. * Re: 8088 mph we break all your emulators R. Belmont  04/08/15 05:07 PM
. * Re: 8088 mph we break all your emulators reenigne  04/08/15 07:04 PM
. * Re: 8088 mph we break all your emulators MooglyGuy  04/09/15 02:38 AM
. * Re: 8088 mph we break all your emulators Vas Crabb  04/09/15 06:32 AM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 05:47 AM
. * Re: 8088 mph we break all your emulators R. Belmont  04/09/15 11:49 AM
. * Re: 8088 mph we break all your emulators reenigne  04/09/15 12:06 PM
. * Re: 8088 mph we break all your emulators Olivier Galibert  04/10/15 03:22 AM

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