Ben Vanik
51d0be0f0a
Basic DCE pass.
2013-12-07 02:18:26 -08:00
Ben Vanik
c2113c116d
Starting compiler work. Adding pass TODOs.
2013-12-07 01:36:13 -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
68b8737a58
SETXXv, CNDXXv, SETXXs - may not be right.
2013-11-17 15:20:50 -08:00
Ben Vanik
1f4795e7d4
Fixing shader file names.
2013-11-17 15:20:28 -08:00
Ben Vanik
9441fb8b7a
Finally figured out MUL/ADD/SUB_CONST_*
2013-11-16 18:27:17 -08:00
Ben Vanik
1592cf96f7
MAX4v, MINs, MAXs
2013-11-16 16:59:33 -08:00
Ben Vanik
798cad6f87
DOT2ADDv
2013-11-16 16:15:23 -08:00
Ben Vanik
59779e735d
Fix input error return.
2013-11-16 07:15:15 -08:00
Ben Vanik
1e86736853
vaddfp and vrfin
2013-11-16 06:58:50 -08:00
Ben Vanik
8398ea4925
I lied, MULADD was not that way.
2013-11-16 05:16:11 -08:00
Ben Vanik
60f48bdd32
Always write oPos.
2013-11-16 04:39:26 -08:00
Ben Vanik
7491058ffd
Adding --dump_shaders=path/.
2013-11-16 04:39:16 -08:00
Ben Vanik
8440c9059a
Fixing order of MULADDv.
2013-11-16 04:35:08 -08:00
Ben Vanik
271abbf874
Adding --trace_ring_buffer.
2013-11-16 03:06:55 -08:00
Ben Vanik
96c27b3b51
Fixing stack alignment in release mode.
2013-11-16 02:52:33 -08:00
Ben Vanik
7a2032b693
Renaming X_RESULT to be consistent.
2013-11-01 16:23:41 -07:00
Ben Vanik
06d9f7989a
Removing signature from export tables.
2013-11-01 16:23:40 -07:00
gibbed
f7b7b0708b
Argh.
2013-10-27 18:45:19 -07:00
gibbed
faa67028ce
Mystery GPU registers.
2013-10-27 18:44:20 -07:00
gibbed
8306be77b0
Fixed constant tracking through mr.
2013-10-27 18:44:20 -07:00
Ben Vanik
2de906f3d6
Hacking around with shaders. Pretty sure this is all wrong.
2013-10-27 18:33:50 -07:00
Ben Vanik
0355047838
PM4_LOAD_ALU_CONSTANT
2013-10-27 16:18:54 -07:00
Ben Vanik
7d6dda356c
Clear all allocated memory.
2013-10-27 16:01:35 -07:00
Ben Vanik
74ff6bd4fa
Finally figured out the ringbufer corruption.
2013-10-27 16:00:51 -07:00
Ben Vanik
11f99ce33b
Obeying request to zero.
2013-10-27 12:47:00 -07:00
Ben Vanik
6477d6c21e
--scribble_heap, which memsets all allocated memory.
...
Already exposing bugs.
2013-10-27 12:06:02 -07:00
Ben Vanik
082df81f70
Slowing down the audio system until it does something.
2013-10-27 12:05:17 -07:00
Ben Vanik
692e14665c
Tie FPR/VR tracing to --trace_registers
2013-10-25 23:32:11 -07:00
Ben Vanik
3b7fcced0e
Fixing broken error check and adding some manual breakpoints.
2013-10-23 23:48:18 -07:00
Ben Vanik
655a486db3
NtResumeThread
2013-10-23 23:32:44 -07:00
Ben Vanik
ebef2aef36
Adding audio stub methods.
2013-10-23 23:09:16 -07:00
Ben Vanik
ca22980dc0
XInput polling.
2013-10-23 22:42:48 -07:00
Ben Vanik
96daa6b43f
Validate arguments on input.
2013-10-23 22:23:52 -07:00
Ben Vanik
c4fe2e6926
Input bouncing through to input system.
2013-10-23 22:13:05 -07:00
Ben Vanik
74803ae174
HID system skeleton.
2013-10-23 21:47:36 -07:00
Ben Vanik
20bd15e7fe
Partially fixing import logging. Still not sure why vars aren't showing.
2013-10-23 21:11:13 -07:00
Ben Vanik
93e4b70133
Stubbing input a little better.
2013-10-23 21:10:41 -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
c996a4bbaf
Stubs for more XAM functions.
2013-10-23 00:05:50 -07:00
Ben Vanik
60ef171ff2
XNetStartup/WSAStartup stubs.
2013-10-22 23:46:42 -07:00
Ben Vanik
447ce90b7b
MmQueryAddressProtect.
2013-10-22 23:34:24 -07:00
Ben Vanik
2a8a19e4be
KeDelayExecutionThread.
2013-10-22 23:22:30 -07:00
Ben Vanik
d9a55a5557
Zero memory on alloc.
2013-10-22 21:50:10 -07:00
Ben Vanik
d065ee43e8
PM4_SET_CONSTANT for registers.
2013-10-22 21:32:04 -07:00
Ben Vanik
157cfd4d71
Moving all physical allocs to A..., as games do stupid stuff when at E.
2013-10-22 21:06:12 -07:00
Ben Vanik
62d4d5ce84
Randomly messing with address translation. Still not right.
2013-10-22 21:05:56 -07:00
Ben Vanik
d4e19eb583
Certain games seem to do GPU writeback here.
2013-10-22 21:05:32 -07:00
Ben Vanik
e0b6d0f689
Cleaning up packet reading/endianness.
2013-10-22 20:47:27 -07:00