Commit Graph

382 Commits

Author SHA1 Message Date
ekeeke31
e0aa2d00c8 .added PRO Action Replay hardware emulation 2010-11-01 18:08:24 +00:00
ekeeke31
39eaa853be .fixed gamepad initial state (Gouketsuji Ichizoku / Power Instinct, Samurai Spirits / Samurai Shodown)
.improved gamepad emulation accuracy
2010-11-01 18:05:14 +00:00
ekeeke31
63617bf5a1 fixed VDP width change during active display (Golden Axe 3 intro) 2010-11-01 18:03:41 +00:00
ekeeke31
032bd764ab changed default SVP clock speed 2010-11-01 18:01:51 +00:00
ekeeke31
31d476948b improved YM2612 DAC/accumulator accuracy 2010-11-01 18:00:43 +00:00
ekeeke31
7d04780880 disabled interrupt during YM2612 table initialization to prevent pow() function returning wrong values: fixes random sound issues on game startup 2010-09-16 11:36:09 +00:00
ekeeke31
f7ccaffa9f .added support for Pocket Monsters II ROM banking protection
.improved emulation of copy protection hardware used in some unlicensed games (now bypass all checks in Mulan & Pocket Monsters II)
2010-08-27 07:41:10 +00:00
ekeeke31
9db9a8056f .added support for Mulan ROM banking protection 2010-08-26 23:54:43 +00:00
ekeeke31
fd53f3f568 .prevented TMSS register access when TMSS/BIOS is disabled (fixes some unlicensed game developed with Tomsoft Studio SEGA Kit)
.added random starting cycle value for 68k/Z80
2010-08-26 22:31:52 +00:00
ekeeke31
c2d54eb63a Added missing files 2010-08-24 12:52:46 +00:00
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
88e7fb847a fixed current DVD directory not being saved when changing ROM device
removed unused USB2 code
2010-08-24 12:43:34 +00:00
ekeeke31
2e2985bb1a fixed bug introduced in r489 (Z80 interrupt was never cleared) 2010-08-20 12:45:23 +00:00
ekeeke31
5486be90dd bump up max files per directory 2010-08-20 12:44:14 +00:00
ekeeke31
34a9015f0e Removed useless IOS code 2010-08-19 13:25:07 +00:00
ekeeke31
b82c22c2e9 improved Z80 interrupt timing accuracy 2010-08-19 13:22:12 +00:00
ekeeke31
9f4806a37d finally implemented accurate column-based vertical scroll mode (verified on real hardware) 2010-08-19 12:11:51 +00:00
ekeeke31
56760ff8c3 removed cIOS202 & EHCI module support 2010-08-12 19:21:25 +00:00
ekeeke31
b09509edb8 minor code cleanup 2010-08-10 19:54:35 +00:00
ekeeke31
70d297a327 [Z80] more fixes to reset state, /IRQ and /NMI state should remain unchanged 2010-08-10 12:38:46 +00:00
ekeeke31
54f1b14aa9 fixed audio/video synchronization in interlaced & progressive modes 2010-08-08 18:09:37 +00:00
ekeeke31
cd14774e03 [Z80] fixed state of CPU registers on reset: fixes missing sound in Defender/Defender 2 (Williams Arcade Classics) 2010-08-08 17:28:11 +00:00
ekeeke31
efc7c3000a [68k] improved MULU/MULS instructions timing accuracy 2010-08-07 14:22:36 +00:00
ekeeke31
c7e2dad7b4 2010-08-05 19:14:09 +00:00
ekeeke31
21e263dd25 improved 2-cell vscroll emulation accuracy (fixes Cutie Suzuki no Ringside Angel left-most column) 2010-07-30 21:26:06 +00:00
ekeeke31
7baad4c52e modified default config options 2010-07-30 21:18:41 +00:00
ekeeke31
c44daa134b minor input code cleanup & fixes
it's now possible to change the input configuration when J-CART is detected: this let you play 6-player mode in Super Skidmarks by connecting 4-WayPlay
2010-07-28 12:01:03 +00:00
ekeeke31
283c251cc8 minor changes to HV counter in 40-cell mode (verified on real hardware by Nemesis) 2010-07-27 07:22:31 +00:00
ekeeke31
84a2995700 .fixed J-CART emulation (broken by previous revision)
.fixed 6-button controller support through J-CART
2010-07-26 12:41:26 +00:00
ekeeke31
b758b0b57e improved I/O emulation accuracy
optimized gamepad/teamplayer code
2010-07-16 08:30:25 +00:00
ekeeke31
7a28d34f4d CPU emulation code cleanup & optimization 2010-07-16 08:29:05 +00:00
ekeeke31
64c2278395 .fixed GX_REPEAT texture rendering
.added new default menu background
2010-07-06 14:03:50 +00:00
ekeeke31
670df571ea code cleanup 2010-07-02 23:03:05 +00:00
ekeeke31
48b77511bf .fixed a bug with sprite rendering
.additional "optimization"
2010-07-02 13:21:21 +00:00
ekeeke31
d2b4f21de8 updated Win32/SDL port 2010-06-30 08:16:20 +00:00
ekeeke31
daf11963b1 .added pixel-accurate emulation of mid-line display on/off (Nigel Mansell World Championship PAL, Ren & Stimpy's Invention PAL,...)
.improved sprite processing accuracy (fixes Power Athlete / Deadly Moves)
.optimized sprite rendering
2010-06-28 22:49:17 +00:00
ekeeke31
a2258d0011 Additional fixes 2010-06-20 20:32:14 +00:00
ekeeke31
fb4663f2e3 More changes to Z80 bus request/reset 2010-06-18 11:02:10 +00:00
ekeeke31
84a395dbf3 fixed an error with Z80 reset from previous changes 2010-06-17 06:31:30 +00:00
ekeeke31
3434f89e3b .fixed optimization of memory handlers (better branch prediction ?)
.fixed savestate snaphot when 16:9 correction is used
.fixed overscan support (separated H & V border emulation)
2010-06-15 06:14:35 +00:00
ekeeke31
682dd53a38 additional memory handler code cleanup 2010-06-14 19:20:05 +00:00
ekeeke31
79d5f55611 .added proper TMSS emulation
.memory bus handlers code cleanup & optimization
2010-06-14 08:05:45 +00:00
ekeeke31
f8c7045b72 reverted changes made to column-based vertical scrolling (verified on real hardware) 2010-06-11 05:57:35 +00:00
ekeeke31
12606da28e .improved mid-frame screen changes (fixes Bugs Bunny in Double Trouble)
.improved VDP FIFO timing accuracy
.improved Z80 interrupt accuracy
.modified CPU Hard Reset start cycles
2010-06-10 07:57:18 +00:00
ekeeke31
f21a08ebfa [Core]
.improved Z80 bus reset accuracy
.improved Z80 locks & VDP access accuracy
.improved soft-reset accuracy
.adjusted Horizontal Counter timing in H32 mode (fixes Sonic 3D Blast 'bonus' levels)
.updated win32 port to compile with recent changes
.input code cleanup

[GCN]
.fixed soft-reset (reset switch should also works now)



IMPORTANT: Because of some internal changes, saved states from previous revisions are not compatible !
2010-05-30 18:42:03 +00:00
ekeeke31
7db1b3ef85 modified menu arrangement 2010-05-28 15:47:45 +00:00
ekeeke31
2c2f760f44 .optimized memory footprint
.improved hardware initialization (fixes Ultimate Mortal Kombat Trilogy)
.improved soft-reset emulation
.fixed some menu bugs on Gamecube
2010-05-28 12:08:00 +00:00
ekeeke31
70ef2fc20b improved automatic frame-skipping (fixes Virtua Racing on Gamecube) 2010-05-25 07:34:02 +00:00
ekeeke31
e2366f81a9 [Gamecube] fixed access to ROM files on SDCARD 2010-05-25 06:42:28 +00:00
ekeeke31
0a83f8ccdd fixed ROM file selector 2010-05-18 07:35:29 +00:00
ekeeke31
61e4873c07 fixed Action Replay & Game Genie emulation 2010-05-17 11:01:52 +00:00
ekeeke31
5078244cd1 added proper HV Counter latch support, as verified on real hardware (fixes Sunset Riders intro) 2010-05-17 10:59:47 +00:00
ekeeke31
bbf44f27d0 added new game supporting EEPROM saves (Ninja Burai Densetsu) 2010-05-17 10:57:04 +00:00
ekeeke31
6617086d87 fixed some config/menu options 2010-05-17 10:55:37 +00:00
ekeeke31
11e600e933 fixed stupid bug introduced in previous revision [crash when loading from history] 2010-05-09 01:15:40 +00:00
ekeeke31
81054b0420 .more GUI fixes
.added credit screen
.added ROM information window
2010-05-09 00:53:19 +00:00
ekeeke31
7a827f7a71 added automatic access to last ROM directory (SD/USB)
added an option to automatically load last ROM file on startup
2010-05-07 18:25:27 +00:00
ekeeke31
a6fdb00469 fixed memory card support 2010-05-07 08:19:32 +00:00
ekeeke31
44073ca30e implemented new save manager menu (multiple slots, snapshots, slot deletion...)
miscellaneous improvement to GUI engine
2010-05-06 12:59:43 +00:00
ekeeke31
e596250c89 added missing EHCI module 2010-04-24 14:04:46 +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
9d430a0851 fixed 2-cell vertical scrolling [40-cell mode only, need investigation]: fixes left column in Gynoug 2010-04-19 12:19:41 +00:00
ekeeke31
11859d43de minor optimizations 2010-04-19 08:38:38 +00:00
ekeeke31
334e8a0478 additional fixes to memory card interface
improved some menu transitions
changed default background color
2010-04-15 12:01:14 +00:00
ekeeke31
0ac9bd43da fixed bug with PNG file support introduced in previous revision
fixed GC Memory Card Support on Wii
added Memory Card sector size error check
2010-04-14 12:28:12 +00:00
ekeeke31
3339a4c467 fixed compilation issue with libpng 1.4.x 2010-04-13 12:21:21 +00:00
ekeeke31
0794c4a5d6 [VDP]
.improved FIFO timings accuracy (fixes Sol Deace intro)
.code cleanup
2010-04-06 23:22:27 +00:00
ekeeke31
68ceeb3b8c [GUI]
added an option to disable background "overlay"
changed background image when background is 'pure black'
improved some menu transitions
minor menu arrangement & code cleanup
2010-03-22 14:07:25 +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
9092121e60 improved Wiimote support for mouse emulation
VDP code cleanup
2010-03-07 17:58:33 +00:00
ekeeke31
0f4da285f8 fixed compilation issues
tiny GUI modifications
2010-03-07 17:56:02 +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
62b3cce887 modified IPL font support to always use ANSI font by default (fix corrupted text on Japanese consoles) 2010-02-28 19:26:04 +00:00
ekeeke31
55a8c5a7ac reverted previous changes regarding '2-cell' vertical scroll mode when column is partially scrolled horizontally (fixes Formula One Championship) 2010-02-24 22:28:08 +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
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