Commit graph

4506 commits

Author SHA1 Message Date
James Benton
d21a09f359 Fix formatting in add.s.
Now uses 3 spaces like source!
2015-07-04 11:46:16 +01:00
James Benton
d0b07d9232 Add a SEH for EXCEPTION_ACCESS_VIOLATION 0xc0000005.
Print PPC backtrace on invalid memory read.
2015-07-04 11:39:45 +01:00
James Benton
a6ecc2442f Create a simple instruction execution tracer. 2015-07-04 11:39:03 +01:00
James Benton
94f6cbaa5a Some padscore stubs. 2015-07-04 00:37:44 +01:00
James Benton
9cf58cb054 Stub exit(). 2015-07-04 00:37:43 +01:00
James Benton
06f63e0462 Implement FSGetStat. 2015-07-04 00:37:43 +01:00
James Benton
eda8af4c46 Add some ProcUI stubs. 2015-07-04 00:37:43 +01:00
James Benton
698c7c7740 MEMDumpHeap.
Only MEMiDumpExpandedHeap implemented so far.
2015-07-04 00:37:43 +01:00
James Benton
5b34817867 More GX2 stubs 2015-07-04 00:37:42 +01:00
Brett Lawson
d98fac0c17 Fix JIT cmpli bug. 2015-07-03 14:38:47 -03:00
Brett Lawson
af606fbd75 Print all errors before debug break in JIT debug mode. 2015-07-03 14:38:47 -03:00
Brett Lawson
bc0c3b00ce Fix jit debug comparison typo. 2015-07-03 14:38:47 -03:00
Brett Lawson
ae9d9d496c Implemented JIT debug mode.
JIT Debug Mode steps the interpreter and single-instruction
JIT together and compares that they affect the state identically.
2015-07-03 14:38:47 -03:00
Brett Lawson
f14b2b41c7 Refactored JitManager generation a bit. 2015-07-03 14:38:47 -03:00
Brett Lawson
08aa250c4a Fix typo in codetests. 2015-07-03 14:38:46 -03:00
Brett Lawson
1d698d4791 Fix some instructions. 2015-07-03 14:38:46 -03:00
James Benton
ac4a973d97 Fix codetests 2015-07-03 18:35:08 +01:00
James Benton
c179ec0358 Fix addic 2015-07-03 18:34:49 +01:00
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
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