Commit Graph

214 Commits

Author SHA1 Message Date
negativeExponent
66dc404582 Fix #398 2020-10-31 00:23:37 +08:00
negativeExponent
5538bbedd9 Update mapper 059/060
Excerpt from nesdev:

NESten's Mapper DLL v1.0 contained an incorrect implementation of T3H53 as iNES mapper 059 and UNIF mapper BMC-T3H53. The UNIF implementation was improved in NESten's Mapper DLL v1.2 while the iNES implementation was not, causing confusion about what kind of cartridge the unimproved mapper 59 was supposed to be. As Nintendulator's mapper DLL is based on NESten's mapper DLL, this was carried over to Nintendulator. Presumably as a result of this confusion, FCEUX and others put the correct implementation of T3H53 at INES Mapper 060, displacing the "Reset-based NROM-128 4-in-1" in the process.

With that said above, im following nesdev's notes and change the
following:

- Reassign Mapper 60 as Mapper 59.
- Add BMC-T3H53, a UNIF cart using the same UNIF-board D1038 which is
  assigned as iNES Mapper 59
- Add the Reset-Based NRON-128 mapper, Mapper 60
2020-10-22 05:49:41 +08:00
negativeExponent
fc99e34a2c Typo 2020-10-21 21:07:13 +08:00
negativeExponent
c2594418a9 m176: Fix battery save size, silence parenthesis warning 2020-10-21 21:03:36 +08:00
negativeExponent
e0cb4d2814 Fix warnings [-Wimplicit-fallthrough=] 2020-10-21 20:55:08 +08:00
negativeExponent
2c97c53c8b m176: Fix address mask causing incorrect register writes 2020-10-20 22:13:03 +08:00
negativeExponent
023d2a397b m176: Updates
- Fix incorrect chr-bank mask (let's see which games complain again)

- Enables the 7-stage dipswitch support through reset switch.
  E.g switches multicart type on supported carts. like 10-in-1 to
  20-in-1 etc.
2020-10-19 09:17:45 +08:00
negativeExponent
7b1cb3e224 Enable default 8K wram to unif fk32ca 2020-10-13 04:27:33 +08:00
negativeExponent
658370fa90 m176: Always enable wram for ines-headered roms 2020-10-12 11:20:11 +08:00
Autechre
547bd25709 Merge pull request #390 from negativeExponent/mapper411
Add mapper 411
2020-10-11 17:17:48 +02:00
negativeExponent
8073cfba7e Add mapper 411 2020-10-11 22:56:00 +08:00
negativeExponent
5657cb9a1c Add mapper 554 2020-10-11 22:48:58 +08:00
negativeExponent
e6fcff5e99 Fk23c: Fix chr issues for some games
- Affects mostly waixing using mixed chr rom/ram modes (bit 2 of ram config register $A001)
2020-04-26 08:19:45 +08:00
negativeExponent
40ff23d0df Update ines-correct.h
- Add overrides for FK23C
- Move MMC1 overrides
- Move MMC5 overrides
2020-04-25 19:17:49 +08:00
negativeExponent
53a43479f3 Move overrides out of some mappers
Move mapper-based overrides out and use ines-correct.h if possible. Affects the following mappers below:
- Move Cnrom database to ines-correct.h
- Mapper 201 update
- Mapper 91: Add Street Fighter III (Submapper 1) to ines-correct.h
- Add dipswitch notes to m237
- Update mapper9 (PC10 version of Mike Tyson's Punch-out)
2020-04-08 16:29:04 +08:00
negativeExponent
e1bf53e80c m274: Update 2020-03-24 01:46:36 +08:00
negativeExponent
a9f679ef15 Add 42-in-80000 multicart (m380) 2020-03-24 01:34:03 +08:00
negativeExponent
a09293bcc0 Add mapper 389 (Caltron 9-in-1) 2020-03-22 11:30:49 +08:00
negativeExponent
a1f7cf9d89 Merge unif board BMC-Super24in1SC03 to BMC-FK23C 2020-03-19 22:01:25 +08:00
negativeExponent
311c450d01 m176: Minor tweak to chr mixed ram/rom logic check and others
- tweak chr mixed ram/rom logic check
- minimize updates to address $500x writes when there are no changes to reg values
- fix incompatible pointer type warning
2020-03-19 09:25:44 +08:00
negativeExponent
875ca9004b Simplify dipswitch options for Nintendo World Championships 1990 cart 2020-03-18 09:30:58 +08:00
negativeExponent
7602b0b613 MMC3: Make sure to free any allocated memory when using MMC3 as an external module. 2020-03-17 22:42:12 +08:00
negativeExponent
04ba2ac450 Misc mapper updates
- just some misc non-function changing updates
2020-03-17 22:00:59 +08:00
negativeExponent
ebcb4e66d9 m269: Move chr unscrambling to mapper init 2020-03-17 21:04:06 +08:00
negativeExponent
4d06f77e10 Remove unneeded code in BMC-Super24in1SC03
- remove remnants of last mapper update and code section that does not work anymore with fceumm's board handling
2020-03-17 10:55:56 +08:00
negativeExponent
d50f2e26e6 Cleanup 2020-03-17 10:35:56 +08:00
negativeExponent
5dc540dd5c Remove duplicate code in bmc-fk23c 2020-03-17 10:27:57 +08:00
negativeExponent
16031375d4 Rewrite BMC-FK23C/A (m176) based on updated notes and testing 2020-03-17 02:37:22 +08:00
negativeExponent
c92996128b Fix unterminated savestate struct 2020-03-10 03:58:30 +08:00
negativeExponent
9827248938 Update mapper 79 2020-03-10 03:58:30 +08:00
negativeExponent
82107ba321 vrc2and4: Fix mapper 22 games not working (regression) and refactoring
- fix mapper 22 games not working
- refactoring
- Fix implementation used for various Contra rom hacks
2020-03-10 03:58:30 +08:00
negativeExponent
edea0a8899 m369: Update and reworked 2020-03-10 03:58:29 +08:00
negativeExponent
a69354c1c2 Add mapper 369 (BMC-N49C-300) 2020-03-07 01:55:59 +08:00
negativeExponent
6a805ea424 mapper201: Add support for 21-in-1 (CF-043) (2006-V) (Unl) [p1] 2020-03-07 01:55:36 +08:00
negativeExponent
b00b8031fc Fix mirroring on KS7030 board 2020-03-07 01:52:35 +08:00
negativeExponent
b2e6d27f9a Update chr banking in mapper 217 2020-03-07 01:51:16 +08:00
negativeExponent
27a8cbb016 Fix mirroring in mapper 200 2020-03-07 01:51:10 +08:00
negativeExponent
722154b93f Allow FDS conversion mappers to use FDS APU 2020-03-06 02:58:27 +08:00
negativeExponent
80b002a04e Mapper42: Support for 256K prg rom fds conversion of Green Beret 2020-03-06 02:58:22 +08:00
negativeExponent
e9eb314311 Fix size inconsistency for prg and chr
- Unif shows ROM_size and VROM_size in bytes, while codebase expects these to be
in chunks of 16K for prg and 8K for chr. Update Unif to represent size as its
expected to be.

- Change PRGRomSize and CHRRomSize to represent sizes in bytes to make it consistent
with the rest of the size-related variables in struct CartInfo.
2020-03-06 02:57:16 +08:00
negativeExponent
342d51c365 MMC1: Fix some NES 2.0 games not saving or loading battery backup files 2020-03-01 19:03:44 +08:00
negativeExponent
46fe43a4f2 Use FCEU_free instead of free for mappers 2020-02-29 09:52:05 +08:00
negativeExponent
0979e66e1c Mapper 235 update support for 1MB/2MB carts and cart with unrom block 2020-02-25 23:09:02 +08:00
negativeExponent
fef34bda90 cnrom: Minor database cleanup
- use existing crc32 database for Bingo 75 (Asia) (Unl), this moves checksum check on mapper side instead of unif overrides.
- minor cleanup
2020-02-25 23:09:02 +08:00
negativeExponent
74bd49bfd8 mappers: Change indents from spaces to tabs
- makes this consistent with the rest of the mapper files and codebase in general
- this affects new and edited files in recent commits
2020-02-25 23:09:02 +08:00
negativeExponent
1f322e0b16 m269: Deallocate memory on exit 2020-02-25 23:09:02 +08:00
negativeExponent
473ec3a8aa Cleanup unused code and variables 2020-02-25 23:09:02 +08:00
negativeExponent
1b01730dda Update mapper 15 based on latest notes
- bit 7 acts as A13 only on mode 2
- prg mask now 0x3F of data latche etc.
- unrolled loops
2020-02-25 23:09:02 +08:00
negativeExponent
872acac367 Merge mapper 225 and 255, re-implement extra RAM
- merges mappers 225 and 255 since they are basically the same
- re-implement extra RAM as its required for some multicarts
2020-02-25 23:09:02 +08:00
negativeExponent
48300986c4 Add mapper 218 2020-02-19 20:19:08 +08:00