Commit Graph

121 Commits

Author SHA1 Message Date
adelikat 58189f0113 LibsnesCore - Move ScanlineHookManager class to its own file 2017-04-19 12:25:22 -05:00
adelikat e3ae4b1410 LibsnesCore reformating round 2 - sort out private fields vs pulbic properties 2017-04-19 12:19:16 -05:00
adelikat 808d03155a Libsnescore - misc cleanups round 1 2017-04-19 11:40:41 -05:00
adelikat 7ebddc6087 LibsnesCore - break off memory domain stuff to a separate file 2017-04-19 10:51:16 -05:00
adelikat bc42af0fa6 Libsnescore - Break off IEmulator implementation into a separate file 2017-04-19 10:36:08 -05:00
adelikat 8e3c3dab5d Break off LibsnesCore services into separate files 2017-04-19 09:41:52 -05:00
adelikat d1d6c20749 break SNES settings code into its own file 2017-04-19 08:31:48 -05:00
zeromus f108673449 fix some embarrassing bugs in new snes interop. maybe biz will be more stable now. 2017-04-18 22:09:04 -05:00
zeromus 2e286317f2 tidy snes 2017-04-17 22:49:17 -05:00
adelikat 18017b5e23 SNES - better mouse button names 2017-04-17 16:32:09 -05:00
nattthebear 0393e9241b coreside, this is a short, so yeah... 2017-04-16 18:08:57 -04:00
adelikat 7571781f87 SNES - an attempt at mouse support 2017-04-16 16:39:21 -05:00
adelikat 13ca76f3f8 UI for changing SNES controller configurations 2017-04-15 20:34:32 -05:00
adelikat 5e177db320 Multitap button orders too 2017-04-15 20:34:31 -05:00
adelikat 2daa1b3d68 snes - some progress on controller configuration support - use controller deck for ControllerDefinition and hack in appropriate button orders 2017-04-15 20:34:30 -05:00
nattthebear 41f8875a4f more snes controller stuff 2017-04-15 18:27:04 -04:00
nattthebear 5b41b7260b some snes controller rough in 2017-04-15 15:40:34 -04:00
zeromus 23fb06a0cd c++ side setup for setting any devices on snes input ports 2017-04-09 16:45:05 -05:00
zeromus b4ad2f40d9 snes c# cleanup 2017-03-15 17:49:19 -05:00
zeromus 598e173d60 snes: tidy 2017-03-08 15:57:00 -06:00
zeromus 19b38bfd90 snes: fix CDL, trace logger 2017-03-06 05:32:09 -06:00
zeromus fbd7601b77 for evaluation:
overhaul snes core -- radically simplify IPC.

There were two goals
1. speedup (failed)
2. not break in the old way of becoming unstable when GC happens (uncertain)
3. lay framework for simplified libretro interface (success, provisional on #2)

the speedup failed, I think, because a slower libco is needed to coexist with .net. I think I will fix this be incorporating both libcos, one for bsnes internal use, and one for .net<->c++ switching
2017-03-06 05:21:35 -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 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 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -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
zeromus f11ae17cfb natt forgot to ever hook up SGB saveram, so I took care of it 2016-11-11 19:25:38 -06:00
feos 57b9ff875e snes: fix crash when advancing after tracer was disabled 2016-08-19 18:53:50 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
parasyte 620c74e56e bsnes: Fix disassembler with compatibility core
- The fake bus map has been extended to read mapped ROM space
2016-08-08 22:11:49 -07:00
MrCheeze ef3c816c2f Fix SNES trace logging to not lose information
Fixed the bug where if a tracelog line contains more than one "[", everything after the second [ will be mistakenly thrown out.
2016-07-27 19:54:48 -04:00
nattthebear 111648cf98 Break a bunch of memory domain stuff with pointless refactoring 2016-04-13 19:50:06 -04:00
zeromus ebad5a8137 remove console spew from snes core 2016-03-27 00:41:05 -05:00
nattthebear eb2ec58b1b Rough in some stuff for better oninputpoll in snes. Not hooked up in looah yet. The idea is that oninputpoll will get called with a core-specific int that signifies what happened.
For snes, we're looking at:
0 = latch goes low
1 = latch goes high
2 = left port strobed
3 = right port strobed
2016-02-29 21:22:30 -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
scrimpeh ef1bc65ce6 IInputPollable - Make IsLagFrame settable 2016-01-26 11:34:42 +01:00
feos c5526a1169 Fix #134 - Option to turn off "savestate every frame" for bsnes
Warning text: "Guarantee deterministic emulation by savestating every frame. Don't TAS without it! Only ~75% of runs sync without it, but speed boost is ~30%."
2015-12-20 11:58:11 +03:00
zeromus 8d955a8703 fix snes gfx debugger scanline CB 2015-11-15 18:04:42 -06:00
zeromus 0ff2a2eb49 fix crashy bugs in snes gfx debugger 2015-11-15 18:02:20 -06:00
zeromus c68fdc511b CDL - fix snes games with no cartram 2015-11-03 23:59:42 -06:00
zeromus f3626b9605 snes CDL 2015-11-03 23:45:57 -06:00
zeromus 817f4360d3 bsnes is a dll once more. this is experimental--it may not work well, so I need to gather data. But I think it might work fine. 2015-10-24 03:06:47 -05:00
zeromus baaa1c3ec2 use proper SNES PAR 2015-10-21 19:38:40 -05:00
zeromus 195197fb70 snes gfx debugger: fix crashes and malfunction in 16x16 tilemaps 2015-10-15 23:12:20 -05:00
zeromus 1e67943b99 snes - fix more bugs in interlaced handling 2015-09-23 20:48:07 -05:00
zeromus f42a585fee snes - handle interlaced modes differently 2015-09-23 20:28:46 -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
adelikat 3541c9e975 Make the lag counter settable, and expose this functionality in lua 2015-07-09 13:05:30 -04:00