Search found 507 matches

by Bananmos
Mon Apr 01, 2019 2:12 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

We could use some documentation on exactly what this compatibility subset of flash save actually supports, and how to set up the .SAV before starting. I didn't see anything that really describes it in the readme. Basically, neither sector erase nor the bitwise-and-behavior when writing cleared sect...
by Bananmos
Thu Mar 28, 2019 6:56 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Looks like PowerpakMapper30_v3 came with a pretty bad bug, courtesy of nesasm, which due to its daft addressing syntax had turned the final "jmp ($FFFC)" into a plain "jmp $FFFC". Strangely, Troll Burner, Black Box Challenge and the test ROM all seemed to boot fine with this bug in-place. But the By...
by Bananmos
Sun Mar 24, 2019 8:59 am
Forum: NESdev
Topic: NES Project Questions
Replies: 4
Views: 4899

Re: NES Project Questions

While there's no shortage of of NES mainboards, it is always a little disheartening to see a console modded to no longer take cartridges... :wink: I did make a board around around a year ago which allows easier access to the cartridge connector. This is the forum thread: NES hardware debugging board...
by Bananmos
Sat Mar 23, 2019 5:51 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Wow, that sure was a grind. Not only was finding room for code in the Powerpak plugins a challenge, but also (again) was hit by that nasty Xilinx ISE when debugging: Pasting lines sometimes puts them at the top of the source file, the file gets invalid and disabled in the project. But the whole thin...
by Bananmos
Sat Mar 23, 2019 4:43 am
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

As the "manufacturer id" doesn't necessarily need to be equal to $BF, I was thinking of putting something different in there for the Powerpak implementation. Say $BB (=BunnyBoy) on the Powerpak, and $ED for the Everdrive. This could allow software to know which of the 3 implementations it is runnin...
by Bananmos
Fri Mar 22, 2019 4:40 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Oh, and another thing where I might want some opinions... As the "manufacturer id" doesn't necessarily need to be equal to $BF, I was thinking of putting something different in there for the Powerpak implementation. Say $BB (=BunnyBoy) on the Powerpak, and $ED for the Everdrive. This could allow sof...
by Bananmos
Fri Mar 22, 2019 4:29 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Despite having fixed a bug, I also added some new ones. Namely forgetting some ppu_wait calls, and thus causing a real cart with true sector erase delay to push writes outside of vblank. Here is the latest bugfixed source: 30_test_src.zip I also couldn't help trying the theory of whether the Powerpa...
by Bananmos
Thu Mar 21, 2019 5:44 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

...and of course, the rule of thumb in computer science is that as soon as you've written that fancy debugging app, you only need to take a quick second look on your source code to spot that blatant bug. :oops: IMG_20190322_003422.jpg So yeah, verilog code looks good now. But hey, still happy to hav...
by Bananmos
Thu Mar 21, 2019 4:49 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Here's the updated version: 30_test_src.zip Anyway, this test should hopefully make debugging the Powerpak write sequence detector way easier. Though it might still need hooking up the cheap&buggy misbehaving logic probe from amazon to my debug board (still have plenty of these around if anyone need...
by Bananmos
Thu Mar 21, 2019 3:49 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Looking at FCEUX and Mesen as existing implementations reveals to me how fragile and incomplete the common implementations are right now. The test of $8000 in particular seems to corrupt the flash for FCEUX, which it really shouldn't... (unless I did something catastrophically wrong). I did notice ...
by Bananmos
Sun Mar 17, 2019 3:44 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

So my hacky solution for a mirrored write to WRAM for the first 8kB of PRG looks kind of successful: I can now successfully start Black Box Challenge from the CF card on my Powerpak, save the game, exit it by holding the power button, have my module write it back to the CF, and finally re-load the s...
by Bananmos
Sun Mar 17, 2019 10:39 am
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

Regardless of what the recommended emulator implementation is for unspecified, I would still recommend that homebrew developers plan for bus conflicts, and NES maker too should probably stop relying on the battery flag as a workaround, but I can't dictate what they feel is important. Agreed. And I'...
by Bananmos
Sun Mar 17, 2019 9:18 am
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

What do you mean "rare 1908s EPROM"? The RetroUSB boards made and released many games with had bus conflicts, did they not? That's the reason bus conflicts are stated. It was not some arbitrary choice, that's just what the hardware was. To be clear, I'm not questioning whether boards with bus confl...
by Bananmos
Sun Mar 17, 2019 4:05 am
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

I was under the impression that the Power Pak never enforced bus conflicts anyway... Hmm, thinking about this again you might be right. I figured that because the memories are "TTL compatible" and their I/Os connected directly to the cart edge, the usual bus conflict behavior could be triggered by ...
by Bananmos
Sat Mar 16, 2019 5:20 pm
Forum: NES Hardware and Flash Equipment
Topic: PowerPak mapper 30 implementation
Replies: 67
Views: 69676

Re: PowerPak mapper 30 implementation

One thing this makes me realize is that I think NESMaker games have the battery backed bit set in the header by default. I notice because the PowerPak offers to save it after long-reset. (Not really a problem... but it's probably just saving garbage from $6000. I think the real fix for this is real...