Commit Graph

87 Commits

Author SHA1 Message Date
ekeeke31
b8506f31b7 .implemented new SN76489 core, using Blargg's blip linear implementation
.improved sound chips input clock precision (float->double)
2010-08-24 12:48:40 +00:00
ekeeke31
b09509edb8 minor code cleanup 2010-08-10 19:54:35 +00:00
ekeeke31
54f1b14aa9 fixed audio/video synchronization in interlaced & progressive modes 2010-08-08 18:09:37 +00:00
ekeeke31
670df571ea code cleanup 2010-07-02 23:03:05 +00:00
ekeeke31
84a395dbf3 fixed an error with Z80 reset from previous changes 2010-06-17 06:31:30 +00:00
ekeeke31
7880c09c4e added USB2 support through Hermes IOS202 (mload) 2010-04-23 12:31:07 +00:00
ekeeke31
2917f63aa2 reverted back to signed long (32-bits) FM samples [fixed] 2010-04-21 12:50:29 +00:00
ekeeke31
2dc6874e33 reverted FM buffer to use "short int" instead "long int" since it broke sound when High-Quality FM was disabled 2010-04-19 12:21:40 +00:00
ekeeke31
ed11eb0133 [Core/VDP]
* improved sprites processing accuracy.
* fixed VBLANK transition line checks.
* code cleanup and (minor) optimizations.

[Core/Sound]
* increased FM internal sample size to 32-bit to avoid overflow when adding channels.
* added preliminary emulation of YM2612 DAC precision (can be configured to match real console output).
* added configurable roll-off for FIR filtering in High-Quality FM mode.

[Wii]
*added support to enable/disable Video Encoder Trap Filter: can help reproducing "color blending" as on a real Genesis (composite video only).
*added support to configure Video Encoder gamma correction.
2010-02-28 19:55:43 +00:00
ekeeke31
0c3e9c601c fixed YM2612 Timers bug: fixes "Langrisser Hikari II"/"Der Langrisser II" (Sega logo) 2010-02-21 18:33:58 +00:00
ekeeke31
9eadfc41b3 fixed compilation issue in previous revision (configurable roll-off has not yet been submitted) 2010-02-17 08:51:17 +00:00
ekeeke31
27d3fc5328 improved FM & PSG chip synchronization when using resampling (fixes buffers overflow issues and problems with DAC timings that occured with previous "fix") 2010-02-15 14:02:37 +00:00
ekeeke31
0f1850ec6e fixed potential buffer overflow when using resampling (FM High-Quality mode). 2010-02-12 13:27:09 +00:00
ekeeke31
f44d38b537 fixed YM2612 reset on "soft reset"
small optimizations & fixes in FIR resampler code
2010-01-27 07:20:44 +00:00
ekeeke31
c2dce7520a fixed YM2612 reset values 2010-01-27 07:13:04 +00:00
ekeeke31
2b78421402 [Core]
------

* improved 68k accuracy (initial reset timing + auto-vectored interrupts handling).
* modified Z80 & 68k cores to directly use external cycle count instead of intermediate counters.
* improved Z80 & 68k cpu execution/synchronization accuracy, now use Master Clock as common clock reference.
* improved PSG & FM chips synchronization with CPU execution (fixed point precision).
* completely rewrote sound output processing & mixing: sound chips are now clocked with exact output frame rate
to ensure 100% smooth video & audio playback, with no lag or skipping, while still rendering an accurate number
of samples per frame. This will also make fast-forward implementation (video AND sound) more trivial.
* improved color accuracy in VDP highlight mode to match results observed on real hardware.
* improved sprites processing timing accuracy: fixes (un)masked sprites in Mickey Mania (3D level), Sonic 2 (VS mode).
* improved horizontal blanking & HINT/VINT occurrence timing accuracy, as measured on real hardware.
* improved H-Counter accuracy in 40-cell mode, as measured on real hardware.
* optimized Z80 bus status signals
* usual code cleanup

[GCN/WII]
---------
fixed ASNDLIB exit when returning to game
fixed audio/video startup sync
modified audio back-end engine according to new audio processing core (see above)
2010-01-24 11:41:53 +00:00
ekeeke31
ac4de61944 code cleanup 2010-01-13 22:08:35 +00:00
ekeeke31
46758ce339 improved audio accuracy (input samplerate is now adjusted according to emulated framerate) 2009-12-30 15:24:12 +00:00
ekeeke31
18f9eaa16c modified FIR resampler default filtering rolloff 2009-11-22 16:31:17 +00:00
ekeeke31
dcefd321a6 modified YM2612 operators/channels clipping (need confirmation)
improved LFO timing accuracy
various YM2612 core cleanup & additional comments
2009-11-05 08:53:47 +00:00
ekeeke31
da37355e04 removed unused code 2009-11-02 19:23:39 +00:00
ekeeke31
fe055c2a2c .fixed I/O access issues with devkitpro r18
.updated OGG support (compatibility with last libtremor + threading fixes from Tantric)
.improved controller auto-detection 
.added experimental support for cartridge hot swapping, check System Options Menu
.improved reset (soft/hard) emulation accuracy


BEFORE COMPILING, REMOVE THE FOLLOWING FILES:

*from ($DEVKITPRO)/libogc/lib/cube & /wii
-----------------------------------------
libpng.a
libtremor.a

*from ($DEVKITPRO)/libogc/include
---------------------------------
/tremor
png.h
pngconf.h


DOWNLOAD & INSTALL THE FOLLOWING PORTLIBS in ($DEVKITPRO)/portlibs/ppc
(PPC versions, from http://sourceforge.net/projects/devkitpro/files/)
*libpng
*libtremor
2009-10-16 11:32:55 +00:00
ekeeke31
a2ece6f81b improved Pro Action Replay emulation (still not working completely)
added cycle-accurate YM2612 reset handler
some fixes in FIR resampler
2009-08-14 16:46:19 +00:00
ekeeke31
0d58ff65e0 fixed sound issues in PAL mode when HQ YM2612 is enabled (modified FIR resampler ratio)
fixed video glitches in games that switch video horizontal width.
fixed BIOS infinite loop on hard reset
2009-08-14 13:54:15 +00:00
ekeeke31
f2e43c9f8f fixed backup memory support in Bill Walsh College Football (this game uses I2C EEPROM saves)
modified Action replay (Pro) memory map
2009-08-11 17:25:38 +00:00
ekeeke31
c0179e7ed4 fixed YM2612 output limiter
modified resampler frame length calculation
2009-08-09 16:10:44 +00:00
ekeeke31
cfa4a08211 fixed m68k 32 bits writes at memory boundaries
fixed UKM3 memory map being incorrectly reseted
added LFO current steps to YM2612 context
fixed IO reinitialization in controllers menu
2009-08-09 09:33:48 +00:00
ekeeke31
0743df467e better keep file headers up to date 2009-08-05 07:04:27 +00:00
ekeeke31
e0737ff395 fixed Savestates
reverted SN76489 core changes (problem with Sonic 2 first level music, more investigations needed)
2009-08-05 07:02:09 +00:00
ekeeke31
f404e9eaa9 Fixed Game Genie option menu
Added more EQ options in audio menu
2009-07-30 07:15:54 +00:00
ekeeke31
d112fb72a2 +added Game Genie hardware emulation (Game Genie ROM is now fully supported) 2009-07-29 15:34:25 +00:00
ekeeke31
c8c71b9bff fixed LFO implementation (YM2612)
fixed regression with EG update being done too early (YM2612)
2009-07-24 16:55:32 +00:00
ekeeke31
dbc4d02fea ~implemented faster/better FIR resampler, removed libsamplerate
~fixed some memory leaks with Blip Buffer
~reverted previous change regarding frame synchronization: always use VSYNC when switched to 60hz (fix video issues in interlace mode 2)
~optimized cell rendering (less byte swapping)
~fixed savestate file version checking
2009-07-22 17:25:41 +00:00
ekeeke31
4835860232 ~improved DIVU/DIVS/MULU/MULS timing accuracy (68k core)
~optimized 68k execution
~reverted recent changes to LFO phase modulation, need more testing (ym2162 core)
2009-06-23 16:38:29 +00:00
ekeeke31
72ec155b38 ~ fixed a regression that broke STOP instruction behavior
~ modified LFO implementation to make it handles signed displacement value correctly (is that correct ? still need to be verified against real hardware)
2009-06-16 15:51:29 +00:00
ekeeke31
0c8c30e3a2 +fixed LFO implementation according to Nemesis description (UNTESTED, need feedback) 2009-06-15 16:23:12 +00:00
ekeeke31
256d534ea6 ~fixed ASND support, DSP task is now allocated only once.
~fixed oggplayer memory leak (LWP queue was not closed properly)
~do no use VSYNC callback for emulation synchronization anymore, (always uses DMA interrupt regardless the video mode)
2009-06-15 08:07:48 +00:00
ekeeke31
a0fe59e1fc ~fixed VDP bug from last revision
~updated DOS & WIN32 ports to reflect recent changes
2009-06-02 18:12:31 +00:00
ekeeke31
1cfb7e6f44 +implemented Blip Buffer linear interpolation in SN76489 core
+optimized SN76489 core
+added configurable SN76489 Noise boost
+added savestate version check
2009-05-27 14:07:14 +00:00
ekeeke31
adcd65f2f4 + added 3-Band Audio Equalizer support 2009-05-26 16:40:35 +00:00
ekeeke31
b08e66855a +added proper license/copyright stuff
~modified file headers
~separated GUI engine from menus
2009-05-13 14:26:55 +00:00
ekeeke31
b1f11ed311 ~ fixed YM2612 channel connections when loading savestate
~ optimized VDP renderer buffers size
~ fixed directories automatic creation
+ added game screenshot feature
+ added game screenshot support in ROM File browser
+ improved Controller menu icons
+ added new images for the new Controller menu
- removed unused images
2009-05-01 12:56:48 +00:00
ekeeke31
e15ff1c3bd updated credits 2009-03-16 18:56:59 +00:00
ekeeke31
99e00b8fe3 [~]fixed ym2612 context restore
[~]small fixes to SSG-EG emulation (should be finally fine !)
2009-02-28 17:49:31 +00:00
ekeeke31
914b8d22f2 small fix to SSG-EG emulation 2009-02-27 09:09:06 +00:00
ekeeke31
a857fb3990 fixed broken YM2612 initial state, rewrote SSG-EG implementation (OK), reverted some menu changes 2009-02-26 17:24:53 +00:00
ekeeke31
b75d86889e 2009-02-25 17:04:29 +00:00
ekeeke31
4eb8d17acf [-]removed Gens YM2612 core support
[~]fixed YM2612 context restore 
[+]improved YM2612 emulation accuracy (BROKEN)
2009-02-25 16:53:28 +00:00
ekeeke31
6f65ac3f15 fixed audio/video synchronization, preliminary GX gui implementation 2009-02-22 19:57:41 +00:00
ekeeke31
43fd560e55 optimized some float/int conversions, added -fomit-frame-pointer flag 2009-01-28 16:43:15 +00:00