Williams blits with bit 2 set take approximately 2x as long because

they are bus-shared with RAM. Should impact some timing behaviors
such as later levels in Robotron, where approximately 10% of the
blits are done with bit 2 set. Further refinements may be necessary
but this addresses the most significant issue. [Sean Riddle, Aaron Giles]
This commit is contained in:
Aaron Giles 2012-02-20 08:41:18 +00:00
parent 07ae75de27
commit fd8924f793

View File

@ -542,7 +542,7 @@ WRITE8_HANDLER( williams_blitter_w )
/* based on the number of memory accesses needed to do the blit, compute how long the blit will take */
/* this is just a guess */
estimated_clocks_at_4MHz = 20 + 2 * accesses;
estimated_clocks_at_4MHz = 20 + ((data & 4) ? 4 : 2) * accesses;
device_adjust_icount(&space->device(), -((estimated_clocks_at_4MHz + 3) / 4));
/* Log blits */