Commit Graph

250 Commits

Author SHA1 Message Date
Ben Vanik
85dec3bf44 Fixing unused member and duplicate member. 2013-12-25 20:43:23 -08:00
Ben Vanik
5fef117aa0 Register display. 2013-12-25 20:14:41 -08:00
Ben Vanik
a1da55a006 Threads displayed. 2013-12-25 17:31:53 -08:00
Ben Vanik
d368e0cb74 Caching function list and only sending deltas. 2013-12-25 07:00:42 -08:00
Ben Vanik
44cbe1bbcf Finishing off module info for now. 2013-12-24 22:08:44 -08:00
Ben Vanik
dcd9f8b6ff Module info in json. 2013-12-24 17:25:29 -08:00
Ben Vanik
8a8ee5dadc Starting modal for module info. 2013-12-24 14:09:19 -08:00
Ben Vanik
98efc7ddfa Suspend/resume working. 2013-12-23 19:46:35 -08:00
Ben Vanik
475ddc1fcf Breakpoint hits reaching all the way to UI.
Nasty json only hackery right now, but fixable to support other protocols.
2013-12-23 14:01:13 -08:00
Ben Vanik
5e9a2c6d27 Client-specific debug state. 2013-12-22 19:58:00 -08:00
Ben Vanik
7098ed3b02 Plumbing breakpoints down into alloy Debugger interface. 2013-12-22 17:50:14 -08:00
Ben Vanik
e45a7afabc MakeReady behavior. 2013-12-22 16:48:50 -08:00
Ben Vanik
9208132ad9 Load map files and set function names. 2013-12-22 14:04:41 -08:00
Ben Vanik
d861ef8aab Prettier ppc disasm. 2013-12-22 13:06:15 -08:00
Ben Vanik
de6dc92663 Only generate debug info when in --debug mode (or asked). 2013-12-22 09:50:31 -08:00
Ben Vanik
c92142ca02 Displaying (unformatted) function code. 2013-12-22 09:25:44 -08:00
Ben Vanik
4ecdfed46f Function listing and selection. 2013-12-22 02:59:42 -08:00
Ben Vanik
a631ada0f7 Routing messages to debug targets. 2013-12-22 00:51:50 -08:00
Ben Vanik
f9cd87811d Some games seem to write to 0x0... damn. 2013-12-15 15:31:32 -08:00
Ben Vanik
9fdacebf2d Better handling of undefined imports. 2013-12-15 15:26:12 -08:00
Ben Vanik
2549292a57 Return address handling. Not happy with the design, but it (sorta) works. 2013-12-08 13:58:57 -08:00
Ben Vanik
e2e2a392ee Scanner now picks up restgprlr calls. 2013-12-08 11:26:43 -08:00
Ben Vanik
fdb6a5cfa3 Initial Alloy implementation.
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00
Ben Vanik
1e86736853 vaddfp and vrfin 2013-11-16 06:58:50 -08:00
Ben Vanik
96c27b3b51 Fixing stack alignment in release mode. 2013-11-16 02:52:33 -08:00
gibbed
f7b7b0708b Argh. 2013-10-27 18:45:19 -07:00
gibbed
8306be77b0 Fixed constant tracking through mr. 2013-10-27 18:44:20 -07:00
Ben Vanik
692e14665c Tie FPR/VR tracing to --trace_registers 2013-10-25 23:32:11 -07:00
Ben Vanik
6e60aef72f Special register check for lwbrx. Need a scalable way to do this. 2013-10-23 21:10:26 -07:00
Ben Vanik
b7ffd46319 Massive refactoring of all code + audio skeleton.
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00
Ben Vanik
d9a55a5557 Zero memory on alloc. 2013-10-22 21:50:10 -07:00
Ben Vanik
ca208fa60a Rewrote memory manager to use a bunch of mapped views. 2013-10-20 23:19:57 -07:00
Ben Vanik
42a8fc0b59 --break_on_instruction=0x... and --break_on_memory=0x... 2013-10-20 16:54:59 -07:00
Ben Vanik
737a567de6 Fixing code_addr_low_. 2013-10-19 22:31:08 -07:00
Ben Vanik
bdf5bf20a4 vminfp/vmaxfp 2013-10-19 21:26:40 -07:00
Ben Vanik
2cce46c232 vsel/vsel128 2013-10-19 21:20:27 -07:00
Ben Vanik
d62e8aaf78 lhbrx/lwbrx/ldbrx/sthbrx/stwbrx/stdbrx 2013-10-19 21:05:06 -07:00
Ben Vanik
d60cf676c3 addmex 2013-10-19 20:57:24 -07:00
Ben Vanik
5b91ba89e9 Fixing stdux/stdx o_o 2013-10-19 20:57:19 -07:00
Ben Vanik
7ae2d410e5 addex. All of these are wrong - let's hope we don't overflow. 2013-10-19 20:29:19 -07:00
Ben Vanik
4e6799197f fsqrtx/fsqrtsx 2013-10-19 20:25:03 -07:00
Ben Vanik
e842a6614a Fixing LR argument for indirect branches. 2013-10-19 19:59:09 -07:00
Ben Vanik
10c69cfaf2 rlwnmx 2013-10-19 19:07:26 -07:00
Ben Vanik
807b949fea Seeing code returning to the execution thunk, something must have broken. 2013-10-19 19:03:47 -07:00
Ben Vanik
4a72010e5f addcx 2013-10-19 19:03:30 -07:00
Ben Vanik
fc1be2bfd8 rldimix 2013-10-19 18:54:36 -07:00
Ben Vanik
14b1c860b9 subfmex/subfzex. 2013-10-19 18:33:32 -07:00
gibbed
49ee9d05b9 Fixed LR branching. 2013-10-19 17:09:48 -07:00
Ben Vanik
7b0ca71bfb Fixing broken test. 2013-10-19 17:08:34 -07:00
gibbed
f15b5dae9d I think this is right. 2013-10-19 15:07:59 -07:00