Search found 768 matches

by Sour
Tue Mar 31, 2020 2:06 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 807
Views: 341129

Re: Mesen - NES Emulator

Do you plan to fix mapper 19 emulation? Dragon Ninja is having issues and the translation of Kaijuu Monogatari as well. You shouldn't assume that I know a bug exists in the first place :p In this case, though, it sounds like another issue someone else reported a few weeks ago (I think this was by e...
by Sour
Mon Mar 30, 2020 7:52 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 807
Views: 341129

Re: Mesen - NES Emulator

Just sent in a tiny little pull request to fix a minor bug that happens to nobody. I also had a big adventure with trying to get the program to build correctly, and if I didn't rebuild all pieces of the entire program, I would get heap corruption that would cause Win32 API calls like UpdateWindow t...
by Sour
Sun Mar 29, 2020 5:44 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 807
Views: 341129

Re: Mesen - NES Emulator

Without access to the game, this is essentially impossible to debug, unfortunately. Is it a NROM (mapper 0) game? Or does it use a common mapper? If so, it seems somewhat unlikely that there would be a bug in the reset logic that somehow only affected this game.
by Sour
Thu Mar 12, 2020 6:36 pm
Forum: NESdev
Topic: Measuring lag, spare cycles in Mesen
Replies: 13
Views: 1821

Re: Measuring lag, spare cycles in Mesen

Do you have to select the end of the game logic every time you reassemble your programs, due to the code moving around? Yes - the tool just watches a specific address to see when the CPU reaches it. Reloading the ROM will also cause the tool to get turned back off, so you'll need to re-enable it af...
by Sour
Thu Mar 12, 2020 6:09 am
Forum: NESdev
Topic: Measuring lag, spare cycles in Mesen
Replies: 13
Views: 1821

Re: Measuring lag, spare cycles in Mesen

This is pretty much exactly what this tool in Mesen allows you to do: http://mesen.ca/docs/debugging/debugger.html#performance-tracker Right-click on a line of code (in the debugger) that runs at the very end of your game logic for a frame and enable the "performance tracker" on it to see a graph of...
by Sour
Tue Mar 03, 2020 2:12 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

would it be possible to make a "ROM is RAM" mode for development? I'm not entirely sure what you mean? From the debugger tools, the ROM is always like RAM. You can change any value in memory (via the hex editor or the recently added assembler tool) and save the changes as an IPS patch or a new rom ...
by Sour
Tue Mar 03, 2020 2:09 pm
Forum: NESemdev
Topic: Mesen - NES Emulator
Replies: 807
Views: 341129

Re: Mesen - NES Emulator

While testing some other games I noticed that the english translation of Spelunker II - Yuusha e no Chousen doesn't work properly. It's mapper 2 with 257KB = UOROM. Not sure if the translation has bad coding or if it's on Mesen's side but thought I'd mention it. I haven't been able to make it work,...
by Sour
Mon Mar 02, 2020 6:14 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

Isn't it just beyond incredible that there are seemingly hundreds of titles in a library of only ~2,000 unique non-regional-variant games that do crazy things like this and break if even the tiniest little detail is wrong? I get how things like this can slip through testing, but not the frequency w...
by Sour
Sun Mar 01, 2020 4:46 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

EDIT: Backup RTC seems to be broken for Tengai (both, the original and translation). Deleted RTC and save data before. Both seem to be working fine on my end. Are you fast forwarding through the initial setup? If so, you'll cause it to fail, because the game expects X seconds to pass between 2 part...
by Sour
Sun Mar 01, 2020 9:31 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

Is there anything weird going on with that one? It looks like the answer to that is "yes". :p I wasn't aware it froze at all (looks like it worked in 0.1.0, but not in any version after this). The game enables NMI in the middle of vertical blank (with a 16-bit write to 4200+4201), and it expects th...
by Sour
Sat Feb 29, 2020 6:23 pm
Forum: NESemdev
Topic: PPU wait for ready in Donkey Kong
Replies: 26
Views: 4231

Re: PPU wait for ready in Donkey Kong

Ah, that makes a lot more sense, thanks! So the logic is that the registers stay "locked" until pre-scanline (-1) on dot 0? That's easy to implement then (and a lot easier to understand than some number of CPU cycles) Do we know if the PAL PPU works the same way (or have any reason to think it would...
by Sour
Fri Feb 28, 2020 9:25 pm
Forum: NESemdev
Topic: PPU wait for ready in Donkey Kong
Replies: 26
Views: 4231

Re: PPU wait for ready in Donkey Kong

What would a test ROM even do? As far as I can tell, this is just "is VBL set when the VM is turned on"... right? I wasn't referring to the VBL flag bit, sorry. I meant the part where half of the registers are supposed to be ignored for "~29658 CPU cycles" after power on/reset, which seems kind of ...
by Sour
Fri Feb 28, 2020 7:22 pm
Forum: NESemdev
Topic: PPU wait for ready in Donkey Kong
Replies: 26
Views: 4231

Re: PPU wait for ready in Donkey Kong

Maybe because these emulators doesn't implement the PPU warm up ? I don't recall seeing any emulator that implemented this (one might very well exist, though.) As far as Mesen goes it's mostly because I keep forgetting about it (and there is no proper test rom for the behavior, so I'd have to guess...
by Sour
Tue Feb 18, 2020 7:39 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

The RTC fails to verify upon first time check. :( Or was RTC not even implemented yet? The RTC implementation is fairly incomplete and rough around the edges, but it (mostly) works. I think it can sometimes fail due to way it's implemented right now, but I just tried 4 times and it worked each time...
by Sour
Mon Feb 17, 2020 7:40 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 304
Views: 128708

Re: Mesen-S - SNES Emulator

Also, the hacks I've tested are Thanks for the list! It sounds like at least some of them should be working on hardware, from what I've read. I ended up spending some time on the first one you linked, but while it boots in bsnes-plus, it doesn't appear to boot in current bsnes. The game appears to ...