Commit Graph

331 Commits

Author SHA1 Message Date
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
feos 63e7a07e0d debugger: return our own string format for genesis. 2016-02-21 16:04:39 +03:00
adelikat f59038fb90 GPGX - disassembler support 2016-02-20 09:35:34 -05:00
nattthebear e903273474 add "M68K BUS" and "S68K BUS" domains to gpgx core 2016-02-20 08:35:56 -05:00
scrimpeh ef1bc65ce6 IInputPollable - Make IsLagFrame settable 2016-01-26 11:34:42 +01:00
zeromus 802fb54fad gpgx - support up to 32MB roms (fix #543 probably) 2015-12-08 19:49:31 -06:00
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
zeromus 8497c25414 CDL - finish SMS memory maps, mostly 2015-11-01 10:44:36 -06:00
zeromus 642f965685 CDL - preliminary SMS support (only one mapper) 2015-10-30 00:00:57 -05:00
zeromus 70e0954f28 CDL - major refactor complete. muuuuch better. 2015-10-28 03:51:53 -05:00
zeromus 35b6d8c1d6 CDL - support GPGX. still need to make enable toggle, to win back speed 2015-10-27 16:31:43 -05:00
zeromus de85a6fdef gpgx - handle virtualwidth/virtualheight more modernly and add option to pad screen out to prevent window resizes 2015-09-17 16:49:30 -05:00
adelikat ba21484ddd add IRegionable as an emulator service to indicate NTSC vs PAL, etc. Refactor cores that conveyed this information to use this service, fixed cheaty reflection to grab this info to use the service instead, marked some cores as region not applicable where it made sense to me (I'm sure I'm wrong in some cases) 2015-08-05 20:12:09 -04:00
zeromus a0e623ef1b disc - some unneeded code cleanup 2015-07-18 23:53:12 -05:00
zeromus eab8d6ac19 fix saturn disc booting 2015-07-18 11:42:05 -05:00
nattthebear 5bae8df811 Fix Seger CD with disk system changes 2015-07-17 17:20:05 -04:00
zeromus a7ae3c0cfc Merge branch 'discsys'
Conflicts:
	BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj
	BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGXDynamic.cs
	libmupen64plus/mupen64plus-win32-deps
2015-07-11 14:01:44 -05:00
zeromus 691531421a more discsys reorg 2015-07-11 13:46:57 -05:00
zeromus cc31331bc0 refactor discstructure mightily 2015-07-11 13:46:55 -05:00
zeromus 6dcaa3ca04 apply major discsystem refactorings to emulator cores and client. lots of undone things, most notably generalized RawTOCEntries -> TOCRaw -> Structure synthesis outside of the individual format/api disc loaders. IOW there's no DiscStructure right now. Probably lots of bugs too. 2015-07-11 13:46:36 -05:00