Commit Graph

267 Commits

Author SHA1 Message Date
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
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
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
acdfb2dbee added very preliminar emulation of Pro Action Replay 1 & 2 hardwares (NOT WORKING) 2009-08-03 17:21:36 +00:00
ekeeke31
9eecfa2c7c fixed Action Replay hardware emulation (still need Pro Action Replay 1 & 2) 2009-08-02 20:41:46 +00:00
ekeeke31
3031072ee0 added Action Replay hardware emulation (incomplete, need more infos !)
added proper region detection for Korean games
fixed Game Genie patches remaining active when disactivated
2009-07-31 16:37:42 +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