Commit Graph

25 Commits

Author SHA1 Message Date
NewRisingSun
2b172d3eb2 Mapper 195: Reimplemented according to nesdev description. This makes the emulaton compatible with unhacked Captain Tsubasa 2, and IN-compatible with hacked Captain Tsubasa 2. 2022-12-30 00:43:48 +01:00
NewRisingSun
6d13706e53 Add mapper 52 submapper 13 (CHR-ROM+CHR-RAM) 2022-08-06 17:29:24 +02:00
NewRisingSun
3f20020b96 Mapper 49: Correct AND mask in NROM mode. 2022-03-09 14:36:00 +01:00
NewRisingSun
48d548d23b Mapper 432: register 0 write also clears register 1.
Mapper 45: Only apply outer bank bits that are unaffected by the inner bank.
Mapper 45: Add PRG /CE-based menu selection.
2022-03-01 15:57:22 +01:00
NewRisingSun
53bca8e9bf Rewrite mapper 134 emulation for simplicity. Fix WRAM-using games. Remove leftover code from mmc3.c. Initialize the Frame IRQ register only on power-on reset, not soft-reset, which is necessary for two multicarts. 2022-02-19 12:53:26 +01:00
negativeExponent
690862829a mmc3: Make some variables static 2022-02-12 16:37:04 +08: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
8eb4e3b80c Mapper 196: Support IRQ for The Ancient & Modern Heroes 2021-11-14 17:10:33 +01:00
NewRisingSun
f3bdbd6581 Forgot one KT-008 hack remnant. 2021-04-10 21:40:01 +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
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
3f1544c129 Update mapper 45
- fix starting register value
- fix memory write range to 0x6000-0xffff
2020-02-17 09:25:16 +08:00
retro-wertz
d807bac15b Remove unused variables 2019-08-01 20:31:42 +08:00
retro-wertz
429f6c4545 UNIF: Update boards based on last commit
- fixes (if necessary), update and cleanup the following boards that now dont need alternate mappings:
- this is part of migrating unif to be usuable in ines mappers
- boards affected in this commit are:
  SUPERVISION16IN1, GS-2004, GS-2013, UNL-SMB2J, MARIO1-MALEE2, UNL-SA-9602B, UNL-KS106C / RESETNROM-XIN1
  UNL-AC08, NES-NTBROM, BMC-K-3033, BMC-GN-26, BMC-GHOSTBUSTERS63IN1, BMC-830425C-4391T
  BMC-830134C, BMC-891227 / BMC-CTC-12IN1, BMC-JC-016-2, UNL-T4A54A, UNL-8157, BMC-T-262
  (might have forgotten to list some...)
2019-07-11 16:34:39 +08:00
retro-wertz
634eb688c1 UNIF: Fix potential crash when accessing non-existing rom banks
- As stated, prevent a potential crash on some certain roms using split rom banks. This is done by counting the number of prg/chr banks loaded and using this as limit count during mapper bank switching.
- Update related boards.
2019-06-29 17:11:49 +08:00
retro-wertz
83b2f99527 Mapper134: Update and add support for UNL-T4A54A unif board 2019-06-29 17:11:49 +08:00
retro-wertz
42ae290d46 Add BMC-STREETFIGTER-GAME4IN1 2019-06-24 18:45:20 +08:00
retro-wertz
503dd5249b Add BMC-JC-016-2 2019-06-24 06:26:44 +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
ebca2248d0 Start undoing C++ comments 2017-10-15 02:07:42 +08:00
retro-wertz
f6bcfada73 fix irq for Aladdin (SuperGame) (m4) 2017-05-09 18:45:16 +08:00
retro-wertz
eec06ae043 backport 185-186: update mapper45, fix mapper212 init state 2017-04-25 21:29:03 +08:00
twinaphex
d6da335f54 Backport r164 -
mapper 4 - fixed savestates for mmc3 based mappers broken with kt-008 board
UNIF COOLBOY - new dump support
2015-01-04 22:50:33 +01:00
twinaphex
1809c32bfa Backport r162 - mapper 4 - KT-008 board hacked into regular MMC3 wrapper for now 2014-12-08 19:33:11 +01:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00