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.
Ben Vanik
2013-12-06 22:57:16 -08:00
68b8737a58
SETXXv, CNDXXv, SETXXs - may not be right.
Ben Vanik
2013-11-17 15:20:50 -08:00
1f4795e7d4
Fixing shader file names.
Ben Vanik
2013-11-17 15:20:28 -08:00
9441fb8b7a
Finally figured out MUL/ADD/SUB_CONST_*
Ben Vanik
2013-11-16 18:27:17 -08:00
1592cf96f7
MAX4v, MINs, MAXs
Ben Vanik
2013-11-16 16:59:33 -08:00
798cad6f87
DOT2ADDv
Ben Vanik
2013-11-16 16:15:23 -08:00
59779e735d
Fix input error return.
Ben Vanik
2013-11-16 07:15:15 -08:00
1e86736853
vaddfp and vrfin
Ben Vanik
2013-11-16 06:58:50 -08:00
8398ea4925
I lied, MULADD was not that way.
Ben Vanik
2013-11-16 05:16:11 -08:00
60f48bdd32
Always write oPos.
Ben Vanik
2013-11-16 04:39:26 -08:00
7491058ffd
Adding --dump_shaders=path/.
Ben Vanik
2013-11-16 04:39:16 -08:00
8440c9059a
Fixing order of MULADDv.
Ben Vanik
2013-11-16 04:35:08 -08:00
271abbf874
Adding --trace_ring_buffer.
Ben Vanik
2013-11-16 03:06:55 -08:00
96c27b3b51
Fixing stack alignment in release mode.
Ben Vanik
2013-11-16 02:52:33 -08:00
a547a6e696
Known issues.
Ben Vanik
2013-11-16 02:07:21 -08:00
31243eb096
Switching debug/release to the canonical Debug/Release.
Ben Vanik
2013-11-16 01:58:42 -08:00
443e0308e7
Removing common.gypi.
Ben Vanik
2013-11-16 01:41:51 -08:00
6f4c01bdab
Update README.md
Ben Vanik
2013-11-16 01:39:06 -08:00
c4e734bceb
Removing binutils submodule for now. GNU's git server sucks.
Ben Vanik
2013-11-16 01:33:53 -08:00
495744238f
Update README.md
Ben Vanik
2013-11-16 01:29:25 -08:00
4714649d5f
Removing OSX/Linux info from docs for now.
Ben Vanik
2013-11-16 01:15:17 -08:00
7a2032b693
Renaming X_RESULT to be consistent.
Ben Vanik
2013-11-01 16:23:14 -07:00
06d9f7989a
Removing signature from export tables.
Ben Vanik
2013-11-01 15:13:08 -07:00
8306be77b0
Fixed constant tracking through mr.
gibbed
2013-10-27 18:43:43 -07:00
2de906f3d6
Hacking around with shaders. Pretty sure this is all wrong.
Ben Vanik
2013-10-27 18:33:50 -07:00
0355047838
PM4_LOAD_ALU_CONSTANT
Ben Vanik
2013-10-27 16:18:54 -07:00
7d6dda356c
Clear all allocated memory.
Ben Vanik
2013-10-27 16:01:35 -07:00
74ff6bd4fa
Finally figured out the ringbufer corruption.
Ben Vanik
2013-10-27 16:00:51 -07:00
11f99ce33b
Obeying request to zero.
Ben Vanik
2013-10-27 12:47:00 -07:00
6477d6c21e
--scribble_heap, which memsets all allocated memory. Already exposing bugs.
Ben Vanik
2013-10-27 12:06:02 -07:00
082df81f70
Slowing down the audio system until it does something.
Ben Vanik
2013-10-27 12:05:17 -07:00
692e14665c
Tie FPR/VR tracing to --trace_registers
Ben Vanik
2013-10-25 23:32:11 -07:00
127a605403
Latest ninja.
Ben Vanik
2013-10-24 21:30:29 -07:00
3b7fcced0e
Fixing broken error check and adding some manual breakpoints.
Ben Vanik
2013-10-23 23:48:18 -07:00
655a486db3
NtResumeThread
Ben Vanik
2013-10-23 23:32:44 -07:00
ebef2aef36
Adding audio stub methods.
Ben Vanik
2013-10-23 23:09:16 -07:00
ca22980dc0
XInput polling.
Ben Vanik
2013-10-23 22:42:48 -07:00
96daa6b43f
Validate arguments on input.
Ben Vanik
2013-10-23 22:23:52 -07:00
c4fe2e6926
Input bouncing through to input system.
Ben Vanik
2013-10-23 22:13:05 -07:00
74803ae174
HID system skeleton.
Ben Vanik
2013-10-23 21:47:36 -07:00
20bd15e7fe
Partially fixing import logging. Still not sure why vars aren't showing.
Ben Vanik
2013-10-23 21:11:13 -07:00
93e4b70133
Stubbing input a little better.
Ben Vanik
2013-10-23 21:10:41 -07:00
6e60aef72f
Special register check for lwbrx. Need a scalable way to do this.
Ben Vanik
2013-10-23 21:10:26 -07:00
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.
Ben Vanik
2013-10-23 20:42:24 -07:00
c996a4bbaf
Stubs for more XAM functions.
Ben Vanik
2013-10-23 00:05:50 -07:00
60ef171ff2
XNetStartup/WSAStartup stubs.
Ben Vanik
2013-10-22 23:46:42 -07:00
447ce90b7b
MmQueryAddressProtect.
Ben Vanik
2013-10-22 23:34:24 -07:00
2a8a19e4be
KeDelayExecutionThread.
Ben Vanik
2013-10-22 23:22:30 -07:00
d9a55a5557
Zero memory on alloc.
Ben Vanik
2013-10-22 21:50:10 -07:00
d065ee43e8
PM4_SET_CONSTANT for registers.
Ben Vanik
2013-10-22 21:32:04 -07:00
157cfd4d71
Moving all physical allocs to A..., as games do stupid stuff when at E.
Ben Vanik
2013-10-22 21:06:12 -07:00
62d4d5ce84
Randomly messing with address translation. Still not right.
Ben Vanik
2013-10-22 21:05:56 -07:00
d4e19eb583
Certain games seem to do GPU writeback here.
Ben Vanik
2013-10-22 21:05:32 -07:00
e0b6d0f689
Cleaning up packet reading/endianness.
Ben Vanik
2013-10-22 20:47:27 -07:00
725cde55d4
Moving the physical heap up a bit to avoid overwriting 0x0.
Ben Vanik
2013-10-21 23:56:16 -07:00
f676333ef0
Stub MmQueryAddressProtect - unimplemented.
Ben Vanik
2013-10-21 21:58:45 -07:00
f9dd0b0cb2
Allocate physical memory.
Ben Vanik
2013-10-21 19:28:25 -07:00
1fea07b6aa
Align physical allocations to page size.
Ben Vanik
2013-10-21 19:26:41 -07:00
aa3e8d0332
Allocating things in a physical heap. Super wasteful right now.
Ben Vanik
2013-10-21 00:57:48 -07:00
ea022c8dd3
That one byte is totally important.
gibbed
2013-10-21 00:39:39 -07:00
ca208fa60a
Rewrote memory manager to use a bunch of mapped views.
Ben Vanik
2013-10-20 23:19:57 -07:00
d00f4d58e9
Better byte swapping in ringbuffer and fixed logging.
Ben Vanik
2013-10-20 18:34:46 -07:00
42a8fc0b59
--break_on_instruction=0x... and --break_on_memory=0x...
Ben Vanik
2013-10-20 16:54:59 -07:00
cddab7ffb0
Fixing free.
Ben Vanik
2013-10-20 15:28:00 -07:00
0c19516de4
Fixing file position default value.
Ben Vanik
2013-10-20 15:05:09 -07:00
e919edfb33
Fix xe_memory_is_valid.
Ben Vanik
2013-10-20 13:47:58 -07:00
9f1d2f29c1
--heap_guard_pages=1 to add guard pages.
Ben Vanik
2013-10-20 13:42:34 -07:00
ca3f2f1367
Malloc inspect in release mode, too.
Ben Vanik
2013-10-20 12:46:28 -07:00
002400d071
Adding memory info dumping utility, use --log_heap.
Ben Vanik
2013-10-20 12:39:59 -07:00
fbea5a6394
Making the GPU counter a vblank counter, not a timer.
Ben Vanik
2013-10-20 02:00:51 -07:00
39adeef2e3
Hiding vertex/index data for now.
Ben Vanik
2013-10-20 01:59:42 -07:00
92899739bd
Index buffer upload.
Ben Vanik
2013-10-20 00:47:32 -07:00
5a80c7b9c1
Hacking shaders to get dummy texture colors and such.
Ben Vanik
2013-10-20 00:20:36 -07:00
737a567de6
Fixing code_addr_low_.
Ben Vanik
2013-10-19 22:31:08 -07:00
889e586cab
Skeleton for new draw type and texture fetching.
Ben Vanik
2013-10-19 21:49:05 -07:00
3fd8bd20b5
Some improvements to the .map generation script.
gibbed
2013-10-19 21:40:01 -07:00
bdf5bf20a4
vminfp/vmaxfp
Ben Vanik
2013-10-19 21:26:40 -07:00
2cce46c232
vsel/vsel128
Ben Vanik
2013-10-19 21:20:27 -07:00
d62e8aaf78
lhbrx/lwbrx/ldbrx/sthbrx/stwbrx/stdbrx
Ben Vanik
2013-10-19 21:05:06 -07:00
d60cf676c3
addmex
Ben Vanik
2013-10-19 20:57:24 -07:00
5b91ba89e9
Fixing stdux/stdx o_o
Ben Vanik
2013-10-19 20:57:19 -07:00
62b792c903
Ignoring a packet I don't care about.
Ben Vanik
2013-10-19 20:30:36 -07:00
7ae2d410e5
addex. All of these are wrong - let's hope we don't overflow.
Ben Vanik
2013-10-19 20:29:19 -07:00
4e6799197f
fsqrtx/fsqrtsx
Ben Vanik
2013-10-19 20:25:03 -07:00
e842a6614a
Fixing LR argument for indirect branches.
Ben Vanik
2013-10-19 19:59:09 -07:00
10c69cfaf2
rlwnmx
Ben Vanik
2013-10-19 19:07:26 -07:00
807b949fea
Seeing code returning to the execution thunk, something must have broken.
Ben Vanik
2013-10-19 19:03:47 -07:00
4a72010e5f
addcx
Ben Vanik
2013-10-19 19:03:30 -07:00
fc1be2bfd8
rldimix
Ben Vanik
2013-10-19 18:54:36 -07:00
14b1c860b9
subfmex/subfzex.
Ben Vanik
2013-10-19 18:33:32 -07:00