adelikat
cdcc1eabde
use inline out variables in Emulation.Cores
2020-02-18 15:10:29 -06:00
adelikat
606c3bf1c2
use more advanced language features in Emulation.Cores ( #1852 )
...
* Use expression bodies in Emulation.Cores, and a few other misc cleanups
* remove unused usings in Emulation.Common
* cleanups in Tables_Direct.cs
* some cleanups in nes boards - redundant code
* remove some redundant array initializers in Emulation.Cores
* cleanup AmstradCPC.Controllers
* use object initializers in a lot of places
* nes mappers - remove disch's notes comments in favor of the nesdev wiki link
* cleanup CdtConverter.cs, mostly use of object initializers
* remove redundant .ToString() calls in Emulation.Cores
* using var in Emulation.Cores
* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups
* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
YoshiRulz
c7801b8ce2
Move BizHawk.Common.BizInvoke namespace to separate project
2020-01-23 14:54:23 +10:00
YoshiRulz
4a5ece2076
Use ranges in MemoryBlock*
2020-01-03 23:35:07 +10:00
YoshiRulz
580aa2eaf9
Refactoring and cleanup of dynamic lib loading
...
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz
7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages
2019-12-21 18:21:51 +10:00
YoshiRulz
db020e499e
Extract superclass from MemoryBase and start on a Unix implementation
2019-10-19 15:20:31 +10:00
YoshiRulz
4dd40305bc
Merge branch 'master' into interp_cores
2019-06-15 02:11:24 +10:00
YoshiRulz
2642ef4049
Remove empty docs
2019-06-06 16:41:10 +10:00
YoshiRulz
9af93be0d3
Use string interpolation
2019-04-04 02:41:18 +10:00
James Groom
4e91f88af3
Use nameof in cores
2019-03-28 14:18:58 +11: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
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