Commit Graph

305 Commits

Author SHA1 Message Date
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
43ca4755bb Update mapper 150/243 (unif UNL-Sachen-74LS374N) 2020-02-17 09:26:01 +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
negativeExponent
9150960326 Add mappers 360, 533 2020-02-17 09:20:13 +08:00
negativeExponent
2eeabe880c Add header guards 2020-02-16 23:18:27 +08:00
negativeExponent
a37314c4be Silence warnings 2020-02-16 23:14:49 +08:00
negativeExponent
d6143ef2ef Rename some cart info variables that indicates size (readability) 2020-02-16 22:15:25 +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
e82b34bae9 m313: Fix incorrect bank sizes 2020-01-30 19:51:45 +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
38305957f7 Update BMC-RESET-TXROM (m313)
- add support for submappers 1, 2, 3 and 4
2020-01-28 22:51:36 +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
twinaphex
762f6ebed2 C89 buildfix 2020-01-27 22:29:56 +01:00
negativeExponent
dc85a40951 Buildfix
- use shorter strings for state names
- make variables static
- turn C++ comments to C comments
- cleanup dead code in boards
2020-01-24 19:57:24 +08:00
twinaphex
fb516c853a Fix C89 build 2020-01-23 19:46:08 +01:00
negativeExponent
575db021c6 Fix savestates
- prevent possible issue on big-endian by adding mask
- specify correct variable size to state struct
2020-01-23 10:30:16 +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
b910e4ed92 Update vrc2and4.c
- support for big bank CHR (Contra 3) matched by hash
2020-01-23 08:16:40 +08:00
negativeExponent
9abfd80669 Update unif SUPER24IN1SC03 (179 variant) 2020-01-23 08:07:01 +08:00
negativeExponent
4fd5e3ac8e Update mapper 319 (BMC-HP898F)
- submapper support added
2020-01-23 08:02:49 +08:00
negativeExponent
583a44dfd8 Update mapper 213 2020-01-23 07:49:08 +08:00
retro-wertz
d807bac15b Remove unused variables 2019-08-01 20:31:42 +08:00
retro-wertz
1df85a7483 BMC-80013B: Fix incorrect bank map 2019-07-20 00:55:17 +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
748f27571d BMC-K-3088: Fix outer bank size 2019-07-12 06:40:18 +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
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
06c99179be Add support for Mapper 237 (Teletubies Y2K multicart) 2019-07-02 09:37:00 +08:00
retro-wertz
dce349932c BMC-411120-C/K-3088: Update PRG banking. Combine both boards
- Both are functionally the same, only dipswitch is different.
- These boards are assigned as NES 2.0 287 mapper in wiki
2019-06-29 17:11:49 +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
fa21e91ef5 UNL-EH8813A: Update based on latest wiki 2019-06-27 01:03:17 +08:00
retro-wertz
e734fa8796 Add support for BMC-GN-26 2019-06-27 00:55:49 +08:00
retro-wertz
6d26ce4f9f BMC-K-3036: Fix incorrect write address range 2019-06-26 22:17:29 +08:00
retro-wertz
6653f4028a Add support for BMC-830134C 2019-06-26 16:45:08 +08:00
retro-wertz
38a560df82 A few unif board fixes
- RESET-NROM-XIN1 - fix MD5 mismatch due to uninitialized variable
- RESET-TXROM - improve compatibility with some rom types
2019-06-26 11:04:42 +08:00
retro-wertz
93986604ac Add support for BMC-K-3033 2019-06-26 09:03:01 +08:00
retro-wertz
024a2f904e Add support for FARID_UNROM_8-IN-1 and NEWSTAR-GRM070-8IN1 2019-06-26 00:11:14 +08:00
retro-wertz
3666962090 UNL-KS7017: Smoother state loading...
- Smoother states loading  by using the the register value used during call to Sync() instead of the last value written since write and sync are called at different times.
- (reg value written @ $4A000, sync happens $5100)
2019-06-25 18:38:13 +08:00
retro-wertz
0cb1c866a1 Silence clang warnings 2019-06-25 16:56:05 +08:00
retro-wertz
afaa5eab6c Add support for BMC-CTC-12IN1 and BMC-891227 2019-06-25 16:47:18 +08:00