Commit Graph

176 Commits

Author SHA1 Message Date
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
nattthebear e3fab1a4d5 cleaner 2017-05-02 18:15:33 -04: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 ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
Wyst3r 4c0bfd4764 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set.
Conflicts:
	BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64.IDebuggable.cs
2017-02-24 10:41:22 +03:00
feos 39c5aae61b Revert "Merge pull request #731 from Wyst3r/master"
This reverts commit 318abf691a, reversing
changes made to 5d4c8020c2.
2017-02-23 16:56:38 +03:00
Wyst3r d665bad4c5 Merge branch 'master' into master 2017-02-22 19:51:13 +01: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 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 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
Wyst3r 86b16a80d6 m64p: Use built-in debugger to avoid major slowdowns when breakpoints are set. 2016-11-19 12:02:39 +01:00
feos 9d4ba478ce n64: use traditional GPR names for debugger too 2016-11-03 20:01:22 +03:00
pjgat09 78942a8422 N64: Added cxd4 to the RSP options 2016-09-27 15:10:38 -04:00
pjgat09 32be471382 GLideN64: Changed UseNativeResolutionFactor to an int setting 2016-09-26 11:13:07 -04:00
pjgat09 7f24960ed8 M64p: String parameters can now be passed to the core. 2016-09-22 14:21:51 -04:00
pjgat09 59e43a25f9 GLideN64: Added settings to the plugin dialog. Removed some settings from the sync settings that we will not need. 2016-09-22 12:57:09 -04:00
pjgat09 a85da435f9 GLideN64: Added a sync settings, hooked up the dll, and added it to the video plugin list in the plugin dialog. Updated the submodule reference. 2016-09-22 08:46:49 -04:00
feos f08a0b3849 n64 tracer: disable for dynarec 2016-08-24 19:21:16 +03:00
feos 2d8a247bec m64p: fix spacing, add fgrs to tracer 2016-08-21 12:46:29 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 799afc6b0a n64: switch to regular tracer method
todo: same for gpgx
2016-08-14 20:35:05 +03:00
feos 45a83322a7 n64 tracer: mention regs in the header 2016-08-14 19:20:18 +03:00
feos 473b9e5f33 m64p tracer:
- shrink core's disasm string a bit
- nicely print registers (r0 and co-processors regs are dropped though)
- rebuild dll
2016-08-14 17:49:56 +03:00
feos d4c7175910 N64.ITraceable: log non-zero regs
still gigantic file for 1 frame

todo: implement internal tracer instead
2016-08-14 01:12:53 +03:00
zeromus 6d32112c9e fix gpgx, n64 trace loggers 2016-08-13 16:34:01 -05:00
feos 49176b28bd m64p: setup CallbackBasedTraceBuffer 2016-08-13 20:36:26 +03:00
feos d5ac190bdc m64p: don't freeze on breakpoint
debugger: indicate break hit
2016-08-13 16:26:10 +03:00
feos dc68b90cd0 m64p: exec breakpoint occurs, but freezes in HackyPinvokeWaitOne() 2016-08-12 00:35:52 +03:00
feos 80c90e7acc m64p: attempt to add execute callback
no memory callback seems to be working yet though
2016-08-11 21:58:09 +03:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
Isaac Miell aaba31a984 Clean up code that applies N64 core settings
Multiple handles to the core config section were being opened in some cases, this commit squishes the extra calls to m64pConfigOpenSection
2016-02-05 21:04:35 +10:30
scrimpeh ef1bc65ce6 IInputPollable - Make IsLagFrame settable 2016-01-26 11:34:42 +01: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
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00
adelikat 5bcdfb5991 IInputPollable - remove the set on LagCount as it is not needed 2015-06-11 01:23:14 +00:00
pjgat09 c2dd59aa3a N64: Move the dirty hack from LoadState to the constructor instead to avoid problems with states saved on frame 0. 2015-03-17 00:11:08 +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
zeromus 656c6e0585 i knew that was too good to be true 2015-02-02 22:00:43 +00:00
zeromus 88bb1f5c83 change n64 configuration of C buttons to be UP DOWN LEFT RIGHT. dont think this will cause any bugs, but who knows 2015-02-02 21:46:34 +00:00
adelikat 8246de14aa IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available 2015-01-25 22:14:58 +00:00
zeromus 8d340a7c19 fix n64 disasm pinvoke 2015-01-23 20:28:47 +00:00
adelikat 29b056b972 N64 - wire of a disassembler, doesn't look like it works correctly, but at least the plumbing is done 2015-01-23 19:52:26 +00:00
adelikat 27d30df0cf Rip out the MemoryDomain.Size hack, and fix up the hex editor. Hex editor now works for N64 System bus, but will very much fail as soon as we have a domain greater than 32 bits 2015-01-18 16:00:20 +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
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00