Commit Graph

49 Commits

Author SHA1 Message Date
negativeExponent
85a15786ff Unif: Pass iNES mapper number to cart struct when available 2020-02-07 12:01:03 +08:00
negativeExponent
65ff96cd5c Add mapper 294 (m134) 2020-01-31 00:13:09 +08:00
negativeExponent
e1e48294f0 Remove unused variables 2020-01-27 21:40:13 +08:00
negativeExponent
b56fd973e3 Sanitize UNIF boardnames
- removes whitespaces on boardnames - as stated, some names can have whitespaces
- ignore character case when comparing - similar to above, boardnames can also be
  uppercase or lowercase in some.
2020-01-26 07:41:44 +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
negativeExponent
9abfd80669 Update unif SUPER24IN1SC03 (179 variant) 2020-01-23 08:07:01 +08:00
retro-wertz
ec19b07b4d Mapper 226: Updated and remove duplicate mapper
- Updated mapper 226 to support 1.5mb carts, which in turn makes Unif Ghostbusters63n1 a duplicate.
- Unif 42in1ResetSwitch switch to mapper 233
2019-07-12 23:35:11 +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
2a7bd37276 UNIF: Change how roms are loaded in multiple prg/chr file versions
- Part of migrating UNIF to NES 2.0 conversion, which should make
  each unif roms to be compatible with each other. Some roms have
  separate prg and chr banks, which mapper has to do separate banking
  for such file versions.
- This change would  also make the boards to be easily usuable iNes/Nes 2.0.
2019-07-10 11:11:01 +08:00
retro-wertz
8f19234f55 Start assigning NES 2.0 mapper numbers to UNIF boards (256+ boards) 2019-07-09 09:07:23 +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
7e9b3b146d UNIF: Initial implementation of game overrides (move exiting ones out of mapper code) 2019-07-02 19:34:55 +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
e734fa8796 Add support for BMC-GN-26 2019-06-27 00:55:49 +08:00
retro-wertz
6653f4028a Add support for BMC-830134C 2019-06-26 16:45:08 +08:00
retro-wertz
93986604ac Add support for BMC-K-3033 2019-06-26 09:03:01 +08:00
retro-wertz
afaa5eab6c Add support for BMC-CTC-12IN1 and BMC-891227 2019-06-25 16:47:18 +08:00
retro-wertz
6ff34f4c7a Add support for BMC-L6IN1 2019-06-25 11:10:00 +08:00
retro-wertz
177cd68d99 Add support for UNL-BJ-56 and BMC-G631 (probably a Ghostbuster63in1 mislabel) 2019-06-25 08:10:36 +08:00
retro-wertz
42ae290d46 Add BMC-STREETFIGTER-GAME4IN1 2019-06-24 18:45:20 +08:00
retro-wertz
78c0cb422e BMC-K-3088: move to its own mapper for better compatibility. 2019-06-24 18:24:22 +08:00
retro-wertz
db8a5ab2c9 Add UNL-AX-40G 2019-06-24 18:03:18 +08:00
retro-wertz
503dd5249b Add BMC-JC-016-2 2019-06-24 06:26:44 +08:00
retro-wertz
706ee28294 UNIF: Allow mirroring override (removes hard mirroring in vertical/horizontal modes)
- A few multi-cart UNIF carts are incorrectly using vertical/horizontal mirroring but the mapper used has mapper-controlled mirroring which does not work when using previous hard-mirroring.

- This PR allows overriding the initial mirroring set (vertical/horizontal) when cart requests a mirroring change for multi-cart games.
2019-06-23 20:04:11 +08:00
retro-wertz
b414ad2176 Add UNIF boards...
- Add UNL-TH2131-1, UNL-LH51, BMC-RESETNROM-XIN1, BMC-RESET-TXROM
- Add FARID_SLROM_8-IN-1, BMC-830425C-4391T, BMC-TJ-03, BMC-CTC-09
- Add BMC-K-3046, BMC-SA005-A, BMC-K-3006, BMC-K-3036, MINDKIDS
- Add UNL-KS7021A, KS106C, BTL-900218
- Cleanup VRC2and4 (unify power function)
2019-06-20 04:09:07 +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
5dc795233b unif: Assign a few boards to ines mappers
- CHINA_ER_SAN2 -> Mapper19_Init, http://forums.nesdev.com/viewtopic.php?t=16465&p=216531
- WAIXING-FW01 -> Mapper227_Init, https://wiki.nesdev.com/w/index.php/Talk:INES_Mapper_242
- WAIXING-FS005 -> BMCFK23C_Init, https://wiki.nesdev.com/w/index.php/INES_Mapper_176
2019-05-29 09:02:58 +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
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00
Oggom
ee9f96c540 Backport r183 - UNIF RT-01 - new dump "Dlya Proverki TV Pristavok" 2017-08-23 20:18:38 +02:00
twinaphex
8177370f4e Remove FCEU_SaveGameSave/FCEU_loadGameSave entirely 2017-05-08 04:24:03 +02:00
retro-wertz
157655a2ea add Mapper30 (UNROM 512) 2017-04-30 06:44:51 +08:00
retro-wertz
0ad955eeb9 (backport r184)-add UNIF KS7017,BMC8in1, BMC810131C 2017-04-25 21:05:43 +08:00
Twinaphex
5dbeff38e1 Cleanups 2016-09-09 07:59:43 +02:00
Oggom
5fb83074f3 Backport r182 - uni F-15 - new board for "150-in-1 Unchained FIGHT ver" 2016-01-09 17:13:34 +01:00
Oggom
ed1d1068ab Backport r179 - UNIF EH8813A - UNIF HP898F 2015-08-31 01:09:24 +02:00
twinaphex
39394def54 Merge unif.c 2015-08-06 12:58:51 +02:00
twinaphex
e982bb637b Revert "Cleanups"
This reverts commit d368ee0054.
2015-08-06 11:39:10 +02:00
twinaphex
d368ee0054 Cleanups 2015-08-06 11:30:34 +02:00
Oggom
1d33799c0c Backport r174 - UNIF BMC-10-24-C-A1 - new dump 6-in-1 by ClusteR 2015-07-12 01:06:14 +02:00
Oggom
204f62767c Backport r173 - UNIF-DRAGONFIGHTER - new board for a new dump 2015-06-28 03:39:57 +02:00
Oggom
561848064e Sync unif.c and Fceuwin.dev with upstream 2015-06-18 16:50:20 +02:00
Oggom
4cf16b1887 Backport r171 - UNIF 158B - new board for "Blood of Jurassic" dump 2015-06-18 16:43:13 +02:00
twinaphex
19054984ff Backport r170 2015-03-06 13:51:13 +01:00
twinaphex
7962b4f9d9 Backport r169 2015-03-06 13:50:22 +01:00
twinaphex
832e03c1f9 Make local versions of fds/ines/unif.c 2014-12-08 22:04:07 +01:00
twinaphex
30b4c60b21 Rename files endian.c and memory.c 2014-03-30 22:29:30 +02:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00