adelikat
|
01019686cf
|
lua - convert memory libraries to use service injection
|
2015-01-01 20:19:20 +00:00 |
adelikat
|
04f9081943
|
in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow
|
2014-12-05 00:32:29 +00:00 |
adelikat
|
d003be9cda
|
remove some todos, I decided not to do any of them, it is too pedantic to do them
|
2014-09-01 19:07:05 +00:00 |
adelikat
|
5ba74c631c
|
Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup
|
2014-09-01 18:43:41 +00:00 |
adelikat
|
9644c3d29f
|
Lua - memory library - populate the default memory with the MainMemory defined for that core, as opposed to null, which results in silent crashes
|
2014-07-14 16:24:28 +00:00 |
adelikat
|
0649d1c77e
|
Lua - add some more documentation, add a method that generates tasvideos wiki markup of the documentation and outputs to a file (method not wired to anything, there to save me tons of time when releasing)
|
2014-06-03 02:19:13 +00:00 |
adelikat
|
83ada011e8
|
Lua - Refactor how lua libraries are registered by searching assemblies and finding implementations and building a list of these
|
2014-06-01 22:02:59 +00:00 |
adelikat
|
667a96a277
|
Lua - combine common code in memory and mainmemory libraries into a base class, apply range checking to all methods, add memory.getsize() to match mainmemory method, fix a name bug in a memory 32bit method, clean up a bunch of things too
|
2014-05-23 23:19:20 +00:00 |
adelikat
|
17568997bf
|
Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code
|
2014-05-21 00:17:35 +00:00 |
adelikat
|
6401e6d719
|
Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties
|
2014-05-20 20:34:51 +00:00 |
adelikat
|
f19d15d1ed
|
Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it
|
2014-05-20 20:25:18 +00:00 |
adelikat
|
4ee4088c4c
|
read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash
|
2014-05-19 01:42:41 +00:00 |
adelikat
|
e1a5123dcf
|
implement memory.readbyterange() and memory.writebyterange(), these were in the mainmemory library but how did they manage to never be implemented in the memory library?
|
2014-05-19 01:13:26 +00:00 |
adelikat
|
059952f0a4
|
Change memory.getmemorydomainlist() to return a lua table instead of a string
|
2014-05-19 01:06:44 +00:00 |
adelikat
|
8cf1d327e3
|
Lua - Fix typo, memory.write_u8 instead of a duplicate memory.write_s8
|
2014-05-06 17:29:52 +00:00 |
adelikat
|
23f7017651
|
Some code cleanup tinkerings in Client.Common
|
2014-02-03 20:48:01 +00:00 |
adelikat
|
ce9f282d67
|
Lua - clean up a lot of params by making them strongly typed numbers instead of object, and simplify a lot of logic as a result
|
2014-01-27 01:15:56 +00:00 |
adelikat
|
70feebf229
|
Add documentation to as many lua function as I can sanely do in one sitting
|
2014-01-26 18:36:27 +00:00 |
adelikat
|
91fdad9d45
|
LUa - whack now unused code
|
2014-01-26 16:21:20 +00:00 |
adelikat
|
988ed03198
|
ditto for Memory library
|
2014-01-26 02:43:28 +00:00 |
adelikat
|
7482cfdc5e
|
a round of code cleanup in Client.Common
|
2013-12-30 01:58:44 +00:00 |
adelikat
|
be547db4a1
|
Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary
|
2013-11-04 02:11:40 +00:00 |
adelikat
|
9751fd5a1a
|
Move interfaces and base implemenations from emulation to emulation.common
|
2013-11-04 01:39:19 +00:00 |
adelikat
|
a8079f5170
|
port some lua libraries to client.common
|
2013-11-01 14:51:51 +00:00 |