Commit Graph

421 Commits

Author SHA1 Message Date
ekeeke
4bb149ba0b [Core/MD] fixed SRAM bankswitching for games also using ROM bankswitching (fixes Astebros) 2023-06-13 01:00:56 +02:00
ekeeke
95bde804a6 [Core/MD] fixed soft-reset in X-in-1 pirate games 2023-06-08 22:47:42 +02:00
Nicholas Hubbard
3bed408176
fix error in zstate comment (#509) 2023-06-04 17:44:14 +02:00
ekeeke
c4077c4f24 [Core/Misc] Fixed -Wmaybe-uninitialized warnings with GCC compiler 2023-05-20 19:44:57 +02:00
ekeeke
a7f42b438e [Core/CD] increased minimal latency (fixes BIOS freeze when CD latency is disabled in emulator settings) 2023-05-09 00:54:56 +02:00
ekeeke
b5f1027c15 [Core/CD] fixed CDD position reset when disc is stopped (fixes random freezes in Spiderman vs Kingpin when switching between audio tracks) 2023-05-07 14:46:23 +02:00
ekeeke
1db51e2c5f [Core/MS] simplified latest Korean x-in-1 mappers implementation 2023-04-07 09:06:42 +02:00
ekeeke
4a07f8a9f6 [Core/MS] added support for latest Korean x-in-1 mappers (credits to Ben Sittler and Omar Cornut at smspower.org for mappers reverse-engineering and description) 2023-04-06 01:00:40 +02:00
ekeeke
f0c8f83926 [Core/MD] improved Realtec mapper accuracy (verified on real cartridge hardware) 2023-03-20 00:26:37 +01:00
ekeeke
ef922735ff [Core/MD] improved detection of Quackshot REV A original ROM dump (512KB) 2023-03-12 18:51:24 +01:00
ekeeke
1bf6f70986 [Core/MD] fixed Realtec mapper behavior on soft-reset and with TMSS hardware 2023-03-12 18:27:34 +01:00
ekeeke
cc60ba57bf [libretro] fixed available system RAM size for SG-1000 games with extra on-board RAM 2023-03-11 14:23:31 +01:00
ekeeke
605a29d7bd [Core/Input] improved XE-1AP controller emulation (verified on real hardware) 2023-02-05 18:08:05 +01:00
ekeeke
a2380d84e0 [Core/VDP] fixed address/code potential corruption by one-instruction execution delay after HV interrupts activation (fixes #477) 2023-01-13 14:00:27 +01:00
ekeeke
70cfbd909f [Core/CPU]
- fixed 68k timings of BCHG, BCLR, BTST Dn,#Imm and Dn,Dm instructions when bit number is less than 16 (cf. Yacht.txt)
- fixed 68k timings of CHK, TRAP, TRAPV, LINEA and LINEF exceptions (cf. Yacht.txt)
2023-01-06 09:03:30 +01:00
ekeeke
350be7731c [Core/Sound] disable PSG output on Mark III hardware when FM output is enabled (fixes issue #474) 2022-12-18 14:49:34 +01:00
ekeeke
46652c7fd7 [Core/MD] fixed MegaSD audio sample counter still getting updated while audio playback is paused (fixes #471) 2022-11-28 01:11:13 +01:00
ekeeke
1925efe4d7 [Core/VDP] improved HBLANK flag timing accuracy (fixes #470) 2022-11-26 16:48:22 +01:00
ekeeke
1c972f5482 [Core/CD] improved GFX timing accuracy (fixes "Night Striker" crashing after completing a game) 2022-11-26 16:24:09 +01:00
ekeeke
6ec9ac2729 [Core/SG] added SG-1000 II hardware with 8KB RAM extension adapter in selectable hardware models (fixes #437) 2022-10-29 13:51:34 +02:00
orbea
0f9d57d6b8
Fix -Werror=strict-prototypes (#466)
This will be required for upcoming gcc and clang versions.

Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
2022-10-11 23:10:06 +02:00
ekeeke
24b71ab2c2 [Core/MS] added missing GG-MS games in internal game database 2022-10-09 11:07:33 +02:00
ekeeke
ea8d299123 [Core/CD] improved GFX processing accuracy to halt it while Word RAM is allocated to Main CPU in 2M mode 2022-10-09 10:13:24 +02:00
ekeeke
dded47d5e7 [Core/VDP] added support for background color changes during HBLANK when display is disabled (fixes #462) 2022-09-19 14:11:16 +02:00
ekeeke
2d28c67316 [Core/VDP] added missing credits for enhanced 2-cell vscroll rendering mode 2022-09-19 14:03:44 +02:00
ekeeke
b7a9a27fb0 [Core/MD] reverted previous incorrect change in MegaSD ROM write mapper 2022-08-31 18:19:18 +02:00
ekeeke
f5f192fc0a Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2022-08-31 18:02:11 +02:00
ekeeke
eef172acf3 [Core/MD] reduced savestate size when both Mega CD and MegaSD hardware are detected (fixes savestates with MSU-MD games that have "SEGA MEGASD" in ROM header) 2022-08-31 18:01:39 +02:00
Kiri
e5f77f14b9
Enchanced per-tile vertical scroll (#453)
* Enchanced per-tile vertical scroll implementation

* Comment cleanup
2022-08-13 08:11:41 +02:00
ekeeke
47d20265c9 [Core/Sound] fixed MAME YM2413 core operator output when EG is off (fixes issue #448) 2022-08-07 10:13:10 +02:00
ekeeke
4ecd33f4cd [Core/CD] fixed 32x32 pixels stamp index masking during GFX operation (fixes #436) 2022-05-31 01:52:17 +02:00
ekeeke
e366ca817f [Core/CD] added setting to enable/disable CD access time simulation 2022-05-01 15:47:18 +02:00
ekeeke
f43a4a7312 [Core/MS] added support for new Korean xx-in-1 mapper (128 Hap, Game Mo-eumjip 188 Hap) 2022-04-24 19:18:30 +02:00
ekeeke
7d4ae7da0c [Core/CD] fixed byte access address range to Font Data registers 2022-02-26 10:26:12 +01:00
ekeeke
7fe8d95ca1 [Core/CD] fixed Boot ROM level 4 interrupt vector upper word value 2022-02-25 16:45:39 +01:00
ekeeke
ee5b917c32 [Core/CD] disabled Boot ROM loading automatic detection when Mode 1 is enabled 2022-02-25 16:42:58 +01:00
ekeeke
58accf0689 [Core/CD] fixed Memory Mode, Timer and Font Color registers byte access at even address (verified on real hardware, cf. Krikzz's mcd-verificator) 2022-02-25 15:29:18 +01:00
ekeeke
4a899e8262 [Core/Sound] fixed edge case in MAME YM2413 core when Key-Off occurs with envelope already off 2022-02-13 23:16:44 +01:00
ekeeke
47dc5e1b61 [Core/Sound] fixed Nuked YM2413 core attack phase rates 11.1 to 11.3 (cf. https://github.com/nukeykt/Nuked-OPLL/issues/6) 2022-02-06 19:36:20 +01:00
ekeeke
e4c53348d9 [Core/Sound] fixed overflow bug in MAME YM2413 core when using attack rate 14.3 (introduced in previous commit) 2022-02-06 19:00:15 +01:00
ekeeke
236e783ec2 [Core/MS] fixed disabled slot returned value 2021-10-24 14:34:28 +02:00
ekeeke
068769a02e [Core/CD] added missing SUB-CPU address error exception configuration 2021-10-09 19:03:45 +02:00
ekeeke
c6d1e5ac38 [Core/CD] added optional (platform-specific) SUB-CPU address error exceptions emulation (currently activated for libretro & SDL Windows ports only) 2021-10-09 18:53:59 +02:00
ekeeke
9254c331d2 [Core/CD] added configurable CD-DA and PCM outputs mixing volume 2021-10-07 23:20:31 +02:00
ekeeke
8be7c0269b [Core/Misc] MSVC compatibility fixes (backported from libretro repository) 2021-10-05 19:40:08 +02:00
ekeeke
485358ed09 [Core/MS] added GG-MS games incompatible with EU/US Master System BIOS to internal game database 2021-10-04 23:42:36 +02:00
ekeeke
b82b02bae7 [Core/MS] added Street Battle (Proto) to Korean mappers database 2021-10-03 15:32:39 +02:00
ekeeke
c1b248c8a7 [Core/MD] added conditional support for libchdr before trying to load CHD file 2021-10-01 10:10:33 +02:00
ekeeke
83a225cd32 [Core/MD] added detection of CHD image files when loading MSU-MD (CD Mode 1) or MD+ (MegaSD) ROM files 2021-10-01 09:55:06 +02:00
ekeeke
3cf83e7557 [Core/MD] improved MD+ audio track loopback transitions 2021-09-28 20:26:13 +02:00
ekeeke
9863375a5a [Core/MD] fixed MegaSD edge case when another 'pause' command is sent while fade out is still in progress 2021-09-18 15:23:22 +02:00
ekeeke
e17a5248b1 [Core/MD] added automatic PAL region setting for Wiz'n'Liz European ROM dump 2021-09-17 10:12:03 +02:00
ekeeke
0c63be93f7 [Core/CD] fixed track index when decoding CUE file MegaSD specific loop commands 2021-09-17 10:08:40 +02:00
ekeeke
42b8cc665c [Core/MD] fixed MegaSD edge case occurring when 'play' command is sent while previous track fade out is still in progress 2021-09-15 18:37:34 +02:00
ekeeke
7ca2deffa6 [Core/MD] added missing files for MegaSD support 2021-09-13 19:39:32 +02:00
ekeeke
dfe3672878 [Core/MD] added support for MegaSD CD hardware overlay (MD+ hacks) and extended SSF2 / ROM write mappers 2021-09-13 19:32:52 +02:00
ekeeke
e87891fcca [Core/CD] improved CD audio savestate and CD file seeking (in preparation for MegaSD support) 2021-09-09 00:54:45 +02:00
ekeeke
35ed78cc71 [Core/Misc] fixed ROM loading from memory
This properly addresses the loading issue in Retroarch with compressed files reported by https://github.com/libretro/Genesis-Plus-GX/pull/249
2021-08-31 09:50:38 +02:00
ekeeke
1e5c2c0ef3 Revert "[Core/Misc] removed unnecessary file loading check"
This reverts commit cc8a6725a7.
2021-08-31 09:49:29 +02:00
Sanaki
e389f577c9
Add Power Strike II to internal database as 50Hz game 2021-08-21 16:08:16 -07:00
ekeeke
298676294a [Core/MD] fixed Game Genie / (Pro) Action Replay lock-on support with ROM larger than 8MB 2021-08-09 16:05:24 +02:00
ekeeke
e6ab7563e7 [Core/MD] added SRAM support for games larger than 8MB 2021-08-08 16:48:49 +02:00
ekeeke
cc8a6725a7
[Core/Misc] removed unnecessary file loading check 2021-06-10 16:41:12 +02:00
ekeeke
1e0d2dad8f [Core/Sound] improved MAME YM2413 core EG attack phase algorithm accuracy (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2017-01-26) and EG increment table consistency 2021-05-12 19:07:12 +02:00
ekeeke
346935fdda [Core/Sound] fixed MAME YM2612 core potential issue with SSG-EG inverted attenuation level on Key OFF 2021-05-11 00:42:27 +02:00
ekeeke
6d10dd30ff [Core/Sound] updated nuked ym2612/ym3438 core to version 1.0.10 (fixes sound issues in Stormlord) 2021-05-10 23:44:57 +02:00
ekeeke
8acd9def6d [Core/Sound] improved MAME YM2413 EG transitions accuracy (verified against https://github.com/nukeykt/Nuked-OPLL/blob/master/opll.c) 2021-05-09 09:52:44 +02:00
ekeeke
536ff47457 [Core/Sound] fixed MAME YM2413 core EG updates being 2x faster after EG resolution change and improved EG increment steps accuracy (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2015-03-20) 2021-05-07 12:58:02 +02:00
ekeeke
4950d2f042 [Core/Sound] improved MAME YM2413 core EG sustain phase transition comparator accuracy (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2015-12-31) 2021-04-24 11:08:49 +02:00
ekeeke
1a1c2a1e63 [Core/Sound] fixed MAME YM2413 core EG behavior when SL = 0 (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2015-12-24) 2021-04-24 10:47:25 +02:00
ekeeke
ca484e9c56 [Core/Sound] fixed MAME YM2413 core EG behavior for fastest attack rates (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2017-01-26) 2021-04-24 10:27:59 +02:00
ekeeke
4feeb7d02e [Core/Sound] fixed MAME YM2413 core EG "dump" rate (verified on YM2413 real hardware, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2015-12-31) 2021-04-23 16:21:04 +02:00
ekeeke
de47d1db56 [Core/Sound] fixed MAME YM2413 core EG resolution bits (verified on YM2413B die, cf. https://www.smspower.org/Development/YM2413ReverseEngineeringNotes2015-03-20) 2021-04-23 15:41:33 +02:00
ekeeke
dfeaeba925 [Core/Sound] fixed MAME YM2413 core instruments ROM (verified on YM2413B die, cf. https://siliconpr0n.org/archive/doku.php?id=vendor:yamaha:opl2#ym2413_instrument_rom) 2021-04-23 11:48:21 +02:00
ekeeke
305f89489e [Core/Sound] fixed carrier/modulator phase reset after channel Key ON in MAME YM2413 core 2021-04-23 01:27:50 +02:00
ekeeke
32a2edb6a6 [Core/MD] improved SVP chip auto-detection (based on SVP reverse-engineering from https://github.com/jdesiloniz/svpdev/wiki/Internal-ROM) 2021-02-23 15:59:12 +01:00
ekeeke
bc8d1ae2b2 [Core/MD] added emulation of "Micro Machines USA" on-board TMSS bypass logic hardware (fixes lockout when TMSS Boot ROM is enabled) 2021-02-23 14:59:59 +01:00
ekeeke
58758aef3d [Core/MD] added Rock Heaven / Rock World pirate cartridges protection emulation 2020-12-08 17:23:27 +01:00
ekeeke
c3326ce03c [Core/MS] added support for Out-Run 3D prototype (dumped by SMS Power) 2020-12-08 17:20:35 +01:00
ekeeke
8c430293a3 Revert "[Core/MD] fixed SRAM support for Landstalker expanded ROM hacks (fixes Spanish translation black screen when starting a game)"
This reverts commit 298b09fcd1.
2020-11-01 01:03:46 +01:00
ekeeke
298b09fcd1 [Core/MD] fixed SRAM support for Landstalker expanded ROM hacks (fixes Spanish translation black screen when starting a game) 2020-10-31 14:22:58 +01:00
Romain TISSERAND
77b967f4d5 Fix crash loading CHD on some ARM boards (minimal changes) 2020-10-29 21:07:28 +01:00
ekeeke
944e349e24 [Core/MS][Core/GG] added support for latest SMS Power ROM dumps 2020-10-11 11:41:41 +02:00
ekeeke
c718b1f3f2 [Core/CD] fixed CD communication registers state on peripheral reset (fixes SUB-CPU side initialization in MSU-MD sample demo and some Mode 1 patched games using MSU-MD driver) 2020-09-08 01:57:44 +02:00
ekeeke
be0edd898c [Core/CD] improved CDD status report accuracy (fixes track looping with Mode 1 patched games using MSU-MD driver) 2020-09-04 02:38:54 +02:00
ekeeke
fbb3448cea [Core/CD] fixed word access to CDD control register (fixes spurious audio track playback on startup with Mode 1 patched games using MSU-MD driver) 2020-09-04 02:37:01 +02:00
ekeeke
f8a8046948 [Core/CD] optimized CUE and CHD file detection 2020-08-25 15:56:17 +02:00
ekeeke
aef031a6d2 [Core/MD] fixed typo causing issues with games larger than 4MB 2020-08-25 15:41:22 +02:00
ekeeke
299724791e [Core/CPU] fixed 68k timings of ANDI.L #Imm,Dn, ADDQ.W #Imm,An and TAS instructions (cf. Yacht.txt) + corrected typo in BTST Dn,#Imm instruction timings on SUB-CPU side 2020-08-15 00:29:20 +02:00
ekeeke
15722b16ab [Core/MD] added support for Triple Play 96 & Triple Play - Gold Edition real Mask ROM dumps 2020-07-14 01:45:12 +02:00
ekeeke
1758bbe0e4 [Core/MD] added support for new X-in-1 pirate mappers 2020-07-13 23:58:38 +02:00
ekeeke
dcc231f685 [Core/CD] added support for first revision of Sewer Shark (no audio track) 2020-07-12 16:56:03 +02:00
ekeeke
5a6dec925a [Core/MD] updated copyright year 2020-07-12 16:55:14 +02:00
ekeeke
f86a9afc77 [Core/CD] fixed loading issue when backup RAM cart is filled with non-zero data 2020-07-12 16:48:53 +02:00
ekeeke
17027ad6c4 [Core/MD] added support for more RADICA dumps 2020-07-12 16:40:05 +02:00
ekeeke
e66b7bc83d [Core/CD] improved Timer interrupt timings and CDD interrupt accuracy (fixes audio stutters during Popful Mail FMV) 2020-04-14 15:51:38 +02:00
ekeeke
33a43e34c1 [Core/CD] incremented CD_PLAY status delay by one CDD interrupt (fixes regression freeze in Annet Futatabi introduced by previous change) 2020-04-10 15:28:16 +02:00
ekeeke
18fca13142 [Core/CD] fixed reported CDD status after CD play command when seek time is emulated (fixes music playback delay in Bari Arm) 2020-04-04 20:20:36 +02:00
ekeeke
03c5fa58f4 [Core/CPU] improved debug logging 2020-04-04 15:30:46 +02:00
ekeeke
7b52165dd5 [Core/CPU] added Z80 wait-states on 68k bus access (fixes Remute Red Eyes demo) 2020-04-04 15:27:30 +02:00