Commit graph

5222 commits

Author SHA1 Message Date
James Benton
c0b2cdf101 RPL Loading is now done directly to memory, not to the default heap.
The default heap is now created from the leftover memory after the
game has loaded.
2015-07-03 16:08:11 +01:00
Brett Lawson
06c49e87b1 Cleaned up codetest output. 2015-07-03 11:00:45 -03:00
Brett Lawson
c3e2642a11 Added prepare method to JitManager to precompile a block. 2015-07-03 11:00:38 -03:00
Brett Lawson
b23e84f6f1 Make JitManager global and add clearCache method. 2015-07-03 10:36:50 -03:00
Brett Lawson
48a6f27a0b Made JIT flag-enabled. 2015-07-03 10:25:22 -03:00
James Benton
7eecec6281 Merge EntryInfo into UserModule 2015-07-03 14:16:26 +01:00
Brett Lawson
05b61eeaae Refactored code test system slightly. 2015-07-03 10:11:58 -03:00
James Benton
9e62fa89d6 Add docopt for command line parsing. 2015-07-03 00:42:35 +01:00
James Benton
7b49eff8b6 Renamde coreinit_membase to coreinit_memheap 2015-07-03 00:40:55 +01:00
James Benton
33c07511c2 Add a Visual Studio debugger visualiser 2015-07-02 22:59:12 +01:00
James Benton
a9b38d9145 Fix BigEndian p32 2015-07-02 22:58:33 +01:00
James Benton
fb4b90632f Implement MEMFindContainHeap.
This also adds the linked list of heaps.
2015-07-02 22:58:22 +01:00
James Benton
50831988b3 Add OSAllocFromSystem<Type>.
Cleanup a bunch of allocations!
2015-07-02 21:55:06 +01:00
James Benton
53904cfbc6 Cleanup MessageQueue to be a system object. 2015-07-02 21:54:13 +01:00
James Benton
b9ad1f3713 Implement MEMList functions 2015-07-02 21:18:51 +01:00
James Benton
4f4b43be64 Add the common heap header to FrameHeap and ExpandedHeap #2 2015-07-02 20:44:44 +01:00
James Benton
cb970256c0 Make CHECK_OFFSET use offsetof 2015-07-02 20:44:23 +01:00
Brett Lawson
443436ba2c Added new codetest. 2015-07-02 16:11:58 -03:00
Brett Lawson
78924cafe9 Added more JIT instructions. 2015-07-02 16:11:58 -03:00
Brett Lawson
24cca62357 Made tests run with both JIT enabled and disabled. 2015-07-02 16:11:58 -03:00
Brett Lawson
f5348ead48 Fix bug in codetest parser. 2015-07-02 16:11:58 -03:00
Brett Lawson
2468142edd Made JIT enabling run-time controllable. 2015-07-02 16:11:58 -03:00
James Benton
2cfc1f9caa Merge branch 'master' of github.com:exjam/wiiu-emu 2015-07-02 20:00:37 +01:00
James Benton
36d35058cf Rewrite heap managers to use game memory for management #2. 2015-07-02 20:00:27 +01:00
James Benton
7620017703 Relocate the entry point. 2015-07-02 19:55:46 +01:00
James Benton
935c23d05e Fix relocation address.
This would fail if the section got relocated.
2015-07-02 19:55:18 +01:00
Brett Lawson
dd71fa4ebd Fix JIT updateConditionFlags. 2015-07-02 15:26:25 -03:00
Brett Lawson
91c2e27a12 Temporary fix for log corruption due to system("PAUSE") 2015-07-02 15:11:23 -03:00
Brett Lawson
c0771ae20e Added better test state tracking. 2015-07-02 15:08:52 -03:00
Brett Lawson
1a0bd31395 Made code-test assembler check use PATH. 2015-07-02 13:14:08 -03:00
Brett Lawson
808bb0c0ca Made assembler path optional. 2015-07-02 13:00:01 -03:00
James Benton
de5c190066 Some refactoring. 2015-07-01 22:58:04 +01:00
James Benton
c0e635ca2a Fix gamepath 2015-07-01 22:47:17 +01:00
James Benton
6ef1068e2f Create a basic code unit test infrastructure #10. 2015-07-01 22:03:53 +01:00
Brett Lawson
e3c3ea2cf5 More JIT! 2015-07-01 15:12:17 -03:00
Brett Lawson
1e9213378d More JIT support! 2015-07-01 11:42:23 -03:00
Brett Lawson
1e0b832898 Added JitManager class to handle JIT generation and execution. 2015-06-30 23:02:18 -03:00
James Benton
42a0c0b89e Remove old file 2015-06-29 21:08:35 +01:00
James Benton
933cfbc131 Move .vcxproj to build/ folder, move code to src/
Cleanup libraries
Remove gdbstub and libovsocket
2015-06-29 20:37:34 +01:00
Brett Lawson
6007fe047e Added ASMJIT_EMBED definition to project. 2015-06-29 14:26:59 -03:00
Brett Lawson
d330fe3fd8 Added ASMJit to project configuration. 2015-06-29 12:49:14 -03:00
Brett Lawson
2054408046 Added ASMJit to submodules. 2015-06-29 12:38:14 -03:00
Brett Lawson
31f4628dac Fix zlib pointing to Release build in Debug mode. 2015-06-29 12:32:25 -03:00
James Benton
b258ea83da untranslate(nullptr) should return 0 2015-06-29 00:46:29 +01:00
James Benton
26a16f7413 Add OSYieldThread 2015-06-29 00:46:28 +01:00
James Benton
871a0f2ce9 Add GX2TempGetGPUVersion 2015-06-29 00:46:28 +01:00
James Benton
1c83d4ae59 Temporary size out in GX2CalcDepthBufferHiZInfo 2015-06-28 23:53:21 +01:00
James Benton
23fa5a7c01 Stub SAVEInitSaveDir 2015-06-28 21:08:19 +01:00
James Benton
cc26861fc4 Add 64bit return value sysfunc_result 2015-06-28 21:08:10 +01:00
James Benton
677a86af57 Add some be_val operators 2015-06-28 21:08:02 +01:00