Commit Graph

97 Commits

Author SHA1 Message Date
zeromus b7baea2a8e snes c++ cleanup 2017-03-15 17:49:19 -05:00
zeromus ea7c12cee8 delete some old libsnes libco junk 2017-03-15 17:49:19 -05:00
zeromus f57262bba5 oops, snes dlls needed rebuilding 2017-03-08 16:08:36 -06: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
feos 1550860ad0 snes disasm spacing 2016-08-19 23:14:12 +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
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
zeromus 26ac8b347a fix libsnes dlls on windows xp 2015-12-16 14:34:30 -06:00
zeromus 8d955a8703 fix snes gfx debugger scanline CB 2015-11-15 18:04:42 -06:00
zeromus 3ba7340fca rebuild bsnes dlls without CRT dependency; tweak optimization flags; switch back to using original (probably faster) libco (it had been changed during the efforts to permit libco and managed threads to coexist vis a vis GC exception unwinding) 2015-11-13 15:27:50 -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 b7bf0b38cc bsnes - vs2015 can now be used to build 2015-06-18 03:09:08 +00:00
zeromus 2f21d4e506 bsnes - use msvc struct packing in one place where needed 2015-06-18 03:08:34 +00:00
zeromus 401aeda91c bsnes - fix a boatload of general portability problems 2015-06-18 03:07:00 +00:00
zeromus 3cf7041e68 bsnes/nall - fix bug in serializer copy constructor 2015-06-18 03:06:02 +00:00
zeromus 95a7062fad bsnes/nall - fix dangling references bug in stringify 2015-06-18 03:05:39 +00:00
zeromus 0d2830f616 bsnes - fix inexplicable errors with non-void functions returning nothing on some codepaths 2015-06-18 03:05:16 +00:00
zeromus 23dc607a1a bsnes/nall - nothing to see here 2015-06-18 03:02:48 +00:00
zeromus 4aa0813795 bsnes/nall - fix mysterious compile error 2015-06-18 03:02:36 +00:00
zeromus 0fcfcf3379 bsnes/nall - change some non-standard dynamic local arrays to slightly less non-standard alloca calls 2015-06-18 03:00:27 +00:00
zeromus 55549f7ae1 bsnes/nall - change some non-standard dynamic local arrays to slightly less non-standard alloca calls 2015-06-18 02:59:41 +00:00
zeromus e60cde3314 bsnes/nall - revise some constexpr to be more legal+portable 2015-06-18 02:58:59 +00:00
zeromus 5f5fcc4812 fix big memory leak in bsnes performance core loadstates 2015-06-15 13:18:46 +00:00
zeromus a06b7318c0 add vcxproj and patch for libsnes vs2015 support, for later use 2015-06-10 02:43:06 +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 5d0cfcac52 fix bsnes performance core lag counter; fixes issue #180 2014-09-14 01:33:09 +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
goyuken b2c0910376 zero - try this? 2013-04-21 19:00:22 +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 8a74e08dfa snes-fix savestate bug in performance core 2012-12-26 22:27:26 +00:00
zeromus 42e473b7a8 snes-fix dll deps in 64bit bsnes 2012-12-26 21:25:39 +00:00
zeromus b070984379 snes-add readme with 64bit build notes 2012-12-26 21:04:04 +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