Commit Graph

369 Commits

Author SHA1 Message Date
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
ekeeke
ec3c90e3bc [Core/Misc] code cleanup 2020-04-04 15:26:10 +02:00
ekeeke
bd7875b398 [Core/Sound] fixed typo error (could potentially break nuked ym2413 core state saving) 2020-04-04 14:16:47 +02:00
nukeykt
4b5ccd7767 [Core/Sound] update nuked ym2413 core to v1.0 2020-02-06 00:39:13 +09:00
Rupert Carmichael
f4d0f74c74 Fixed extra #ifdef token warning in sound.c 2020-01-05 00:40:39 -05:00
nukeykt
dd6165785f [Core/Sound] add nuked ym2413 core 2019-12-22 18:05:15 +09:00
ekeeke
791048af4c [Core/Sound] reverted change made to FM chip synchronization on CPU reads (fixes TMNT Tournament Fighters broken music when using Nuked core + Overdrive II demo music desyncing too fast with MAME/Nuked cores) 2019-11-28 00:51:13 +01:00
ekeeke
e329aa1cc7 [Core/MD] optimized SRAM word accesses on big-endian platform 2019-11-28 00:22:13 +01:00
ekeeke
0628db556f [Core/CD] code cleanup 2019-11-28 00:20:35 +01:00
ekeeke
e455861255 [Core/CD] improved CUE file parsing (fixes issue with CUE files mixing single-track and multiple-tracks files) 2019-11-27 23:11:09 +01:00
ekeeke
863c7254c9 [Core/CD] added support for CD-ROM Mode 2 (Form 1 & 2) image files (fixes EBXA disc support in Wonder Library) 2019-11-25 19:30:07 +01:00
ekeeke
364d186789 [Core/CD] optimized accesses to CDC RAM on little-endian platforms 2019-11-25 17:25:34 +01:00
ekeeke
48e3321261 [Core/CPU] fixed sub 68K DIVU instruction timings 2019-11-25 17:17:26 +01:00
ekeeke
f9161fbcee [Core/MS] fixed savestate support when using Boot ROM 2019-11-25 17:15:02 +01:00
ekeeke
eeea2039b6 [Core/CD] fixed ISO+WAV support regression (introduced by previous commit) 2019-11-25 17:14:27 +01:00
ekeeke
0e8ac65dc4 [Core/CD] improved WAV file detection/support 2019-11-11 17:31:29 +01:00
ekeeke
0060708ad3 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2019-05-08 08:22:22 +02:00
ekeeke
aa9300d581 [Core/SG] fixed state loading for games using external RAM 2019-05-08 08:19:30 +02:00
feos
e4d2e04f48 require HOOK_CPU definition in cpuhook.c 2019-04-25 20:27:02 +03:00
vadosnaprimer
b24541938a move cpuhook to a core/debug 2019-04-24 19:55:31 +03:00
vadosnaprimer
d1e7cd6bea add CPU hooking functionality
can be used by a frontend to implement breakpoints or tracelogging
currently hooked: M68K executing/reading/writing, VDP reading/writing (only for MegaDrive)
2019-04-21 20:35:38 +03:00
ekeeke
5f8156ef72 [Core/MD] fixed ROM size detection when enabling/disabling SRAM on power-on (fixes SRAM support in Hardball 95, NBA Hang Time and other 3MB games with SRAM mapped at 0x300000) 2019-03-29 01:51:23 +01:00
ekeeke
74e54f7041 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2019-03-23 14:32:58 +01:00
ekeeke
d927c6e4cb [Gamecube/Wii] fixed compilation errors/warnings with latest devkitPPC (r24) 2019-03-23 14:32:34 +01:00
ekeeke
b1ccc1aaba [Core/CD] improved CD hardware reset timing accuracy on software reset 2019-03-23 14:01:43 +01:00
ekeeke
76d6fb87a2 [Core/CD] increased CD access latency (fixes "Aisle Lord (J)") 2019-03-23 13:56:50 +01:00
ekeeke
cae62cd675 [Core/CD] fixed Main-CPU/Sub-CPU synchronization edge case 2019-03-23 13:55:44 +01:00
ekeeke
31a15eaf7c [Core/MD] fixed SSF2 mapper size limit 2019-03-23 13:52:43 +01:00
ekeeke
c953707ef5 [Core/CPU] fixed M68K STOP instruction edge case (case where STOP instruction unmasks pending interrupt) 2019-03-23 13:46:23 +01:00
ekeeke
e819af4553 [Core/MS] fixed savestate when Boot ROM is running 2019-03-23 13:43:55 +01:00
ekeeke
33328c7abb [Core/MD] fixed savestate when Boot ROM is running 2019-03-23 13:41:56 +01:00
tokumeiwokiboushimasu
fbc949cc47
Build fixes
With gcc-8.2.1 on Fedora29, there are the errors below.

../core/z80/z80.c:470:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80op,op);
                     ^
../core/z80/z80.c:471:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80cb,cb);
                     ^
../core/z80/z80.c:472:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80dd,dd);
                     ^
../core/z80/z80.c:473:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80ed,ed);
                     ^
../core/z80/z80.c:474:21: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80fd,fd);
                     ^
../core/z80/z80.c:475:25: error: ISO C does not allow extra ';' outside of a function [-Wpedantic]
 PROTOTYPES(Z80xycb,xycb);
                         ^
make: *** [Makefile.sdl2:183: build_sdl2/z80.o] Error 1
2019-02-26 00:12:22 +09:00
ekeeke
32079418a9 [Core/MD] fixed SRAM power-on state with games larger than 2MB (Duke Nukem 3D, Triple Play 96, Triple Play - Gold Edition) 2019-01-26 18:33:41 +01:00
ekeeke
5c0c613bbc [Core/IO] fixed regression with 6-buttons control pad emulation (fixes Duke Nukem 3D) 2019-01-21 23:24:36 +01:00
ekeeke
50dfa94a67 [Core/CPU] fixed 68k timing of BTST Dn,#Imm instruction (verified by Flamewing in original microcode) 2019-01-09 01:08:28 +01:00
ekeeke
49f5a227bd [Core/CPU] fixed Z80 core compilation warnings (unused variable) 2019-01-09 01:07:19 +01:00
ekeeke
edf6abad3f [Core/IO] added short description of I/O ports (credits to Charles MacDonald for original documentation) 2019-01-09 00:59:40 +01:00
ekeeke
0b75d4ba74 [Core/CD] improved accuracy of Word-RAM byte writes (verified on schematic) 2019-01-09 00:54:59 +01:00
ekeeke
e075526f71 [Core/MS] added Missile Defense 3D [Proto] to internal database 2019-01-09 00:52:45 +01:00
ekeeke
39c3c6634b [Core/CD] improved CDD status codes description & added support for (unused ?) error request code 2018-08-31 01:52:31 +02:00
ekeeke
d539061d99 [Core/CD] added support for Wondermega & Wondermega M2/X'Eye specific fader hardware (fixes CD-DA issues and freeze when using Wondermega, Wondermega M2 or X'Eye BIOS) 2018-08-30 18:37:12 +02:00
EkeEke
d71a8a2fc5 Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2018-08-11 23:42:09 +02:00
EkeEke
ee4494a815 [Core/IO] improved 6-buttons controller emulation (fixes 'ToeJam & Earl in Panic on Funkotron') 2018-08-11 02:09:13 +02:00
Clownacy
7a4e30d27e [Core/CD] fix libFLAC compilation on MinGW-w64
Without autotools, fseeko cannot be detected automatically, so we cheat
a little.
2018-07-09 18:53:09 +01:00
Vladimir Kononovich
191665c8d1 Visual Studio 2017 sdl2 solution. 2018-06-30 20:51:37 +03:00
EkeEke
724015c5a5 [Core/CD] fixed CHD data initialization (fixes potential crashes when loading non-CHD CD image files after 10MB ROM file) 2018-06-27 01:42:03 +02:00
EkeEke
ae28f87402 [Core/MS] improved region detection (fixes BIOS support with Japanese games) 2018-06-21 00:28:57 +02:00
nukeykt
3aae6e4f09 [Core/Sound] Nuked OPN2: removed discrete ym3438 core 2018-02-01 00:01:03 +09:00
nukeykt
06b3950d73 [Core/Sound] accurate YM2612/3438 status read emulation on invalid port 2018-01-29 13:24:13 +09:00
EkeEke
fee2bc8c28 [Core/Sound] added accurate YM2612 status & BUSY flag emulation for MAME core (verified on discrete and ASIC-integrated chips) 2018-01-07 16:44:14 +01:00
EkeEke
d0aa36acc3 [Core/CPU] improved 68K/Z80 synchronization 2018-01-07 16:24:28 +01:00
EkeEke
902dc4c4c0 [Core/Sound] added (optional) YM2612 DAC distortion emulation in MAME core & removed configurable YM2612 DAC resolution (deprecated) 2017-12-22 20:43:28 +01:00
EkeEke
b62ce884b8 [Core/Sound] added nuked YM3438 core to SDL port and fixed some GCC warnings 2017-12-22 20:37:58 +01:00