Commit Graph

326 Commits

Author SHA1 Message Date
ekeeke31
0c3e9c601c fixed YM2612 Timers bug: fixes "Langrisser Hikari II"/"Der Langrisser II" (Sega logo) 2010-02-21 18:33:58 +00:00
ekeeke31
e793e3c8fd code/header cleanup 2010-02-19 12:37:39 +00:00
ekeeke31
180317a392 fixed regression that prevents SRAM data > 2K to be loaded properly 2010-02-19 12:30:02 +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
cea89b4531 code cleanup 2010-02-12 13:28:28 +00:00
ekeeke31
0f1850ec6e fixed potential buffer overflow when using resampling (FM High-Quality mode). 2010-02-12 13:27:09 +00:00
ekeeke31
3cef34ffa4 fixed audio/video resynchronization when video settings are changed during frame execution 2010-01-27 23:53:20 +00:00
ekeeke31
bad0696190 [GCN/Wii]
*fixed audio/video desync that could occur after loading a new game 
*improved general synchronization of frame execution
*modified ASNDLIB shutdown to prevent potential memory leak with DSP tasks
*changed some global variables to use int type by default for optimization
*some code cleanup
2010-01-27 13:12:06 +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
f734e2fade optimized CPU cores instruction cycle counting (master clock multiplier is now applied during init)
fixed a recently introduced typo that make STOP instruction locks the machine (Thunderforce IV)
2010-01-27 07:18:25 +00:00
ekeeke31
e2eab7f408 defined HVC tables as 'const' for some optimization (?) 2010-01-27 07:14:45 +00:00
ekeeke31
c2dce7520a fixed YM2612 reset values 2010-01-27 07:13:04 +00:00
ekeeke31
8f5d6b38c6 updated win32/sdl code 2010-01-27 07:12:26 +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
7a4c208a34 fixed 68k reset exception timing (unused) 2010-01-13 22:08:05 +00:00
ekeeke31
11d8b55139 fixed Z80/PSG synchronization 2010-01-13 22:07:05 +00:00
ekeeke31
9e0ed2567e fixed color palette in highlight/normal modes 2010-01-13 22:05:52 +00:00
ekeeke31
7dae5fc15a .removed unecessary images (use rotation instead)
.implemented interactive screen positioning & scaling in video option menu
.usual code cleanup
2009-12-30 15:31:50 +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
1489a94be3 minor menu arrangments 2009-12-14 09:05:41 +00:00
ekeeke31
ee50adf375 fixed input controllers not being properly changed after hard reset 2009-12-13 19:09:15 +00:00
ekeeke31
ecb5f0617b updated SDL/Win32 sourcecode 2009-11-22 16:35:41 +00:00
ekeeke31
18f9eaa16c modified FIR resampler default filtering rolloff 2009-11-22 16:31:17 +00:00
ekeeke31
9e0e288e31 added some GX_DrawDone sync to fix corrupted rendering 2009-11-22 16:30:30 +00:00
ekeeke31
2b0f723c61 code cleanup 2009-11-22 16:28:59 +00:00
ekeeke31
14f512034f updated Z80 core in line with official version (MEMPTR renamed to WZ)
additional fixes to overscan color in shadow/highlight mode
2009-11-14 18:42:42 +00:00
ekeeke31
46fa9f1849 fixed overscan color in shadow/highlight mode (always use half intensity)
removed useless color updates (entry 0 of each palette is never displayed)
2009-11-13 12:15:51 +00:00
ekeeke31
7d72dfc687 minor optimizations to VDP rendering code (bis) 2009-11-09 12:26:49 +00:00
ekeeke31
6ff42f4252 minor optimizations to VDP rendering code 2009-11-09 12:05:19 +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
05dc1f8a9a updated z80 core to last version (fixed X/Y flags in CCF/SCF/BIT instructions) 2009-11-02 19:26:42 +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
d129e7da94 code formatting 2009-10-06 08:05:18 +00:00
ekeeke31
c2c79c0eb3 fixed Realtec Mapper support (fixes missing sound in Balloon Boy / Funny World) 2009-10-06 07:36:08 +00:00
ekeeke31
824b33fea9 fixed SRAM being reinitialized after changing some system options when auto-SRAM is enabled
fixed BIOS lockup with games using SRAM when auto-SRAM is enabled
improved Gamecube controller autodetection on startup
2009-10-04 18:24:29 +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
cccd71e612 fixed automatic SRAM not being reloaded after Hard Reset
code cleanup & update for use with last libogc (check download section for updated libs)
2009-09-27 18:08:33 +00:00
ekeeke31
bc8168948f fixed SRAM detection for Sonic 3 & Knuckles combined ROM 2009-09-15 14:17:04 +00:00
ekeeke31
b40bcf31d1 * fixed 2-Cell vertical scrolling when column 0 is shifted.
* added support for 2-Cell vertical scrolling in Interlaced 2 mode.
* improved Z80 core accuracy
2009-09-03 17:02:29 +00:00
ekeeke31
f2e93d4949 updated Z80 core to last version (fixes IM0 interrupt timing + some BIT instructions)
added John Madden Football 93 in EEPROM database (fixes backup support)
initiated ROM database for cartridges that uses SRAM (some ROM headers are definitively wrong !), need more...
2009-08-18 16:45:09 +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
5d1f29637e improved cartridge emulation (SRAM mapping & detection, ROM mirroring)
fixed Lock-ON option configuration
2009-08-07 17:30:14 +00:00