adelikat
97d7dd7f42
merging master into waterbox2 this one was messy may be regressions
2017-06-13 08:16:25 -05:00
adelikat
8c40d2908c
bnes - remove the force determinism setting (hack) since it is no longer relevant
2017-06-12 21:03:11 -05:00
adelikat
9eb2fcc34c
bsnes - remove profile sync setting and related code
2017-06-12 20:56:34 -05:00
zeromus
6db010e384
add 'crop SGB frame' option; fixes #871
2017-06-11 18:20:55 -05:00
nattthebear
edbe83bc13
libsnes: savestate uncompressed size 14MB=>10MB (for a game with nothing special)
2017-06-11 15:30:54 -04:00
nattthebear
8cf1e43e70
libsnes: move tile cache out of savestates. saves like 400kB. meh.
2017-06-11 11:28:29 -04:00
nattthebear
a6e4b87f36
comments
2017-06-11 07:50:41 -04:00
nattthebear
fa9dcfae35
waterbox: When compiled in debug mode, forcibly evict self at every opportunity. This can be used to catch bugs using pointers past their valid time. Catch and fix two such bugs in the libsnes wrapper.
2017-06-11 07:47:16 -04:00
nattthebear
91e239e11f
use the ancient zen art of copy paste to give libsnes the same aspect ratio fix that snes9x has.
2017-06-11 07:15:51 -04:00
nattthebear
67ff767f95
libsnes: recreate the emu cothread at the end of init, to avoid pointer poison that was breaking xor state consistency. Big todo: all init functionality really needs to happen from the main thread, as there are many syscalls that reenter managed in that code, and reentering managed from a cothread stack is a Bad Thing
2017-06-10 19:51:59 -04:00
nattthebear
ba7543c19a
snes waterbox: fix a leaky pointer which was breaking xorstate integrity
2017-06-10 17:19:18 -04:00
nattthebear
baf7a7973b
snes: do some more savestate prep, including removing the unused cheat system, which cost sixteen megidobites of ram
2017-06-10 15:53:38 -04:00
nattthebear
fcbb85a579
snes: move some stuff to sealed_heap
2017-06-10 15:20:06 -04:00
nattthebear
9ffa44d0a6
snes: waterbox is now working
2017-06-10 14:16:25 -04:00
nattthebear
36be9e9fc7
snes: waterboxification phase 2
2017-06-10 14:16:25 -04:00
nattthebear
9975a05695
snes: waterboxification phase 1
2017-06-10 14:16:24 -04:00
adelikat
0c9925a369
bsnes - default to compatibility profile
2017-06-04 13:29:47 -05:00
adelikat
5f1b8cdc09
SNES - fix frame 0 loadstating
2017-05-27 10:21:14 -05:00
adelikat
12a4ec1ac7
SNES - only register the trace logger on compatibility profile
2017-05-27 09:54:53 -05:00
zeromus
5b44f0960f
snes: support trace logging GB and SMP cores (C# side and dlls)
2017-05-14 13:51:02 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
zeromus
c641e163f9
SGB CDL c# side; and fix SGB loading (broken by pwrap refactors)
2017-05-06 16:23:26 -05: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
J.D. Purcell
8b2b12585a
Mostly whitespace cleanup to reduce difference with mono-portable branch.
2017-05-02 23:09:50 -04: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
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
nattthebear
5bebd0685a
snes: add a toggle multitap button
2017-04-22 17:08:33 -04:00
adelikat
d14b2abd17
Revert "now no one gets to have any fun"
...
This reverts commit e199dfda0d
.
2017-04-22 15:14:20 -05:00
nattthebear
e199dfda0d
now no one gets to have any fun
2017-04-22 16:04:39 -04:00
nattthebear
12b4be4fbc
justifier
2017-04-22 10:41:45 -04:00
adelikat
242b0e09ab
SNES - support the Justifier, because why not
2017-04-22 08:55:39 -05:00
adelikat
62ed1b5b73
snes - change x,y button names to something less vauge
2017-04-20 21:05:11 -05:00
nattthebear
a46acca981
It's like archaeology. We're the first ones to use this ancient Mayan super scope code
2017-04-20 21:29:58 -04:00
adelikat
99d70a1c7f
SNES - super scope support
2017-04-20 19:50:58 -05:00
adelikat
27e7edcaf1
SNES - add a "Limit mouse speed" options on by default, to make controls a sueable for casual playing and a config option to turn it off
2017-04-19 20:30:54 -05:00
J.D. Purcell
3d6b1da94d
Whitespace only (indentation fixes/cleanup).
2017-04-19 20:34:30 -04:00
adelikat
3f866f6d7f
Rename SnesSaveController to SaveController and move it to Emulation.Common since it is used by multiple cores and is general in design
2017-04-19 12:44:02 -05:00
adelikat
ee5d35bb34
Libsnescore reformat round 3
2017-04-19 12:33:05 -05:00
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
adelikat
5bcdfb5991
IInputPollable - remove the set on LagCount as it is not needed
2015-06-11 01:23:14 +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
966edb10ab
add 65816 disassembler.. not tested very well tho
2015-01-26 00:20:01 +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
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