Commit Graph

270 Commits

Author SHA1 Message Date
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
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
adelikat 0a6fb3dce2 remove the GPGX trace logger since it isn't wired up and we don't want it to display if it doesn't work 2015-07-05 09:13:44 -04:00
nattthebear 98ad258966 fix dll paths in GPGXDynamic.cs 2015-06-25 17:24:19 -04:00
zeromus f75b06ce75 dont use gpgxdynamic for genesis games til its done 2015-06-25 14:14:42 -05:00
nattthebear 77d3369d26 Some stuff for loading elves. Not yet all finished. 2015-06-23 21:35:34 -04:00
zeromus 80164c1fba import WIP discsys work from svn 2015-06-23 13:57:11 -05:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
goyuken adc3e96ca8 iemulator single instance attribute. to find out about: PSX, Apple2 2015-03-03 00:23:50 +00:00
adelikat 36f4eff0f6 add ByteSize to MemoryDomain with a default of 1, set it to not 1 on appropriate domains (I probably missed some, or got some wrong). Have RamSearch use that instead of SystemInfo, remove ByteSize from SystemInfo since it is no longer needed 2015-02-22 15:19:38 +00:00
adelikat 8c12c5cbff do read/writes in the z80 core itself, refactor sms and ti83 to not use them on their end of the callback, fixes sms only having read/write callbacks on a few mappers 2015-01-24 20:57:37 +00:00
adelikat cdd0716420 wire up memory execute callbacks to SMS and TI83 2015-01-24 20:36:36 +00:00
adelikat ac442130ae Refactor IMemoryDomains and MemoryDomains to have setters for MainMemory and SystemBus, so a core can customize instead of using a one size fits all assumption. Remove constructor that sets main memory and refactor accordingly 2015-01-24 16:02:28 +00:00
goyuken af451143bf a bit of memory domain cleanup 2015-01-21 17:36:22 +00:00
adelikat 872b7b3668 ditto for a file for Genesis.cs 2015-01-20 00:39:44 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +00:00
adelikat 2ae19abf70 Rename some files called Input.cs into SMS.Input, etc to be more informative and better match our naming standards 2015-01-16 02:01:27 +00:00
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
goyuken d2b0579609 yabause: clean up memory domains slightly 2015-01-13 21:46:28 +00:00
adelikat a23cac57d5 Yabause - break up emulator services into separate files 2015-01-13 19:55:36 +00:00
adelikat 10e56a4a4f Genesis.cs and Meteor.cs - remove IDebuggable from these since they aren't being used, and remove not implemented methods, left implemented ones, if we ever use these the IDebuggable designation can be easily added back 2015-01-13 19:30:50 +00:00
goyuken 98b12af680 sms: disassemble 2015-01-05 21:19:38 +00:00
adelikat 0f2197cec1 Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly 2014-12-23 01:58:12 +00:00
adelikat ffdeb618f7 IDebugable - add a CanStep() method, and implement it in all IDebuggable implementations 2014-12-20 13:29:57 +00:00
adelikat a8116297a0 Rename Register to RegisterValue 2014-12-20 13:16:15 +00:00
goyuken 0c1e3eaa3b gpgx: fix regs 2014-12-20 03:48:01 +00:00
adelikat 7bebb66589 IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize 2014-12-20 03:19:33 +00:00
goyuken f7cf7e1176 genesis, saturnus - dispose of CD 2014-12-19 21:53:43 +00:00
adelikat d08fb39cb8 Refactor IDebuggable StepInto/Over/Out methods into void Step(StepType type); 2014-12-15 22:19:10 +00:00
adelikat 725a8fb092 Add StepInto(), StepOver(), StepOut() to IDebuggable, have all cores implement it with unimplemented dummy functions 2014-12-14 18:58:16 +00:00
adelikat 9fc46f6764 mark cores that would not ever use IDriveLight, a bit silly, but it keeps the feature list clean and that's currently my only source of sanity with keeping up with what needs to be done 2014-12-12 01:58:12 +00:00
adelikat 08fb509a1a Add an IDriveLight Emulator service, and remove the CoreComm properties, and refactor accordingly 2014-12-12 01:49:54 +00:00
adelikat 2d1a43dc65 MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result 2014-12-07 18:53:56 +00:00
goyuken 92de864fab gpgx: cleanup 2014-12-05 02:31:36 +00:00
adelikat 0b84beec88 Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core 2014-12-05 01:56:45 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
zeromus 29b217b587 big discsystem refactors and preliminary CCD handling. not to be considered stable, but ill start supporting it. 2014-12-04 05:40:10 +00:00
adelikat d8a204572d Add an IServiceProvider interface and make it a property of IEmulator, the purpose of this provider is to provide IEmulatorServices upon request. Make BasicServiceProvider and have all cores use it for now. BasicServiceProvider will return the core itself if the core itself is the requested type. He will also be able to return nested types (code not finished). Wired this up to the HasSavestates extension method (a method that has minimal value now) as a proof of concept. 2014-12-04 03:38:30 +00:00
goyuken ef1ef251b6 gpgx: remove input todo 2014-12-04 03:31:26 +00:00
adelikat a07263c04e Move InputCallbackSystem from CoreComm to IInputPollable, and refactor all cores accordingly. Lua - OnInputPoll() - log to the user when attemping to add a callback of this type to a core that has not implemented input callbacks. Mark all unmanaged cores' implementations of the InputCallbackSystem as FeatureNotImpleented, won't have any effect on functionality, but will help us keep track of the fact that they still have a bit of work to do. Still todo: ActiveChanged event handler on the base implementation of IInputCallbackSystem 2014-12-04 00:43:12 +00:00
adelikat c7c038b7ca add more interfaces that got missed 2014-11-30 20:38:15 +00:00
adelikat a83d714c42 Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable 2014-11-30 20:29:30 +00:00
adelikat 76148ae111 Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc) 2014-11-30 16:42:58 +00:00
adelikat 865795049b Break off saveram methods from IEmulator into a separate ISaveRam interface. Remove the setter for SaveRamModified (every single core was throwing an error on this, and no client code was using it). Remove these methods from cores that don't actually implement this interface 2014-11-30 15:22:08 +00:00
adelikat 0e82fff3ff Clean out ClearSaveRam() calls since they are no longer used 2014-11-24 15:00:54 +00:00
adelikat 9c285e3e3a Put NotImplemented attribute on a bunch of things, and remove IMemoryDomains from a few cores that were implementing it but throwing a NotImplementedException 2014-11-24 01:17:05 +00:00
adelikat 1832894405 IDebuggable - GetCpuFlagsAndRegisters() - refactor to make it an IDictionary instead of Dictionary 2014-11-23 16:22:02 +00:00
goyuken dc2ca1f010 remove the extra ISettable (non-generic argument) interface and corresponding crud from cores, and replace with a shim class 2014-10-31 15:46:13 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
jlennox 10b6bed056 Add IDebuggable to relevant cores and remove non-implementations of GetCpuFlagsAndRegisters/SetCpuRegister 2014-10-18 22:30:06 +00:00
goyuken 9c30cea1dd fix issue 277 2014-10-07 22:20:17 +00:00
goyuken f9baa5e8e4 genesis: change initial frame 0 size of video display 2014-09-22 19:35:00 +00:00
goyuken 0d69b77507 issue 270 2014-09-22 14:24:11 +00:00
goyuken 489d69d20c genesis: make the vram memory domain properly invalidate the tile cache and the vdp viewer properly regenerate the tile cache. may or may not fix issue 265. 2014-09-19 23:56:08 +00:00
goyuken 184b4dcba9 change some cores to use filedata instead of romdata. NES handles headers internally, and others shouldn't ever have headers. 2014-09-12 15:39:04 +00:00
goyuken 93eb656eba gpgx: account for the fact that rom and ram are emulated with 16 bit swaps 2014-09-08 14:50:36 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
goyuken 79b741b869 sms: use standard message when bios is required but not supplied 2014-08-25 00:14:14 +00:00
goyuken 0e37b01a88 polish up r7867 slightly 2014-08-23 19:16:47 +00:00
goyuken 1d383a62cc romloader stuffs, nag me if it breaks anything, i don't think it breaks anything 2014-08-23 19:06:37 +00:00