Commit Graph

56 Commits

Author SHA1 Message Date
negativeExponent
03c42f32b3 update (#483)
* Fix missing GameStateRestore

* Add mapper 403

Co-authored-by: negativeExponent <negativeExponent@users.noreply.github.com>
2022-01-24 15:53:53 +01:00
NRS-NewRisingSun
d72c64e5d9 Exponential notation of NES 2.0 ROM sizes; mappers (#480)
* Support 2 MIB mapper 314 (Y2K 76-in-1)

* Mapper 57: Forgot one Sync() statement

* Mapper 83: Correction for 256 KiB PRG+512 KiB CHR games

* Mapper 114: Use NES 2.0 submapper field if available to differentiate between scrambling patterns

* NES 2.0: Support exponential notation of PRG/CHR sizes, thus adding support for 4 KiB and 8 KiB ROM files.

* Add mapper 553.

* Correct the database regarding the Nanjing game Pegasus Senya

* Add submapper 5 (HST-162) to mapper 176

* Add mapper 436

* Mapper 176.5 has a CNROM latch as well, though it works a bit differently than submapper 1's

* Added mapper 429

* Added mapper 380 submapper 1

* Added mapper 437

* Added mapper 456

* Forgot to include math.h for pow

* Added mapper 434

* Added mapper 452

* Added mapper 438

* Added mappers 391 and 444, corrected the mixup with BS-110 and NC7000M

* Added mapper 443. Added menu-switching funcionality to mapper 444

Co-authored-by: NewRisingSun <8vytz1+dhp372pv94ebg@sharklasers.com>
2022-01-06 08:22:18 +01:00
NewRisingSun
ea17977c20 Mapper 319: Use hp898f.c only for the old incorrect UNIF bank order, and 319.c for all NES 2.0 ROMs. Add CNROM mode and solder pad switch to the latter. 2021-11-14 17:01:55 +01:00
NewRisingSun
fe6c0c4513 Added support for mapper 383. 2021-11-14 16:11:24 +01:00
NewRisingSun
d99e6e563c Add support for mapper 376 2021-10-22 22:29:26 +02:00
NewRisingSun
97ffbc5f83 Rewrite mappers 162,163,164; add mapper 558. Add EEPROM support to 164. 2021-05-30 01:08:41 +02:00
NewRisingSun
ce2d55c3e8 Update the database for mapper 176 games. Set the iNES2 flag when the submapper field is used. 2021-05-28 21:22:18 +02:00
NewRisingSun
b02fa46cb1 Add support for Jncota variant, mapper 523 2021-05-26 20:36:06 +02:00
NewRisingSun
cf476194ce Combine UNIF AB-G1L, WELL-NO-DG450 and TF2740 into NES 2.0 Mapper 428. 2021-04-14 19:16:57 +02:00
NewRisingSun
0657d21366 MINDKIDS accessible as NES 2.0 m268.1; mapper 224 is MINDKIDS; remove KT-008 remnants from mmc3.c 2021-04-10 14:38:49 +02:00
NewRisingSun
c06e25ed30 Rewrite and unify J.Y. ASIC emulation. Add multicart mappers. 2021-04-08 17:06:17 +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
faa58abe0f Add mapper 401 2020-11-17 03:30:05 +08:00
negativeExponent
14b689cde6 Add mapper 293 2020-11-16 18:17:00 +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
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
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
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
a69354c1c2 Add mapper 369 (BMC-N49C-300) 2020-03-07 01:55:59 +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
48300986c4 Add mapper 218 2020-02-19 20:19:08 +08:00
negativeExponent
6e7d5abaab Update implementation of some unlicensed mappers 2020-02-17 09:32:29 +08:00
negativeExponent
b7050cb55d Add mappers 111, 356, 269, 353
- backport mapper 111 (Cheapocabra or GTROM) from fceux
2020-02-17 09:32:29 +08:00
negativeExponent
0b4b5421dc Add BMC-SB-5013 (m359) and UNL-82112C (m540) 2020-02-17 09:32:29 +08:00
negativeExponent
310b75964f Add mapper 543, 550, 516 2020-02-17 09:32:29 +08:00
negativeExponent
cfe11b9b95 MMC1: Better work ram and battery saves support for size greater than 8K 2020-02-17 09:31:01 +08:00
negativeExponent
7ba3350900 Add mappers 382, 534, 539 2020-02-17 09:26:01 +08:00
negativeExponent
9150960326 Add mappers 360, 533 2020-02-17 09:20:13 +08:00
negativeExponent
f4756f9357 Add mapper 297
- also add appropriate input overrides since cart is light gun based
2020-01-31 20:19:25 +08:00
negativeExponent
c08697a024 Add mapper 267 2020-01-29 20:00:22 +08:00
negativeExponent
45d553100a Add mapper 390 2020-01-29 03:10:11 +08:00
negativeExponent
fd823c4021 Add mapper 374 2020-01-29 01:09:31 +08:00
negativeExponent
0635e047b2 Add mapper 288
- dipswitch, menu based
2020-01-28 13:45:59 +08:00
negativeExponent
b6cb482bfe Add mapper 381 2020-01-28 12:07:47 +08:00
negativeExponent
f4cb27d578 Add mapper 538 2020-01-28 11:42:04 +08:00
negativeExponent
371e949ba1 Add mapper 541 2020-01-28 11:06:43 +08:00
negativeExponent
dca5ff5a1a Add mapper 372 2020-01-28 09:52:21 +08:00
negativeExponent
b07000a10e Add mapper 357 2020-01-28 06:27:09 +08:00
negativeExponent
305d7a048d Add new mappers
Added iNES 1.0/2.0 mappers
134 - replaced Mapper134_init with Bs5652_Init
391 - NC7000M
402 - 831019C J-2282

Added UNIF boards:
AB-G1L
BS-110
WELL-NO-DG450
KG256
2020-01-23 08:29:09 +08:00
retro-wertz
51199e59d7 NES 2.0: Add preliminary support for iNES 2.0 format
Currently reads and sets the following:
- mapper number up to 4095, prg rom size, chr rom size
- chr ram (volatile + non-volatile), region (ntsc, pal, dendy or multi-region)

todo: submapper handling, w-ram and prg nvram at least...
2019-07-08 09:25:00 +08:00
retro-wertz
67ae7663b8 Add m114.1(boogerman), m281, bmc-80013b. Update m205. Disable kt-008 hack on mmc3. Add a few games to ines-correct.h
- Support for Boogerman (SuperGame) Mapper 114, submapper 1
- Update Mapper 205 based on nesdev, move previous mapper 205 to separate GN-45 mapper with retained support to emulate OK-411
- Use nes-to-unif wrapper for some games which does not have nes 2.0 header.
- add unif board BMC-80013-B
- add mapper 281 (JY-052)
- disable KT-008 hack on mmc3. KT-008 boards should be assigned as Mapper 224. Fixes Final Fantasy X1/X2
- force-assign a few roms using ines-correct.h
2019-06-12 01:25:16 +08:00
retro-wertz
3d4ebd5b7b Add mapper 126
- supports the game, PowerJoy 84-in-1 Multicart (PJ-008)
2019-05-30 22:49:51 +08:00
retro-wertz
28e729177e Implement mapper 224 (kt-008) and add related games to ines-correct
- Most of these games are incorrectly assigned to Mapper 4. so correct it with hash
http://wiki.nesdev.com/w/index.php/INES_Mapper_224
2019-05-29 19:06:28 +08:00
retro-wertz
005eb7bdc3 Implement mappers 28, 29, 31, 56, 63, 255, BMC-60311C, BMC-WS, BMC-HPxx
- Added a few mappers to the list. Tested with roms from goodnes set and some demos
- Fix IRQ for Kaiser7032/202 - Issue noticeable with SMB2/3's status status bar
2019-05-27 19:18:02 +08:00
retro-wertz
2bca72186d Mapper30: Backport 4-screen mirroring support
9b6ff8fe49
2018-06-15 11:30:23 +08:00
retro-wertz
7a9d85fa7b Mapper30 cleanup 2017-10-20 12:20:00 +08:00
retro-wertz
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00