Commit Graph

336 Commits

Author SHA1 Message Date
negativeExponent
50b9024080 more C89 fixes 2021-04-10 02:21:29 +08:00
negativeExponent
491975cf97 C89 fixes 2021-04-09 20:28:15 +08:00
twinaphex
cb9ea8f94e More C89 build fixes - for loop initial declarations 2021-04-08 17:50:56 +02:00
twinaphex
960528aa15 Style nits, C89 build fixes 2021-04-08 17:46:51 +02:00
NewRisingSun
d14623a966 readALU_DIP already returned a value in every case, but LGTM apparently did not get it. 2021-04-08 17:27:41 +02:00
NewRisingSun
c06e25ed30 Rewrite and unify J.Y. ASIC emulation. Add multicart mappers. 2021-04-08 17:06:17 +02:00
NewRisingSun
f4a5c2a420 Mapper 332: Add CNROM mode, support larger multicarts 2021-04-07 18:45:37 +02:00
NewRisingSun
82ce944aa3 Combine the very similar mappers 126/422/534/BS400/BS4040 into one common source code file. Rewrite for accuracy and compatibility with all known game dumps. Replace FUTURE KIDS hack with correct CNROM masking. 2021-01-31 15:51:09 +01:00
negativeExponent
8deefc3bef Fix warning 2020-11-17 06:52:11 +08:00
negativeExponent
d98245e49c Misc update 2020-11-17 06:40:10 +08:00
negativeExponent
faa58abe0f Add mapper 401 2020-11-17 03:30:05 +08:00
negativeExponent
0cc55ba1f1 m293: Fix alignment and update 2020-11-17 00:19:02 +08:00
negativeExponent
14b689cde6 Add mapper 293 2020-11-16 18:17:00 +08:00
Autechre
79b76eb197 Merge pull request #405 from michaelforney/toplevel-semicolons
Remove extraneous semicolons at top-level
2020-11-12 02:11:13 +01:00
negativeExponent
d8132fa88d Update bs4xxxr 2020-11-12 02:45:46 +08:00
Michael Forney
066899eaff Remove extraneous semicolons at top-level
These are unnecessary and not strictly allowed in ISO C.
2020-11-10 19:23:34 -08:00
negativeExponent
ed01e34323 Add unif multicarts
- Add unif board BS400R
- Add unif board BS4040R
2020-11-09 20:12:54 +08:00
Autechre
e7e7610c27 Merge pull request #401 from negativeExponent/mappers
Add mapper 370 and 395, update mapper 221
2020-10-30 17:47:45 +01:00
Autechre
0a473440c3 Merge pull request #402 from negativeExponent/fix
add workaround for some multicart games
2020-10-30 17:47:35 +01:00
negativeExponent
66dc404582 Fix #398 2020-10-31 00:23:37 +08:00
negativeExponent
344c12301f Add mapper 370 and 395, update mapper 221
Add support for mapper 395
Add support for mapper 370
Update mapper 221 for 2MB bank support
2020-10-31 00:16:42 +08:00
negativeExponent
9f46517792 Fix some warnings reported from LGTM 2020-10-26 07:41:48 +08:00
negativeExponent
565f60c0f2 Fix some warnings 2020-10-25 08:31:41 +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