hcs64 / neon64v2

NES Emulation On the N64, 2.0 WIP
https://hcs64.com/neon64.html
ISC License
77 stars 10 forks source link

Request to include mapper 119 in next release? #21

Open jedipimp81 opened 2 years ago

jedipimp81 commented 2 years ago

Hello there,

I would like to enquire if mapper 119 can be included in the next release? As a pinball fan, these mappers are used for the NES pinball games “High Speed” and “Pinbot”. They don’t “seem” like difficult games to emulate but I do not understand how the mappers work under the hood.

Thank you.

hcs64 commented 2 years ago

It looks like it should be pretty easy to repurpose mapper 4, as the TQROM board uses MMC3 but with just an additional bit for chip select between CHR-ROM and CHR-RAM.

Not sure when/if I'll get to it, but here's some pointers if someone wants to take it up: The change would be in these macros, using chrram instead of chrrom_start if bit 0b0100'000 of cpu_t0 is set. And you'll need to mask RAM to 8K. If you don't want to copy the whole file you can see how MMC1 variants work in rom.asm and mapper1.asm.

hcs64 commented 3 months ago

I added mapper 119 (and 118 while I was at it). It seems to be working well though I'm not too familiar with these games, let me know if you get to try it in the latest WIP build.