Commit Graph

350 Commits

Author SHA1 Message Date
adelikat 4ae0b2cd22 Merge branch 'master' into waterbox2
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Events.cs
	BizHawk.Client.EmuHawk/MainForm.cs
2017-06-04 18:18:11 -05:00
nattthebear b9ab41a4da More like Chie SatURNaka 2017-06-04 16:41:11 -04:00
zeromus c96ff28055 fix broken GPGX trace logger disassembler (fixes #866) 2017-06-02 15:50:23 -05:00
nattthebear 2887ba5823 savestates for vb. this includes savestates for mmap_heap. unfortunately, usage of mmap_heap was scrapped as the things going into it were better suited for invisible/sealed. it may be eventually useful 2017-05-29 11:26:38 -04:00
nattthebear 7f2e06b0b5 clean things up and make gpgx fully (?) multi-instance correct 2017-05-28 13:46:08 -04:00
nattthebear 7ea3755f13 rename gpgx.exe to gpgx.wbx and push some binaries 2017-05-28 07:33:55 -04:00
nattthebear ef8264a8b0 waterbox: Add special handling for imports in XorStates. Fix a few other instances where managed pointers were leaking out into XorStates 2017-05-27 20:38:28 -04:00
nattthebear 3a4b6601d9 move pewrapper into its own file 2017-05-27 14:55:21 -04:00
nattthebear 2665510502 Add enough changes so that snes9x now boots. This includes stubs for a bunch of syscalls, a few mmglue changes, and C++ global constructor support 2017-05-27 12:29:05 -04:00
nattthebear 1fe77d7f32 gpgx: fix video size after loading a frame 0 savestate. misc cleanup 2017-05-21 09:27:29 -04:00
nattthebear a325969963 Work more on waterbox and convert GPGX64 to use the new PERunner. Doesn't work yet. 2017-05-20 17:18:31 -04:00
nattthebear 8986ddb54b some waterbox cleanup+reorg 2017-05-18 18:44:34 -04:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
nattthebear 307d85cee0 The point of INPUT_KEYS is to document actual behavior, so lets fix it 2017-05-08 17:42:57 -04:00
adelikat b6fc3006e9 Cleanup SMS.IEmulator.cs 2017-05-08 11:42:22 -05:00
adelikat eafa39456f Genesis - there's a couple more buttons on the menacer 2017-05-07 18:05:09 -05:00
alyosha-tas 3769967fb0 Update MemoryMap.Korea.cs
Fix Xyzolog
2017-05-06 18:10:10 -04:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat b3ad3ce6ba Move BizInvoke files from Emulation.Common to Common 2017-05-01 17:30:42 -05:00
adelikat ffd743cac7 Remove Genesis.cs core 2017-05-01 16:27:40 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 17fe836926 Emulation.Common - misc cleanups in Base Implementations 2017-04-27 08:24:21 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
adelikat 1ad6e7a95f oops 2017-04-24 13:56:42 -05:00
adelikat 1cb6289e13 Remove the obsolete MemoryDomain.FromIntPtrSwap16() method 2017-04-24 13:52:52 -05:00
adelikat 54ebe75d2b remove the obsolete MemoryDomain.FromIntPtr method 2017-04-24 13:47:40 -05:00
adelikat 44064d86d2 sms - nitpick code cleanup 2017-04-23 13:28:15 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
nattthebear f8830652de Revert "GPGX remove an exception for debugging"
This reverts commit 96ac5d1122.
2017-04-15 08:09:08 -04:00
alyosha-tas 96ac5d1122 GPGX remove an exception for debugging
The core can handle this case just fine so there doesn't appear to be a need for it anyway
2017-04-14 21:44:15 -04:00
adelikat f1cc6eab36 Fix a warning 2017-03-20 10:58:13 -05:00
zeromus 22f9179ee7 fix #807 (GPGX double size option) 2017-02-25 02:57:04 -06:00
zeromus 4e2892d852 gpgx now width-doubles to match height-doubled hi-res video 2017-02-18 16:09:08 -06:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
adelikat 691632f188 More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores. 2016-12-16 08:50:05 -06:00
adelikat 72a59087b5 Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed() 2016-12-14 12:42:15 -06:00
adelikat aaed8e67d5 NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit 2016-12-14 09:16:54 -06:00
adelikat b465eaa470 Remove two sound refactor todo comments 2016-12-11 12:27:11 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
alyosha-tas b2920834b1 Fix Shining Force games ( #600 and #335 )
Fixes SRAM selection and Interrupt control
2016-11-03 20:49:19 -04:00
feos af78aedc02 as always 2016-08-24 07:26:42 +03:00
feos 6e0b8e2784 yabause tracer 2016-08-24 00:05:17 +03:00
adelikat cac0f533db Fix SMS memory domains 2016-08-22 15:07:57 -04:00
Ben Eirich 7f23cd80f1 SMS overscan display
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Designer.cs
2016-08-18 18:14:58 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 8e92c5fd17 gpgx: move to normal tracing method too
CallbackBasedTraceBuffer seems deprecated
2016-08-14 22:29:42 +03:00
zeromus 6d32112c9e fix gpgx, n64 trace loggers 2016-08-13 16:34:01 -05:00
feos 801dac3c0d GPGX.ISettable: output and input hex values 2016-08-14 00:20:01 +03:00
feos 35282ba577 gpgx32: flipped namespaces, added excplicit core picking
diff is messed up after folder renaming, but no file was changed except for namespaces and waterbox's core name
2016-08-10 22:27:46 +03:00
feos 7b26a6b573 gpgx32: make it compile
also build a dll
2016-08-09 21:13:42 +03:00
feos d970ccf544 gpgx32: dropped Dynamic 2016-08-09 20:43:15 +03:00
feos ca0d7ce92d new namespace 2016-08-09 20:16:24 +03:00
feos 14fd7d52c2 check in files 2016-08-09 20:03:23 +03:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
zeromus 59658340e7 change description of genesis pad320 option 2016-03-27 14:33:12 -05:00
nattthebear 5876c60571 gpgx waterbox - dynamically allocate some sega CD memory areas to reduce state size. raw core is now about 800K in normal mode; 2MB in sega CD mode 2016-03-27 12:00:50 -04:00
nattthebear b4735502a5 gpgx waterbox: fix a few misc bugs in elfrunner, and fix a few misc bugs in the core so that Virtua Racing now works 2016-03-26 14:44:44 -04:00
nattthebear 0e9a34a074 gpgx - fully connect lockable swappable elfrunner. core should theoretically be multi-instance safe now 2016-03-25 22:19:18 -04:00
nattthebear 92e708d011 gpgx waterbox: move bg_pattern_cache to alloc_invisible 2016-03-23 21:10:18 -04:00
nattthebear 06f9d78452 gpgx: trim savestate size by moving some things to the sealed heap 2016-03-23 20:52:49 -04:00
nattthebear 9f173389a9 gpgx: entirely disable writes to the "MD CART" memory domain, since it's not supported 2016-03-23 20:17:02 -04:00
nattthebear b06908e5d4 gpgx waterbox: get sega cd working 2016-03-23 20:11:47 -04:00
nattthebear 8136aa0f03 Add the basics of multiple memory arenas to elfrunner. With a bit of tweaking, gpgx core states are now 3.5MB (and could get smaller) 2016-03-23 19:45:02 -04:00
nattthebear 7acbaffafd ElfRunner: Some internal refactoring in preparation for multiple memory arenas 2016-03-23 17:27:35 -04:00
nattthebear 4bd73a626f Add Monitor support to BizInvoker. Monitors are called right before (Enter) and right after (Exit) each interop method call. Possible applications include AWE mutex+mapping, and cothread no-GC regions. If you ask for an invoker without monitor, this commit adds no overhead because the code isn't generated. 2016-03-22 20:17:28 -04:00
nattthebear 146442cd69 some stuff for waterbox gpgx, not finished 2016-03-21 21:43:56 -04:00
zeromus 68f16a3a79 dont crash when shutting down a saturn core started in non-gl mode 2016-03-13 19:50:25 -05:00
nattthebear 3bc6fe1b04 Add the elf stuff back to solution (doesn't do anything, don't use, ugly and embarassing, etc). Switch gpgx to use bizinvoker and slash a few hacks there. Bizinvoker - add support for forwarded attributes in Compatibility mode ([Out], [In]), and support enum, ref enum, and enum[]. Misc cleanup. 2016-03-10 22:00:52 -05:00
adelikat 5cd11d0bb4 Move Sound component objects from Emulation.Common to Emulation.Cores so they live in the same assembly as the calling cores 2016-03-04 08:37:09 -05:00
feos 9e3d57341f gpgx: custom backdrop color. 2016-02-28 20:52:54 +03:00
adelikat 4460055da3 SMS - break up services into separate files 2016-02-28 12:01:12 -05:00
adelikat d477bc1fb6 nice Trace header for SMS, and Coleco 2016-02-28 08:07:02 -05:00
feos 196f896679 gpgx: sprite layer toggle 2016-02-28 01:59:51 +03:00
feos c04d813b77 gpgx: change lowpass range to ushort to make at least some sense to user. 2016-02-28 01:12:36 +03:00
nattthebear c623933af1 gpgx: some audio settings and stuff. presumably fixes issue 584 2016-02-27 14:39:01 -05:00
feos f590ed9e19 tracer: gpgx and qn header formats, include cpu name. 2016-02-27 20:05:58 +03:00
adelikat f9c9994161 Refactor GPGX trace logger - make a CallbackBasedTraceBuffer abstract class in Base Implementations with an abstract method CreateTrace, and inherit it as a GPGXTraceBuffer. 2016-02-23 21:58:40 -05:00
feos 7abac10164 genesis disasm/tracer: replace IR reg with raw bytes, drop separate PC reg. 2016-02-22 15:02:59 +03:00
feos e9225089d6 gpgx tracer: pretend we have flags, drop some useless regs.
makes it fit into the limit for me.
2016-02-22 12:16:54 +03:00
zeromus 95bc69b448 some prepwork for opengl texture ID importing (skip rendertarget resolve on OGL display method) but there are still problems and it can't be enabled yet 2016-02-22 00:23:20 -06:00
zeromus 0eb6e83384 glcontexts can specify versions and clean themselves up 2016-02-21 17:19:34 -06:00
adelikat c9387221a0 GPGX tracer - Trim() registers 2016-02-21 18:03:11 -05:00
adelikat 691c95c861 GPGX.ITraceable - remove some now irrelevant comments 2016-02-21 17:44:27 -05:00
adelikat f5e679fa0d Refactor ITraceable to work on TraceInfo objects that separate Disassembly and Register information. Make Tracelogger two columns. 2016-02-21 17:34:42 -05:00
feos 0cba536348 tracer: compromise pending 2016-02-21 22:49:01 +03:00
adelikat 47ac3d79bd GPGX tracing - a more reasonable spacing between disassembly and register values 2016-02-21 14:10:12 -05:00
nattthebear c77de0e8af stuff 2016-02-21 14:00:11 -05:00
adelikat 61c50e1d7c GPGX - clean up trace log entries 2016-02-21 13:36:55 -05:00
feos 66dea10b0b tracer: print prettily for gpgx.
todo: fix its regs that start with ffffffff, fix failing to print to window.
2016-02-21 20:34:56 +03:00
adelikat 553545f268 GPGX Tracer - add some dependencies, this is sloppy, will clean up later 2016-02-21 11:55:16 -05:00
adelikat 4137da7e22 GPGX - make M68K Bus always the system bus 2016-02-21 11:15:13 -05:00
adelikat e5b6921c7d GPGX - trace logging support, the output is very bad, needs to be cleaned up 2016-02-21 11:13:27 -05:00
adelikat e9d4a4448e GPGX - Break up services into separate files 2016-02-21 09:08:41 -05:00