Commit Graph

30 Commits

Author SHA1 Message Date
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 57ca86710b sameboy: SAVERAMS 2017-07-19 19:49:23 -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 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 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 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 7d0330bb9e snes9x - cleanup usage of the IMonitor semantics. This makes memory domains slower. 2017-05-28 13:12:48 -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 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 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
nattthebear fa24f5fc9d GPGX64 works with the new waterbox, or would if I pushed the binaries. Savestates are hosed; TBD 2017-05-20 18:50:01 -04:00
nattthebear a325969963 Work more on waterbox and convert GPGX64 to use the new PERunner. Doesn't work yet. 2017-05-20 17:18:31 -04:00
nattthebear 6053cd6e35 stuff 2017-05-20 12:24:15 -04:00
nattthebear 5c8efb51ba Add some Import related stuff to PeRunner. Build BizExvoker which will be used to import managed libraries as dependencies to PEs 2017-05-20 09:46:45 -04:00
nattthebear 3f8a89d171 waterbox: progress on a PERunner to load everyone's third favourite executable format 2017-05-19 21:21:50 -04:00