Commit Graph

202 Commits

Author SHA1 Message Date
negative 6babc7fdaf Mapper 78: Add submapper support 2023-03-06 13:13:06 +08:00
negativeExponent 9cf87738bf
Mapper 354: Add CHR-RAM protect
Fix https://github.com/TASEmulators/fceux/issues/621#issuecomment-1449284275
2023-03-01 11:42:28 +08:00
harry 6f2c0a84f9 Refactor save game RAM code so that the mappers call a function to register their buffers instead of writing directly to the cartinfo variables. Added optional reset callback function that can registered and will be called when FCEU_ClearGameSave runs. This is for memory that needs to be reset to non-zero values. 2023-02-20 11:21:04 -05:00
harry dfd5e13b8f Minor cleanup of unrom512 flash state save/load init. Removed debug pragma message. 2023-02-19 20:58:03 -05:00
harry 20b982854d Commented out unrom512 flash save RAM hooks until movie FCEU_ClearGameSave issue can be fixed. 2023-02-19 20:34:04 -05:00
harry 6b73e91c38 Ensure a few static variables are initialized properly. 2023-02-18 16:24:28 -05:00
zeromus ea6ed69b87 add missing StateRestore on mapper 354 2023-02-08 17:47:15 -05:00
harry d061ba2bfa Fixes for -Wformat compiler warnings when using custom printf style functions. 2023-01-30 09:24:49 -05:00
harry 7c3c3caf93 More int comparison sign mismatch compiler warning fixes. 2023-01-28 20:24:17 -05:00
harry c075cdca4f More int comparison sign mismatch compiler warning fixes. 2023-01-28 14:05:21 -05:00
harry 5582df13d7 A few signed/unsigned int comparison mismatch compiler warning fixes. 2023-01-28 07:54:31 -05:00
harry 8fc3ea8ba2 Added FCEU_UNUSED and FCEU_MAYBE_UNUSED macros to help silence certain unused variable and function warnings. Used FCEU_MAYBE_UNUSED to silence unused static function warnings (until it can be deemed that these functions will never be needed). Also, cleaned up a few other unused variable warnings. 2023-01-20 21:50:26 -05:00
zeromus ebf0c2c737 update 225 from fceumm to get 255 support too. 2023-01-18 11:05:43 -06:00
zeromus 3501ab9a40 add mapper 354 from fceu-mm 2023-01-16 10:34:13 -06:00
Alexey 'Cluster' Avdyukhin c9cdca11c4 Comments for mapper 342 2023-01-07 19:40:59 +04:00
Alexey 'Cluster' Avdyukhin e1c20e4928 Removed some warnings 2023-01-07 19:27:04 +04:00
Alexey 'Cluster' Avdyukhin 552be94c1a
Merge pull request #596 from Kagamiin/feature/vrc-irq-cycle-mode
Implementing cycle IRQ mode for Konami VRC mappers
2023-01-06 18:18:50 +04:00
Alexey 'Cluster' Avdyukhin 88ad9ceca9 Mapper 342 update 2022-12-23 20:35:35 +04:00
Kagamiin~ 77b252bf50 Implementing cycle IRQ mode for Konami VRC mappers 2022-12-21 15:16:29 -03:00
Alexey 'Cluster' Avdyukhin a04df761a9 Mapper 470 2022-12-21 12:30:04 +04:00
Alexey 'Cluster' Avdyukhin f53c2470fc Submappers 268.8 and 268.9 2022-12-16 20:10:21 +04:00
Alexey 'Cluster' Avdyukhin 9ae27c7ded Mapper 268, submappers 6 and 7 2022-12-12 23:38:56 +04:00
Alexey 'Cluster' Avdyukhin 47c2ce5a38 Mapper 268, support for ROMs with 1 MiB CHR-ROM 2022-12-12 23:13:42 +04:00
Alexey 'Cluster' Avdyukhin 773eaa868c Mapper 268, submappers 8,9 merged into 2,3 and fixed (https://www.nesdev.org/wiki/Talk:NES_2.0_Mapper_268) + refactoring 2022-12-12 17:48:56 +04:00
Alexey 'Cluster' Avdyukhin 0fb86b9740 Fixed broken UNROM-512 emulation + some refactoring 2022-12-07 20:04:27 +04:00
Alexey 'Cluster' Avdyukhin 853b2718b7 Removed debug messages 2022-12-06 22:51:41 +04:00
Alexey 'Cluster' Avdyukhin b6bf83db7f Mapper 268, submappers 8,9 2022-12-06 17:59:26 +04:00
Alexey 'Cluster' Avdyukhin a70bc4c72c Mapper 268, submappers 4,5 2022-12-05 23:25:49 +04:00
Alexey 'Cluster' Avdyukhin 92c0417783 Mapper 268 refactoring 2022-12-05 23:15:09 +04:00
Alexey 'Cluster' Avdyukhin d6d5b44a35 Mapper 268, submappers 2,3 fix 2022-12-05 21:56:50 +04:00
Alexey 'Cluster' Avdyukhin 7a64e06b88 Mapper 268, submappers 1,2,3 2022-12-05 21:55:38 +04:00
Alexey 'Cluster' Avdyukhin 90aecc0543 COOLGIRL mapper (mapper 342) 2022-12-05 14:56:31 +04:00
Alexey 'Cluster' Avdyukhin d075c2b46a COOLBOY fixes and self-writable feature 2022-12-05 13:54:50 +04:00
zeromus 32bd9a7f49 supper mapper218 (fixes #447) 2022-08-11 23:16:39 -04:00
negative 2e70e27ba0 Mapper 235: Update support for 260-in-1 and add UNROM mode
- Using Soft-reset with switch between multicarts or the extra PRG rom
  which loads Contra game.

Fix: https://github.com/TASEmulators/fceux/issues/489
2022-06-03 16:16:57 -04:00
negative 7f4eb7e14f Mapper 225: Implement extra RAM
Some multicarts are buggy without extra ram implemented,

Fix https://github.com/TASEmulators/fceux/issues/467
2022-03-07 09:11:52 +08:00
negativeExponent c96a802904
Update 8237.cpp (#457)
Fix incorrect address mask for UNL8237A write registers. The game Lion Kings writes to 0x5010/0x5080.
2022-02-13 14:08:23 +02:00
negative f7dd4430fb Only enable bus conflict for submapper 2 (mapper 2, mapper 3)
Fix https://github.com/TASEmulators/fceux/issues/460

https://wiki.nesdev.org/w/index.php?title=NES_2.0_submappers#002.2C_003.2C_007:_UxROM.2C_CNROM.2C_AxROM
2022-02-11 19:16:19 +08:00
mjbudd77 6d942379d6 Bug fix for mapper 16 submapper 4, allow writes to address range 6000 - 600D. For issue #458. 2022-02-08 19:01:32 -05:00
mjbudd77 6d35018b9a Zero MMC5 WRAM size on close. 2022-01-31 21:35:08 -05:00
mjbudd77 2d4fa02bbd Minor change to MMC5 mapper to only call memory init on WRAM if it exists. 2022-01-31 21:29:46 -05:00
Alexey 'Cluster' Avdyukhin c8a0f4ca78 Added WRAM support for OneBus mapper (mapper 256) 2022-01-25 21:44:49 +03:00
bbbradsmith 73e0aacb8c Mapper 71 fix hardwired mirroring restore after power/savestate, fix uninitialized preg. See issue #389 2021-11-24 01:08:38 -05:00
minucce cec337a431
Fix MMC5 battery loading 2021-09-09 03:19:08 +00:00
Alexey 'Cluster' Avdyukhin ea4505ae39 NES 2.0 loader for COOLBOY/MINDKIDS (mapper 268) 2021-07-30 18:28:04 +03:00
mjbudd77 b825454fee Added to fix Qt build issue with pre Qt 5.12 builds. 2021-03-21 08:34:08 -04:00
mjbudd77 bc3b156cf5 Compiler warning cleanup of unused variables and exception handling. 2021-03-19 20:59:03 -04:00
mjbudd77 314e3d90a1
Removed unused deprecated automake build files. (#297) 2021-01-06 21:21:35 -05:00
Dan Weiss 5f1263aef3
Fix Load State for Mapper 19, should not call `SyncMirror` after calling `FixNTAR` (#293) 2020-12-31 16:49:09 +03:00
g0me3 8ae1807957 attpet to fix #282 2020-12-28 22:36:33 +03:00