Search found 8 matches

by austere
Sun Jan 11, 2015 11:46 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

Any chance that you could post the CPU source? When we have had the chance previously to directly view others we've been able to help out so much quicker. Sure thing! https://bitbucket.org/austere/finalnes/src/cda4f12d810c58aa831f47b26687124738a74582/6502_fa/nes.cpp?at=master That's the latest comm...
by austere
Sun Jan 11, 2015 6:07 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

The core passes kevtris's test and the more thorough one for all official opcodes. I just upgraded the core so that it accounted for the extra cycle because of the carry calculation for page crossing. That got it passing blargg's VBL test and sprite hit bottom test. Still no dice on bomberman, will ...
by austere
Sat Jan 10, 2015 11:34 pm
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

Perhaps austere thought it was like DOSBox, where games don't care exactly how many cycles they're given so long as it's roughly comparable to the MIPS of the actual CPU. I know what you mean but no, I'm *not being ignorant of the timing model of the NES. I'm currently finishing a PhD in electronic...
by austere
Sat Jan 10, 2015 10:18 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

Emulators that can run a wide variety of commercial NES games need to have accurate cycle counts for all instructions. Games' raster effect loops can and do depend on extra cycles inserted due to page crossing. I did assume so, I never really expected many games to run given that I didn't account f...
by austere
Sat Jan 10, 2015 8:52 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

Thanks guys! I guess something to add to the hard to emulate list :P (it's funny since Super Mario Bros 3 works with some glitches in roof crushing scenes heh). The NMI timing inaccuracy might stem from the fact that I use the best case cycle count for all opcodes in my 6502 and that seems to work f...
by austere
Fri Jan 09, 2015 8:31 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

Excellent resource thanks for the link! Yup, ran the NES (US) version (DB9DCF89) and it showed identical behaviour. I disassembled Japanese bomberman ROM to see where it access the sprite hit flag: reset: sei cld ldx #$ff txs lbl_c005: lda $2002 ;PPU Status Register bpl lbl_c005 ;Wait for vblank lbl...
by austere
Thu Jan 08, 2015 9:08 pm
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Re: Bomberman hangs on opening title

I checked the CRC and it looks ok (F2FC8212), it's quite likely something to do with sprite 0 but I'm not sure what yet. Bomberman uses sprite 0 to get the game running. But I don't know if that would cause the title screen to freeze like SMB. I suspected this, I ran blargg's sprite0 tests. I passes...
by austere
Thu Jan 08, 2015 3:57 am
Forum: NESemdev
Topic: Bomberman hangs on opening title
Replies: 27
Views: 10710

Bomberman hangs on opening title

This had me stumped for ages, in my emulator, bomberman hangs on the opening title. I've coded up loopy's register model and Super Mario Bros works fine -- hell, I've got most MMC3 games working fine and glitch free. But Bomberman still doesn't run. :mrgreen: Any clue what it could be? Does it check...