Commit Graph

272 Commits

Author SHA1 Message Date
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
EkeEke
46f3e640e8 [Core/SG] improved SG-1000 cartridge memory mapping (fixes Safari Hunting crash when accessing unmapped ROM area) 2017-12-13 23:09:29 +01:00
nukeykt
eff16f5a81 [Core/Sound] Nuked OPN2: Minor PCM mode tweak. 2017-10-10 23:51:58 +09:00
ekeeke
5ec1cd099f Merge pull request #184 from bkoropoff/overclock-tidy
[Core] Improved CPU overclock granularity and added (optional) sprite limits removal support (bkoropoff)
2017-10-10 10:46:16 +02:00
Brian Koropoff
fe21bb5950 Tidy up overclock code
Also use full available precision for overclock ratio.
2017-10-07 17:24:37 -07:00
EkeEke
5c7eb1a55d [Core/Sound] fixed compilation warnings with Nuked core 2017-10-07 00:49:14 +02:00
nukeykt
64356591d6 [Core/Sound] Nuked OPN2: fix envelope generator increment calculation 2017-10-06 00:25:16 +09:00
Brian Koropoff
e0ef0902e9 Add option to remove per-line sprite limits 2017-10-04 22:24:31 -07:00
Brian Koropoff
f3e0641b1b Allow more fine-grained overclocking
Some games can benefit from a little overclocking but start behaving
strangely at 2x.  Make the internal overclock ratio a fixed point
number and add 3 fractional settings.
2017-10-04 22:07:45 -07:00
ekeeke
2345d98b69 Merge pull request #181 from libretro/master
[Core/CPU] add optional 68K and Z80 overclocking
2017-10-04 11:19:10 +02:00
Brian Koropoff
2135365d5c Add experimental overclock option.
This reduces all cycle costs by half for the primary CPU.  There
is a delay upon loading before overclocking is applied as a
workaround for some games that detect PAL/NTSC systems by counting
cycles in a frame at startup.
2017-10-03 16:46:17 -07:00
nukeykt
573120e4f6 Nuked OPN2: requested changes 2 2017-09-29 22:37:13 +09:00
nukeykt
405db5d9f4 Nuked OPN2: requested changes 2017-09-29 18:01:03 +09:00
nukeykt
51f802b2cc Nuked OPN2: ASIC YM3438 & YM2612 emulation 2017-09-29 01:45:49 +09:00
nukeykt
27a77147aa Nuked OPN2: optimize detune calculation 2017-09-28 19:54:12 +09:00
nukeykt
6a23a42540 Nuked OPN2: minor tweaks 2017-09-28 17:00:31 +09:00
ekeeke
e2774c7b8a Update ym2612.c
[Core/YM2612] minor optimizations
2017-09-27 13:58:22 +02:00
nukeykt
eb457641a8 Nuked OPN2: Don't attack if key is off 2017-09-26 20:36:07 +09:00
nukeykt
13ab2aafbc Nuked OPN2: Fix LFO PM 2017-09-26 19:23:43 +09:00
ekeeke
3d8bd155a7 [Core/Sound] fixed EG counter loopback behavior (verified on real YM3438 die by nukez) 2017-09-26 10:25:48 +02:00
twinaphex
accc1c030e Use stdint.h instead of inttypes.h - fixes MSVC < 2010 2017-09-26 04:18:19 +02:00
twinaphex
ba28a28b7e Fix Emscripten 2017-09-26 00:49:48 +02:00
ekeeke
3fc3a57b26 [Core/68k] fixed NBCD insruction when using register operand 2017-09-25 01:09:09 +02:00
nukeykt
1768a34144 Nuked OPN2: requested changes 3 2017-09-24 01:47:50 +09:00
nukeykt
757a6e0c1f Nuked OPN2: requested changes 2 2017-09-23 21:17:05 +09:00
nukeykt
1c6fa9fdb6 Nuked OPN2: requested changes 2017-09-23 20:26:26 +09:00
nukeykt
0128f345b5 Add nuked opn2 as alternative core 2017-09-23 12:52:45 +09:00
EkeEke
00a79db64e [Core/CD] fixed cooked Mode-1 (ISO) sectors access in CHD files 2017-09-23 00:14:43 +02:00
notaz
5d13ccbe3f [Core/SVP] fix pointer arithmetic on 64bit (#171)
I don't want broken version of my code to linger around.
2017-09-21 09:24:50 +02:00
EkeEke
94103569ff [Core/VDP] allow active screen width to be modified during first two lines (Bugs Bunny in Double Trouble) 2017-09-20 16:45:50 +02:00
EkeEke
527fd6ecd8 [Core/VDP] improved VDP status read timing accuracy (fixes 'Marvel Land' demo mode) 2017-09-20 10:53:08 +02:00
EkeEke
f6f4556533 [Core/Sound] fixed 3-Band EQ implementation 2017-09-19 15:26:50 +02:00
EkeEke
5a3cfbc1b9 [Core/CD] implemented proper CHD file virtualization 2017-09-19 15:00:03 +02:00
EkeEke
31906b20cf [Core/Sound] fixed PSG noise channel bug 2017-09-19 12:21:41 +02:00
EkeEke
3a0ec7e895 [Wii] fix compilation issue caused by libretro patch to libchdr 2017-09-19 12:19:28 +02:00
twinaphex
12fde25a68 Fix one compilation error for MSVC 2003 Xbox 1 - size_t is defined
in stddef.h
2017-09-17 19:32:52 +02:00
twinaphex
e23498aece Remove msvc 2003/2010 solutions 2017-09-17 19:32:52 +02:00
twinaphex
da80349f9c Update 2017-09-07 02:18:14 +02:00
twinaphex
2dfa1317b0 Update libchdr 2017-09-06 19:07:42 +02:00
EkeEke
05dc8faa04 [Core/CD] added (optional) CHD image file support 2017-08-27 16:42:31 +02:00
EkeEke
f5e425b92a [Core/CD] fixed CD hardware buffer initialization when using dynamic memory allocation 2017-08-15 11:00:47 +02:00
EkeEke
f5c826731d [Core/CD] fixed track relative time computation during pregap 2017-08-15 10:59:10 +02:00
EkeEke
147ad71a3c [Core/VDP] fixed FIFO timings when switching H32/H40 mode while display is active 2017-07-15 13:03:58 +02:00
EkeEke
63b0d6a4c1 [Core/IO] increased Sega Mouse latency (fixes mouse support in Star Blade) 2017-07-15 13:00:49 +02:00
EkeEke
07f333b1ed [Core/MD] added (very basic) emulation of Flashkit MD hardware 2017-07-06 01:16:58 +02:00
EkeEke
2a19462f0d [Core/CD] added support for platform-configurable CD file virtualization 2017-06-30 13:42:47 +02:00
EkeEke
4017d379e6 [Core/VDP] improved DMA timing accuracy during blanking (verified on real hardware by Mask of Destiny) 2017-06-24 15:59:44 +02:00
EkeEke
38ffc317cb [Core/VDP] improved FIFO emulation accuracy 2017-06-05 23:52:03 +02:00
EkeEke
ee0fd881f6 [Core/CPU] removed 68k stack access optimizations to prevent unintentional (or intentional) ROM corruption 2017-05-08 16:35:05 +02:00
EkeEke
9810f9d34b [Core/CPU] minor optimization to 68k read/write handlers 2017-05-08 15:59:32 +02:00
EkeEke
0fc6a09b1d [Core/MD] fixed 68k read memory handler 2017-04-14 21:26:58 +02:00
EkeEke
4c04c8f719 [Core/Sound] minor YM2612 optimization 2017-04-09 19:31:40 +02:00
EkeEke
8f15c1d43b Merge branch 'master' of https://github.com/ekeeke/Genesis-Plus-GX 2017-04-09 19:13:01 +02:00
EkeEke
62c1d82145 [Core/Sound] fixed Timer B overflow handling 2017-04-09 19:12:21 +02:00
EkeEke
116b001fb2 [Core/Sound] fixed YM2612 LFO PM implementation (block & keyscale code should not be modified by LFO) 2017-04-09 18:54:02 +02:00
ekeeke
cc056b92db [Core/Sound] fixed PSG power-on latched register (verified on VA4 MD1 hardware)
Initial test that indicated power-on latched register was noise attenuation register was flawed because it wasn't done after a "cold" power-on. It appears the latched value is not totally reseted when doing a quick power off/on cycle (which was done with initial test) and would keep last value being set.
2017-04-02 21:40:24 +02:00
EkeEke
5a74df31ee [Core/CPU] fixed 68k undocumented behaviors for ABCD/SBCD/NBCD instructions (thanks to flamewing for his test ROM) 2017-03-30 15:02:15 +02:00
EkeEke
a62c6f9ffe [Core/Sound]
* fixed YM2612 self-feedback regression introduced in 1.7.1
* fixed YM2612 one-sample extra delay on operator1 output
2017-03-28 16:19:55 +02:00
EkeEke
b78ce06728 [Core/Sound] improved accuracy of SN76489 core 2017-03-28 16:15:45 +02:00
EkeEke
e7e231955c [Core/SG-1000] added support for Star Soldier & Pippols SMS Power dumps 2017-03-28 16:08:31 +02:00
ekeeke
7c7332b7b7 Fixed comments alignment 2017-03-21 14:01:14 +01:00
Alberto Fustinoni
fb7a085994 VS compatibility edits 2017-03-21 10:52:23 +09:00
Sérgio Benjamim
641fb280bc Revert "Adding ToadKing copyrights on changed files"
This reverts commit b0ee59c26f, this was not in Twinaphex fork.
2017-02-12 16:41:12 -02:00
EkeEke
61b10c57e2 [Core/Sound] rewrote PSG core from scratch & replaced deprecated "PSG boot noise" option with optional Hiqh Quality PSG resampling 2017-01-12 08:14:56 +01:00
EkeEke
cb2193583b [Core/Sound] optimized Blip Buffer implementation for stereo streams (thanks to David Knight for original idea) 2017-01-12 08:14:51 +01:00
EkeEke
25626ea251 [Core/Sound] improved PSG accuracy (fixes high-frequency aliasing noises in Captain Silver, Kenseiden, Phantasy Star & many other SMS games, thanks to Enik for the help) 2017-01-12 08:14:33 +01:00
sergiobenrocha2
0247ea6202 Merge remote-tracking branch 'upstream/master' 2017-01-02 01:14:52 -02:00
EkeEke
9bb64c47f9 [Core/Sound] rewrote PSG core from scratch & replaced deprecated "PSG boot noise" option with optional Hiqh Quality PSG resampling 2016-12-18 23:36:59 +01:00
EkeEke
41285e1131 [Core/Sound] optimized Blip Buffer implementation for stereo streams (thanks to David Knight for original idea) 2016-12-18 23:09:16 +01:00
EkeEke
eedbfecac9 [Core/Sound] improved PSG accuracy (fixes high-frequency aliasing noises in Captain Silver, Kenseiden, Phantasy Star & many other SMS games, thanks to Enik for the help) 2016-12-18 22:38:50 +01:00
EkeEke
d4063b36aa [Core/MD] adjusted ZRAM access wait-state delay (fixes Puyo Puyo 2 option menu exit) 2016-10-15 14:35:28 +02:00
EkeEke
1f169d76e5 [Core/VDP] fixed first frame VINT occurrence 2016-10-15 14:07:50 +02:00
EkeEke
2a410a66a9 [Core/CPU] fixed 68k cycle counter Power-ON value (verified on real hardware) 2016-10-15 14:06:23 +02:00
EkeEke
e7e19c78dd [Core/MD] fixed SRAM initialization for Sonic 1 Remastered hack 2016-10-15 14:05:02 +02:00
twinaphex
b0ee59c26f Adding ToadKing copyrights on changed files 2016-10-15 13:33:10 +02:00
EkeEke
da1d08d7ef [Core/General] removed libretro specific comments 2016-09-21 20:26:13 +02:00
Arto Vainiolehto
cbd2bc3d47 Add new core option: Core-provided aspect ratio.
Available options for core-provided aspect ratio are "auto", "NTSC PAR" and "PAL PAR".
- NTSC PAR forces pixel aspect ratio of NTSC tvs always, regardless of game or core region
- PAL PAR forces pixel aspect ratio of PAL tvs always, regardless of game or core region
- auto works as following
-- NTSC PAR is used when core region is set to auto and game region is NTSC, or core region is set to ntsc-u or ntsc-j.
-- PAL PAR is used when core region is set to auto and game region is PAL, or core region is set to pal.
-- 6:5 PAR is used for Game Gear games, if core options Borders and Game Gear extended screen are both disabled
2016-09-19 13:17:00 +03:00
Toad King
64ee605076 emscripten does not guarantee byte arrays to be aligned on word boundaries, specify alignment for them 2016-09-11 15:55:39 -05:00
EkeEke
17a64572e7 [Core/CD] fixed WAV file detection to support files generated by Audacity/FFmpeg/libavformat with RIFF header metadata chunks 2016-09-09 16:03:41 +02:00
EkeEke
60bb5edb17 [Core/CD] fixed access to Sub-CPU "read-only" communication registers (fixes Round 5 Boss freeze in Streets of Rage / Sega Classics Arcade Collection) 2016-09-07 23:01:40 +02:00
EkeEke
aa084363b6 [Core] When copying backward, use memmove instead of memcpy (anjbe). 2016-09-02 16:31:08 +02:00
EkeEke
446d9aa61f [Core/CPU] fixed Z80 interrupt duration (fixes music running too fast in Bomb on Basic City homebrew) 2016-08-16 00:02:33 +02:00
EkeEke
fa8929eb3d [Core/CPU] improved 68k auto-vectored interrupts acknowledge cycle timing accuracy (fixes background color corruption during Bubsy cutscenes) 2016-08-15 21:53:12 +02:00
EkeEke
ff6bd36593 [Core/CD] fixes last commit broken PCM clock initialization when VSYNC is enabled 2016-07-15 20:07:23 +02:00
EkeEke
1dac828fb5 [Core/MD] improved SVP memory handlers accuracy (fixes Virtua Racing debug mode) 2016-07-09 19:46:22 +02:00
EkeEke
36da8a2453 [Core/CD] CD timings should be initialized during CD hardware initialization (fixes broken Mode 1 support) 2016-07-06 23:09:15 +02:00
EkeEke
38753afaa5 [Core/CD] improved CDD "play" command accuracy (fixes "Snatcher" Act 2 starting cutscene) 2016-07-03 15:52:17 +02:00
ekeeke
101afae137 [Core/CD] CD struct area should only be touched when emulated since it's shared with large ROM (> 8MB) buffer area 2016-06-22 11:36:34 +02:00
EkeEke
2e8fde0963 [Core/CD] fixed comment 2016-06-22 01:22:47 +02:00
EkeEke
ece23d007e [Core/CD] improved PAL Mega CD timing accuracy 2016-06-22 01:15:15 +02:00
EkeEke
01030f1a76 [Core/MS] improved Japanese Master System I/O chip (315-5297) emulation (verified on real hardware by Charles MacDonald) 2016-06-14 23:42:30 +02:00
EkeEke
c01c640457 [Gamecube/Wii] fixed Master System games peripheral auto-detection 2016-06-14 23:37:45 +02:00
EkeEke
373b4ff214 [Core/VDP] disabled sprite rendering during border when borders are not disabled (fixes wrong sprite collision detection in Racer homebrew game when borders are disabled) 2016-05-29 18:53:57 +02:00
EkeEke
d819b4bccd [Core/CD] increased CD drive latency (fixes Earnest Evans) 2016-05-14 17:47:01 +02:00
EkeEke
d8ebe96491 [Core/VDP] fixed Mode 4 sprite Y wrapping in various screen height modes (fixes VDP Test ROM / Fantastic Dizzy) 2016-05-08 17:09:31 +02:00
EkeEke
a0f161ed2d [Core/CD] fixed bootable cartridge (mode-1) corrupting loaded CD BIOS 2016-05-03 17:19:26 +02:00
EkeEke
9365ac2b55 [Core/VDP] improved VDP status timing accuracy 2016-05-01 20:21:45 +02:00
EkeEke
381a9d114f [Core/VDP] fixed issues caused by screen width change during active display (Golden Axe 3 intro, Ultraverse Prime) 2016-05-01 20:10:37 +02:00