Commit Graph

56 Commits

Author SHA1 Message Date
nattthebear 36a84bd0dd Fix savestate hash match issue with Saturnus 2017-08-13 17:21:00 -04:00
nattthebear d7032330f1 Remove console messages on swappable activate/deactivate, debugging cruft 2017-08-08 19:10:07 -04:00
nattthebear 06a369dbe2 PeRunner: Ignore writev iovecs with base == NULL. This seems to be what linux does and musl expects on fflush(). Fixes some saveram related stuff in sameboy 2017-07-25 17:02:59 -04:00
nattthebear 223902a2f8 tweak ECL_INVISIBLE a bit. Internal crap,. 2017-07-19 21:10:00 -04:00
nattthebear 57ca86710b sameboy: SAVERAMS 2017-07-19 19:49:23 -04:00
zeromus dce98db811 fix saturn PixelPro resolution management mode to reformat framebuffer to requirements, so it works like it's supposed to 2017-07-15 02:53:33 -05:00
nattthebear a6daf3cfb0 PeWrapper: Don't save a copy of executable images after loading is done. We don't need it anyway (only the base xorstate and the hash). Saves a few meggerbytes of rayums, depending on core 2017-07-11 18:48:56 -04:00
nattthebear 9ab8b50c82 waterbox: Allow special section attributes to put variables directly in sealed or invisible. This can be easier to use than the heaps for adapting some existing code 2017-07-11 18:46:25 -04:00
nattthebear 6406646893 waterbox: Use less rams and stuff 2017-07-03 14:44:14 -04:00
nattthebear bc9726f687 Waterbox: Connect basic stdio. You get an empty stdin, real stdout and stderr, and can present readonly files to the core. 2017-07-01 21:02:52 -04:00
nattthebear bdfb859480 pizza boy: add the required SPC file as an embedded resource because zeromus said to 2017-07-01 09:06:04 -04:00
nattthebear 203a0521b5 pizza: set up constructors right for SGB and GB 2017-06-28 22:19:20 -04:00
zeromus 3f45406d7d fix basic waterbox aspect ratio. yeah, all of them. should probably be finetuned per core later though. 2017-06-26 20:50:38 -05:00
nattthebear 7c5c3482e7 pizza: RTC, maybe 2017-06-25 09:19:32 -04:00
nattthebear 537b2a1616 pizza: saverams 2017-06-24 21:46:11 -04:00
nattthebear ed57f766ad Pizza: Savestates at ~600K in SGB mode 2017-06-24 11:05:59 -04:00
nattthebear b214b7eb55 we learned nothing from this 2017-06-21 19:11:50 -04:00
nattthebear a7f7583fcc waterbox: add space at the end of writable data pages, past what was allocated by the core but before the start of cpu enforced write protection, to savestates. theoretically fixes determinism issues from certain wild pointers 2017-06-20 20:56:17 -04:00
nattthebear 1292b27163 Add some draft work for supporting sysv <-> msabi interop. I wonder if we'll ever use this? I'd put it on a separate branch but it would be merge hell. 2017-06-18 08:51:09 -04:00
nattthebear 5a8fad73b9 saturnus: use waterboxcore 2017-06-17 15:30:03 -04:00
nattthebear c04beea4d0 update snes9x to use WaterboxCore 2017-06-17 12:57:43 -04:00
nattthebear 3e731ae0b3 Make ngp core use WaterboxCore infrastructure 2017-06-17 10:47:10 -04:00
nattthebear 6f60eb5efc Create an abstract base class for waterbox cores, and adapt Virtual Boyee to use it. Not sure yet how useful this is... 2017-06-17 10:07:02 -04:00
nattthebear 0d7116ef06 they must never know my secret... 2017-06-14 19:58:13 -04:00
nattthebear d7809d0f52 mapheap: fix some bugs that weren't exercised (nothing uses mremap right now) 2017-06-14 19:51:43 -04:00
nattthebear 19883585c6 rewrite MapHeap to be much easier for me to understand 2017-06-12 17:58:19 -04:00
nattthebear 626de2d7c8 waterbox: add guard pages to libco stacks 2017-06-11 20:10:37 -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 52a62af441 waterbox: support gzipped executables as well, and gzip ss.wbx 2017-06-10 20:54:21 -04:00
nattthebear dde953d612 fix a libco issue that was breaking xorstate consistency 2017-06-10 18:20:58 -04:00
nattthebear 0bcdeee1e7 fix some bugs in MapHeap that were breaking libsnes savestates 2017-06-10 16:57:57 -04:00
nattthebear 1db95efa72 Change the exception message for certain waterbox loadstate failures to indicate possible differences in app version / rom / syncsettings as the culprit 2017-06-06 20:05:30 -04:00
nattthebear b9ab41a4da More like Chie SatURNaka 2017-06-04 16:41:11 -04:00
nattthebear 3a4de4a6ca some prelim roughin for dual ngp 2017-06-01 18:19:30 -04:00
nattthebear d799624e9c NGP: It works and stuff 2017-05-30 18:36:11 -04:00
nattthebear 2887ba5823 savestates for vb. this includes savestates for mmap_heap. unfortunately, usage of mmap_heap was scrapped as the things going into it were better suited for invisible/sealed. it may be eventually useful 2017-05-29 11:26:38 -04:00
nattthebear 855ff7deca Start working on a primitive mmap implementation. It's good enough for VirtualBoyee to boot, but undoubtedly has many bugs. 2017-05-28 22:18:01 -04:00
nattthebear 7f2e06b0b5 clean things up and make gpgx fully (?) multi-instance correct 2017-05-28 13:46:08 -04:00
nattthebear 7d0330bb9e snes9x - cleanup usage of the IMonitor semantics. This makes memory domains slower. 2017-05-28 13:12:48 -04:00
nattthebear 763ee5c424 Disable the hash-perf feature of __pthread_key_create. Since it chose a starting hash based off of stack address, it was nondeterministic. 2017-05-28 11:58:08 -04:00
nattthebear 0cc1abd51b snes9x: savestates 2017-05-28 06:39:11 -04:00
nattthebear ef8264a8b0 waterbox: Add special handling for imports in XorStates. Fix a few other instances where managed pointers were leaking out into XorStates 2017-05-27 20:38:28 -04:00
nattthebear 10d47d1ea8 waterbox: Refactor PeWrapper a bit to not parse the native section headers every time it needs them 2017-05-27 18:52:18 -04:00
nattthebear 37dc9908d0 Waterbox: Add XOR based savestates for GPGX64 2017-05-27 16:18:38 -04:00
nattthebear 3a4b6601d9 move pewrapper into its own file 2017-05-27 14:55:21 -04:00
nattthebear b737959d11 snes9xHawk which is totally not a thing: connect audio 2017-05-27 14:32:12 -04:00
nattthebear 2665510502 Add enough changes so that snes9x now boots. This includes stubs for a bunch of syscalls, a few mmglue changes, and C++ global constructor support 2017-05-27 12:29:05 -04:00
nattthebear 1fe77d7f32 gpgx: fix video size after loading a frame 0 savestate. misc cleanup 2017-05-21 09:27:29 -04:00
nattthebear 10cfab4710 Waterbox savestate changes - genesis should be mostly working now (?) 2017-05-20 21:09:29 -04:00
nattthebear b1ff4fbff8 More waterbox savestate stuff 2017-05-20 20:55:55 -04:00