Commit Graph

70 Commits

Author SHA1 Message Date
Sappharad ee84e5981c Merge remote-tracking branch 'origin/1.x' into mono-portable
# Conflicts:
#	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
#	libmupen64plus/mupen64plus-win32-deps
#	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2019-10-03 21:33:28 -05:00
feos 71cb2f9caa bsnes: use hdot instead of hcounter in regs output
see #1183
2018-05-06 23:23:56 +03:00
feos 51b2843fed bsnes: send vcounter and hcounter among registers 2018-04-23 21:04:46 +03:00
Sappharad 5573409fad Merge branch 'master' into mono-portable
# Conflicts:
#	BizHawk.Client.Common/Extensions.cs
#	BizHawk.Client.Common/movie/bk2/Bk2Movie.IO.cs
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/MainForm.Events.cs
#	BizHawk.Client.EmuHawk/MainForm.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs
#	BizHawk.Emulation.Cores/Consoles/Sega/Saturn/Yabause.cs
#	BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.cs
#	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2017-05-23 20:32:48 -05:00
zeromus 4eaf17c6c1 snes: support trace logging GB and SMP cores 2017-05-14 13:50:28 -05:00
Sappharad 7f5aa0ae77 Merge branch 'master' into mono-portable
Conflicts:
	.gitignore
	BizHawk.Client.Common/PathManager.cs
	BizHawk.Client.Common/lua/LuaSandbox.cs
	BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs
	BizHawk.Client.EmuHawk/AVOut/SynclessRecordingTools.cs
	BizHawk.Client.EmuHawk/CustomControls/VirtualListView.cs
	BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs
	BizHawk.Client.EmuHawk/GLManager.cs
	BizHawk.Client.EmuHawk/Program.cs
	BizHawk.Client.EmuHawk/movie/EditSubtitlesForm.cs
	BizHawk.Client.EmuHawk/movie/PlayMovie.cs
	BizHawk.Emulation.Common/Sound/Utilities/SpeexResampler.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_CMD.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs
	BizHawk.Emulation.Cores/Consoles/Sony/PSX/Octoshock.ITraceable.cs
	BizHawk.Emulation.Cores/LibretroOld/LibRetro.cs
	Version/VersionInfo.cs
	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2017-05-02 20:38:56 -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 23fb06a0cd c++ side setup for setting any devices on snes input ports 2017-04-09 16:45:05 -05:00
Sappharad 145dd8d1c3 Merge branch 'master' into mono-portable
Conflicts:
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2017-03-15 18:02:46 -05:00
zeromus b7baea2a8e snes c++ cleanup 2017-03-15 17:49:19 -05:00
Sappharad 740f69b8db Another failed attempt at SNES support on macOS. Crashes in snes_load_cartridge_normal, I believe Mono doesn’t actually support cross-process MemoryMappedFiles, so this is dead again. 2017-03-14 22:03:38 -05:00
Sappharad ecd9800968 Merge branch 'master' into mono-portable
Conflicts:
	BizHawk.Client.DiscoHawk/DiscoHawk.cs
	BizHawk.Client.EmuHawk/Extensions/ControlExtensions.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs
	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2017-03-14 20:36:35 -05:00
zeromus a8aef42038 tidy 2017-03-08 15:57:00 -06: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
Sappharad 3cf4d3464d Merge branch 'master' into mono-portable
Conflicts:
	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs
	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2016-08-23 21:21:57 -05: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
Sappharad c09be83fcc LibSNES WIP. Code changes are in place, but I've got some linking errors that I need to figure out tomorrow. 2015-12-22 23:03:18 -06:00
Sappharad d2a6542c6e Merge branch 'master' into mono-portable
Conflicts:
	.gitignore
	BizHawk.Client.EmuHawk/AVOut/FFmpegWriter.cs
	BizHawk.Client.EmuHawk/DisplayManager/DisplayManager.cs
	BizHawk.Client.EmuHawk/Extensions/ControlExtensions.cs
	BizHawk.Client.EmuHawk/GLManager.cs
	BizHawk.Client.EmuHawk/MainForm.cs
	BizHawk.Client.EmuHawk/tools/PCE/PCECDL.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi.cs
	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.cs
	libsnes/bsnes/target-libsnes/libsnes.cpp
	libsnes/bsnes/target-libsnes/libsnes_pwrap.cpp
2015-12-21 21:58:13 -06:00
zeromus 8d955a8703 fix snes gfx debugger scanline CB 2015-11-15 18:04: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
Sappharad ac6ea28516 Added Xcode project for LibSNES. It compiles, but some of the changes are probably not correct. Unable to test at the moment, due to an OS issue I need to fix. 2015-07-14 22:07:45 -05:00
zeromus 2f21d4e506 bsnes - use msvc struct packing in one place where needed 2015-06-18 03:08:34 +00:00
jdpurcell a13d74af14 Flip around one of the 'if' statements. Changes the output enough to avoid false positives with some virus scanners. 2015-03-08 18:56:14 +00:00
jdpurcell 2f5a7543ca Add Yield/SwitchToThread in SNES IPCRingBuffer. Improves performance on Core 2 Duo, about the same on i5, and will prevent it from going < 1 fps on a single core machine :). 2015-02-04 04:31:41 +00:00
zeromus 5d754cf507 change how snes firmware chips survive loadstating, so that loadstate/rewind matches performance from builds earlier in 2014. still kind of slow, but basically OK. 2014-09-02 05:01:51 +00:00
zeromus 237045fde2 add watchdog timer to bsnes process to make sure they dont accumulate when the frontend terminates oddly 2014-06-17 22:03:08 +00:00
zeromus 52bceeeee5 update libsnes exes 2014-05-23 19:27:27 +00:00
zeromus e9522af326 preliminary work on accuracy core in sneshawk. it's building and usable, but savestates are utterly trashed. 2014-05-18 05:13:54 +00:00
zeromus 8193e0b281 snes-repair BG layer toggling 2014-02-09 22:52:09 +00:00
zeromus cc73af76bd snes-make CARTROM memorydomain actually edit bsnes's sense of the cartrom, instead of the rom[] array that the core now pointlessly holds onto 2014-01-29 21:59:06 +00:00
zeromus 50ef1b19f5 snes-fix bugs caused by breakpoints leaving emulator state unstable (most noticeable when taking savestates) 2013-12-29 02:20:13 +00:00
zeromus 492a99694f fix snes savestates? 2013-11-25 20:51:26 +00:00
zeromus 4c247672fe snes hooking system and GetCpuFlagsAndRegisters now work normally 2013-11-22 09:33:56 +00:00
zeromus 7a260abb54 update libsnes building for new output directory, and add support for exec/read/write/nmi/irq hooks 2013-11-03 22:44:49 +00:00
zeromus 513ceba3d2 fix up SGB memorydomains 2013-08-26 07:17:47 +00:00
zeromus df99f36464 support bsnes xml files and super road blaster MSU-1 game 2013-04-24 22:09:11 +00:00
zeromus 9a778a55fe snes-add a bunch of complicated libsnes communication code. not sure whether it helps. need to gather data. 2012-12-27 07:59:19 +00:00
zeromus c9b662d7ea snes-support 64bit bsnes builds. this isnt tested yet since i dont have a 64bit system atm, but most of the infrastructure is there 2012-12-26 20:25:06 +00:00
zeromus 8a69a4ebe0 switch snes core back to external process. more refined this time. support use of performance core. 2012-12-25 20:36:04 +00:00
goyuken 3cc475a64f reverse merge r4180, r4181, r4189 2012-12-23 16:30:00 +00:00
zeromus 8d7da30681 snes-refactor bsnes bindings to work via external process. should solve all stability problems. there is much sloppy transitionary code still in this commit; we need to smoke out any killer issues with this approach before committing too heavily. speed is close enough to last release, and can still be improved. 2012-12-21 07:23:55 +00:00
zeromus aaf06d76d3 snesgfxdebugger-add BG scroll regs 2012-12-03 18:59:08 +00:00
goyuken e24d1efbd4 snes: cpu tracelogging. <1% extra overhead incurred when the tracer is not active. 2012-12-03 01:48:18 +00:00
zeromus 2c3a6e7818 libsnes-as if the previous commits problems werent terrible enough, I had forgotten to memzero the ppu/cpu/dsp/smp components. at least tonights exercise vindicated the necessity of those memzeroings, which is not a concept bsnes ever had. 2012-12-01 08:32:50 +00:00
zeromus db37a6f64f snes-reset the libsnes core (with whatever serious re-initialization logic we've currently written in libsnes) every time loadstate occurs; and add memsetting to that re-initialization logic, under the theory that if there is a savestate nondeterminism due to fundamental serialization bugs, at least loadstates will be deterministically buggy, decreasing the odds that anyone will ever notice them. of course, i would rather increase the odds that we'll notice them to 100%, so we can fix them, instead of just masking them. but i don't make the rules, i just stfu the nags 2012-12-01 06:21:53 +00:00
zeromus 0c58d62762 snesgfxdebugger-layer toggles, more information 2012-11-26 06:30:30 +00:00
zeromus 608ebc4a99 snesgfxdebugger-display OBJ tiles 2012-11-23 09:10:18 +00:00