Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Madden NFL 06 and Madden NFL 07: graphical bugs on the 'coin toss' screen #190

Closed
angrylion7 opened this issue Dec 17, 2015 · 4 comments
Closed
Labels
platform:GBA Game Boy Advance-related issues severity:holy grail Issues that affect all emulators severity:minor bug Issues that only have a minor impact on the library
Milestone

Comments

@angrylion7
Copy link

In both games the coin toss screen is utterly broken, at least in v0.3.2. To get there it's enough to select 'new game' and proceed. This video shows what it should look like:
http://www.youtube.com/watch?v=PR3sMHeuOcI
This problem exists in many emulators. VBA bug report:
https://sourceforge.net/p/vba/bugs/182/

Quote:
"It's due to a swi taking a of time for some reasons (because
it's writing to vram during display ?), and it seems pretty
harsh to emulate."

@endrift
Copy link
Member

endrift commented Dec 18, 2015

Looks like what's going on is that BG2PD gets set to 0x100 (correct), and then, via a DMA, set to 0, which causes the smear. What needs to happen is that the DMA should be disabled before BG2PD gets written. The DMA is disabled on the interrupt right after BG2PD gets written first, instead of before.

Not sure what's causing these to be ordered wrong.

@endrift endrift added the severity:minor bug Issues that only have a minor impact on the library label Dec 18, 2015
@taisel
Copy link

taisel commented Jan 20, 2016

Is this broken in every emulator? I swear to god if this is one of those subcycle glitch timing issues.

@endrift endrift added this to the 0.4.1 milestone Jan 23, 2016
@endrift endrift modified the milestones: 0.5.0, 0.4.1 May 23, 2016
@endrift endrift added the platform:GBA Game Boy Advance-related issues label Jun 24, 2016
@endrift endrift modified the milestones: 0.5.1, 0.5.0 Aug 8, 2016
@endrift endrift modified the milestones: 0.5.1, 0.5.2 Sep 27, 2016
@endrift endrift modified the milestones: 0.5.2, 0.6.0 Dec 31, 2016
@endrift endrift modified the milestones: 0.6.0, 0.6.1 Apr 22, 2017
@endrift endrift modified the milestones: mGBA 0.6.1, mGBA 0.6.2 Sep 21, 2017
@endrift endrift modified the milestones: mGBA 0.6.2, mGBA 0.7.0 Jan 15, 2018
@endrift endrift modified the milestones: mGBA 0.7.0, mGBA 0.8.0 Apr 22, 2018
@endrift endrift added the severity:holy grail Issues that affect all emulators label Mar 1, 2019
@endrift endrift removed this from the mGBA 0.8.0 milestone Sep 19, 2019
@endrift endrift added this to the mGBA 0.9.0 milestone Sep 19, 2019
@RobertPeip
Copy link

Hopefully you can fix it, too.
Have written something for it here:
https://github.com/RobertPeip/FPGBA/wiki/Madden-06-07-%22Holy-Grail%22-Bug

@endrift
Copy link
Member

endrift commented Jun 30, 2020

Still some polish left to be done, but the simple case is fixed at least.

RetroEdit pushed a commit to TASEmulators/mgba that referenced this issue Aug 29, 2020
vadosnaprimer pushed a commit to TASEmulators/mgba that referenced this issue Aug 30, 2020
portableandroid pushed a commit to portableandroid/mgba that referenced this issue Sep 7, 2020
Adapt PS2 port to latest SDK status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:GBA Game Boy Advance-related issues severity:holy grail Issues that affect all emulators severity:minor bug Issues that only have a minor impact on the library
Projects
None yet
Development

No branches or pull requests

4 participants