Commit Graph

59 Commits

Author SHA1 Message Date
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
a590414754 improved PAL region auto-detection for some games
fixed auto-detected inputs not being properly initialized after ROM loads
some code cleanup
2010-03-22 14:03:58 +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
f44d38b537 fixed YM2612 reset on "soft reset"
small optimizations & fixes in FIR resampler code
2010-01-27 07:20:44 +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
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
d129e7da94 code formatting 2009-10-06 08:05:18 +00:00
ekeeke31
45756f6b14 improved HBLANK flag occurence timing (fixes Mega Turrican Sky level)
improved emulation of CRAM writes during HBLANK
improved Wii RESET button behavior ("true" MD soft-reset)
2009-09-30 17:11:24 +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
8834abaa74 added configurable lowpass filter 2009-08-11 08:18:46 +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
5b888e725b added proper IO initialization routines
improved cartridge structure
added Lock-ON hardware emulation (Sonic & Knuckles)
added cartridge ROM mirroring support (required for Lock-ON emulation)
2009-08-06 18:31:05 +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
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
aa970d66a6 ~optimized 68k execution/interruptions
~re-enabled Address Error emulation
2009-06-05 17:31:46 +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
32ac31a997 ~VDP code cleanup/optimization
+added VDP palette bit support
2009-06-02 17:02:06 +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
7b7fa4123d ~fixed H32/H40 modes transition
~fixed overscan horizontal width in both modes
+added MessageBox support [GUI engine]
2009-05-19 16:14:43 +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
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
ekeeke31
c8d27f6740 finally fixed interlaced mode, reimplemented frame counters 2009-01-13 20:02:06 +00:00
ekeeke31
4dbedcdc04 fixed original interlaced mode desync (hack) 2009-01-08 19:01:16 +00:00
ekeeke31
cb7149fb6b added support for one EEPROM game, code cleanup 2009-01-07 17:12:03 +00:00
ekeeke31
0e86a15c09 fixed crash issue 2008-12-20 20:36:37 +00:00
ekeeke31
fefc260ec4 sound rendering test, updated DOS/Win32 ports 2008-12-18 17:13:47 +00:00
ekeeke31
8ea80d38a5 rewrote file interface 2008-12-10 18:16:30 +00:00
ekeeke31
35530e0ee3 fixed SVP DMA, fixed bug with interlaced mode, added backdrop color for NTSC filters 2008-12-07 19:31:50 +00:00
ekeeke31
c4c78f58be fixed cart mapper, code cleanup 2008-12-05 16:26:57 +00:00
ekeeke31
0165ac387f huge update 2008-12-04 19:32:22 +00:00
ekeeke31
1a730e7183 modified SRAM autosave, directly run the game after the ROM has been loaded, wii shutdown support, improved soft reset support, faster (direct) texture mapping , faster NTSC filters 2008-11-13 07:24:30 +00:00
ekeeke31
fbf4c2be5a updated SDL port 2008-10-13 16:07:02 +00:00
ekeeke31
41ffdefb1d various modifications 2008-10-12 19:56:35 +00:00
ekeeke31
b87381a068 fixed HBLANK/HINT timings 2008-09-18 15:08:47 +00:00
ekeeke31
1747f1b060 2008-09-13 15:42:24 +00:00
ekeeke31
deec7ecd2f adjuster HCOUNT/HINT timings, improved fast menu scrolling, removed unused SRC algorithms 2008-09-13 15:37:15 +00:00
ekeeke31
f2fdbc4e4d fixed input system rested when loading a new rom, fixed sega mouse buttons being inverted, SRAM are not compressed anymore, fixed B button on wiimote when emulating lightguns 2008-08-26 16:00:43 +00:00
ekeeke31
189157a408 fixed audio buffer allocation, added icon for SDL/win32 version 2008-08-25 19:38:03 +00:00
ekeeke31
fb9c8eeb19 fixed bug with sound output, fixed vdp latency during VBLANK, improved SDL/DOS ports 2008-08-22 15:58:49 +00:00