You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug is present in Gens and was inherited by Gens/GS.
In real hardware, access to video memory is restricted during active scan, and only a few accesses can be performed (e.g. in the case of VRAM in H40 mode, it's limited to 18 bytes per scanline). During a DMA transfer from 68000 memory (e.g. ROM or RAM), the 68000 is temporarily halted.
Gens emulates this by writing all the data immediately and then adding a delay to 68000 emulation. This isn't noticeable as long as DMA operations remain within blanking time, but this has noticeable side effects if the DMA is performed during active scan, as the contents of VRAM change as the screen is being drawn.
The title screen in Gaiares suffers from this issue. In order to blink the "Press START button" message, it clears all the text and then redraws the copyright message. The reason this works is because the DMA is executed during active scan - it's fast enough to clear the press start text but not fast enough to clear the copyright text (which ends up getting cleared during vblank instead).
A way to fix this would be to emulate DMA transfers every scanline instead of executing all of it at once. This is what Fusion does. Not cycle accurate, but then again the emulator isn't cycle accurate for starters.
On 2013-02-05 11:54:47 -0500, David Korth wrote:
This is on my TODO list, but I have a bunch of other stuff ahead of it in order to get Gens/GS II 1.0_pre1 ready for release.
Since it's not a game-breaking bug, it will probably have a lower priority.
I'm also planning on writing a DMA test suite ROM to test various aspects of DMA, including the "zero-length" bug and 128K wraparound. I'll be sure to include something like this in the test suite.
The text was updated successfully, but these errors were encountered:
status CONFIRMED severity normal in component vdp/io for ---
Reported in version unspecified on platform All
Assigned to: David Korth
On 2011-09-17 04:42:55 -0400, Javier Degirolmo wrote:
On 2013-02-05 11:54:47 -0500, David Korth wrote:
The text was updated successfully, but these errors were encountered: