Commit graph

5223 commits

Author SHA1 Message Date
James Benton
af3911d5cb Fix fmul copy pasta.
hi mum im famous
2015-10-07 18:15:56 +01:00
James Benton
56c8cb7f79 Ignore trace fields for disassembler. 2015-10-07 17:35:17 +01:00
James Benton
c2b1013766 Add GX2RBuffer. 2015-10-07 17:35:16 +01:00
James Benton
f07e81bd84 Add support for gpu EXP instructions.
unique_ptr-ify some stuff.
2015-10-07 17:35:16 +01:00
James Benton
534c1fe87d Fix cores not waking on interrupt. 2015-10-07 17:29:04 +01:00
Brett Lawson
85f382d888 Added ability to perform a 'step over' when debugging. 2015-09-14 19:49:14 -04:00
Brett Lawson
5c839ed2a5 Implement Reserved instructions more correctly. 2015-09-14 10:23:19 -03:00
Brett Lawson
fc0c95bf98 Added some assertions to ensure StateField matches for DebugNet. 2015-09-10 19:44:28 -04:00
Brett Lawson
673ac7ef49 Added missing paired-singles instruction FPSCR flags. 2015-09-09 22:45:08 -04:00
Brett Lawson
d848008d8b Updated all FPR usage to reflect 128-bit FPRs. 2015-09-09 22:37:32 -04:00
James Benton
3011e7b7be Fix fsel.
Should not affect fpscr or fprf.
2015-09-10 01:58:24 +01:00
James Benton
537a4a1eeb Change the way floating point registers are stored. 2015-09-10 00:21:26 +01:00
Brett Lawson
779a0178c1 Improved the tracer's ability to determine register changes.
There is also a trace verifier which ensures that a trace will
be able to successfully recover the original state when moving
backwards in trace-time.
2015-09-08 22:51:59 -04:00
Brett Lawson
a9b2f096e7 Correct issue with mulli using the Rc field.
mulli does not have a Rc field in its instruction encoding.
2015-09-08 22:50:27 -04:00
Brett Lawson
84a2179d85 Improved tracing state tracking. 2015-09-09 12:39:06 -03:00
Brett Lawson
8c4af5e827 Started implementing tracing support to debugger. 2015-09-09 12:39:06 -03:00
James Benton
f8b73c9c62 Stub KPADGetMplsWorkSize, KPADSetMplsWorkArea 2015-09-05 17:37:13 +01:00
James Benton
279d36f415 Stub GX2Get{Vertex,Pixel}Shader{GPRS,StackEntries} 2015-09-05 17:22:31 +01:00
James Benton
3dcb6e3c47 Fix FSReadDir recursion for skipping . and .. 2015-09-05 17:22:10 +01:00
James Benton
8449498bf2 Remove accidental commited debug code. 2015-09-05 17:21:54 +01:00
James Benton
b149da1fda Add SYSGetSystemApplicationTitleId stub.
TODO: Find the real value to return.
2015-09-05 17:09:41 +01:00
James Benton
617418f1cc Ignore empty strings when splitting. 2015-09-05 17:09:40 +01:00
James Benton
f78d394868 Skip . and .. entries in read directory. 2015-09-05 17:09:40 +01:00
James Benton
d02734c5a7 Fix signed/unsigned compare warning. 2015-09-05 17:09:39 +01:00
James Benton
8efe68a1ca Rewrite of filesystem. 2015-09-05 17:09:20 +01:00
Brett Lawson
7f2caeffd3 Minor change to memory handling. 2015-09-03 22:56:07 -04:00
Brett Lawson
385dfefc0f Refactored field decoding to use a common field description file. 2015-09-03 22:32:43 -04:00
Brett Lawson
667ca68d12 Added stack and entrypoint data to DebugNet thread state. 2015-09-03 21:58:20 -04:00
Brett Lawson
dc992f713e Fix an issue where PPC code was writing past the end of the stack. 2015-09-03 19:00:14 -04:00
Brett Lawson
649b84cb0b Fix minor issue with alias disassembling. 2015-09-03 18:59:52 -04:00
Brett Lawson
63765c28b9 Added support for instruction aliases. 2015-09-03 17:41:10 -04:00
Brett Lawson
77627370e3 Improved symbol naming for debugger. 2015-09-03 17:40:51 -04:00
Brett Lawson
4427443b07 Added significantly more debugging support. 2015-09-03 00:01:48 -04:00
Brett Lawson
d6f7d838d5 Fix some minor issues with the debugging engine. 2015-09-01 20:52:47 -04:00
Brett Lawson
3a597eb2e0 Even more debugging stuff, and fix breakpoint nullptr bug. 2015-09-01 20:02:45 -04:00
Brett Lawson
238d1be899 Fix signed/unsigned conversion warning. 2015-09-01 20:02:20 -04:00
Brett Lawson
a5fd12b53c Moved debugger UI to its own repository.
https://github.com/brett19/wiiu-emu-dbg
2015-09-01 18:36:37 -04:00
Brett Lawson
b19b88c205 Added significantly more debugging stuff. 2015-09-02 11:24:37 -03:00
Brett Lawson
0318f55ac1 Added cereal serialization library. 2015-09-02 11:24:37 -03:00
James Benton
18e45d71c6 Implement SAVEGetSharedDataTitlePath. 2015-09-01 23:56:37 +01:00
Brett Lawson
c497b99113 Merge pull request #35 from Kinnay/patch-1
Fix folders not found bug
2015-08-31 12:21:18 -03:00
Yannik Marchand
236453712a Fix folders not found bug
For some reason, the file pointer is null if the folder doesn't exist, but it is not null if the folder exists, but the file doesn't. The previous fix for NSMBU made the functions crash if the folder doesn't exist.
2015-08-31 17:07:06 +02:00
James
714d87e32c Merge pull request #34 from Kinnay/patch-2
Fix file bug with good()
2015-08-30 12:46:19 +01:00
Yannik Marchand
2e7f5152fb Fix file bug with good() 2015-08-30 09:57:12 +02:00
Brett Lawson
2653d8bcf7 Added more debugger shenanigans.
Debug management now occurs on a seperate thread from
the cores, even in the case of a hit breakpoints.
2015-08-27 21:53:35 -04:00
Brett Lawson
0b76f7c7a1 Added the beginnings of debugger support. 2015-08-27 20:45:20 -04:00
Brett Lawson
e9a656cd66 Fix bug where NULL symbols in symtab cause a crash. 2015-08-26 22:50:39 -04:00
Brett Lawson
3727eff0ec Resolve GSH constness shenanigans. 2015-08-26 21:34:46 -04:00
Brett Lawson
b77375b19b Added starting implementation of nn_temp. 2015-08-26 21:17:10 -04:00
Brett Lawson
20545ab6a2 Fixed bug with psq_st, psq_stu, psq_l, psq_lu.
Thanks to @Kinnay for finding this.
2015-08-26 21:17:01 -04:00