blargg's test ROMs need updating?
Moderator: Moderators
blargg's test ROMs need updating?
Nestopia doesn't emulate the CMC'80s Demo correctly because of what Marty has determined to be a VBL power-up timing bug (link). As I stated in that thread, I couldn't seem to find a test by blargg that is specifically for this issue. Does blargg need to update his tests?
Warning: I am not a serious developer (yet), but CS and EE really interest me.
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^
-
- Posts: 345
- Joined: Fri Jul 29, 2005 3:40 pm
- Location: near chicago
Code: Select all
if ( apologyNeeded( ) )
{
cout << "I'm sorry I didn't say please right from the start. I didn't";
cout << " know this would be treated as a request.";
}
else
{
brain_gpf( ); // :roll: Oops, smilies don't work inside a code tag
}
Warning: I am not a serious developer (yet), but CS and EE really interest me.
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^
I think my tests never became conclusive enough on the issue. I wanted to determine all power-up behavior but it proved to be more complex than I was willing to probe. The most recent test code I have from October 2005 is commented with this: "The VBL flag ($2002 bit 7) is set at power-up and clear at reset. It is next set about 27384 clocks later." I probably posted about this in another thread last year when I was testing it.
I know Disch's "hack" about the VBlank flag on startup to get Cobra Triangle working. However, on my side, I *had* to keep the VBlank flag raised on power up. No annoyances on homebrew/test ROMs as far as I know.
Zepper
RockNES author
RockNES author
Oops, I should have realized that ! apologyNeeded( ) was pretty much a given... ![Wink :wink:](./images/smilies/icon_wink.gif)
I think some of you might be making this too complicated:
I haven't read the Nestopia source code, nor am I a NES technical expert.
![Wink :wink:](./images/smilies/icon_wink.gif)
I think some of you might be making this too complicated:
(link)On the Nestopia forums, Marty wrote:The bug was simply a coding typo. To be specific, line 653 in NstPpu.cpp:
if (phase != &Ppu::WarmUp || stage < WARM_UP_FRAMES)
should really just be:
if (phase != &Ppu::WarmUp)
I haven't read the Nestopia source code, nor am I a NES technical expert.
Warning: I am not a serious developer (yet), but CS and EE really interest me.
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^