Commit Graph

1983 Commits

Author SHA1 Message Date
Ben Vanik 28e7102a02 Always dump CPU info and assert our dummy thread value is legit. 2013-10-18 18:56:59 -07:00
Ben Vanik d3665cc2e6 Support for VS2013 (and auto picking), a Win xb script, and readme updates.
This also removes the dependency on D3DX, which is only included in the
DXSDK, meaning that just the Win8+ SDK should be required now.
2013-10-17 23:35:54 -07:00
Ben Vanik a1627fa6a7 Python3-ifying the xenia-build script, though gyp still needs 2.7. 2013-10-17 21:41:14 -07:00
Ben Vanik ff54a04aa1 asmjit fixes. 2013-10-17 14:03:26 -07:00
Ben Vanik 20720f750d KeSetAffinityThread stub, Ob* fns added, current thread handled. 2013-10-17 00:47:02 -07:00
Ben Vanik 7bf6992203 NtSetEvent/NtWaitForSingleObjectEx. 2013-10-16 23:04:52 -07:00
Ben Vanik 1b12949dd2 NtQueryFullAttributesFile. 2013-10-16 22:41:31 -07:00
Ben Vanik fd1054d823 NtSetInformationFile for seek position. 2013-10-16 22:28:26 -07:00
Ben Vanik 5de9b84904 Fixing line endings.
Need to run a script to do this...
2013-10-16 22:22:17 -07:00
Ben Vanik a41827942e Some NtQueryInformation classes. 2013-10-16 22:20:24 -07:00
gibbed 956496fb99 Added KeBugCheck and KeBugCheckEx. 2013-10-16 22:08:41 -07:00
gibbed f4d3c180f2 Helper script to generate a .map file. 2013-10-16 21:50:14 -07:00
Ben Vanik ab1ba9a508 Partially implemented NtQueryFullAttributes.
Enough to get past the ShaderDump test most games seem to do.
2013-10-16 21:32:53 -07:00
Ben Vanik c53db98517 Locking around some JIT stuff.
Excessive for now, but safer.
2013-10-16 21:32:20 -07:00
Ben Vanik 8e37fb8502 Bytes read via ReadFile! 2013-10-16 20:50:46 -07:00
Ben Vanik fea5c06180 Fixing line endings. 2013-10-16 20:10:16 -07:00
Ben Vanik ab5b9d75e0 Reworking file system so that it's easier to implement file operations. 2013-10-16 20:09:42 -07:00
Ben Vanik 1808af26b1 Removing /MP flag from VS projects.
This was breaking build caching in VS2012.
2013-10-16 20:08:02 -07:00
gibbed d5bd8b9d5b Merge branch 'master' of https://github.com/benvanik/xenia 2013-10-16 19:05:04 -07:00
gibbed 16b0c936d4 Fixed argument size handling in _vsnprintf_shim, like DbgPrint_shim. 2013-10-16 19:04:23 -07:00
gibbed 46b42528fd Fixed xeRtlFillMemoryUlong so it swaps the pattern back to native endianness. 2013-10-16 19:03:22 -07:00
gibbed 309d1621e5 Attempt at a fix for crashes occuring when not using instruction/branch tracing. 2013-10-16 18:55:21 -07:00
Ben Vanik 803e4998de Starting to wire up readfile. 2013-10-16 00:23:05 -07:00
Ben Vanik da2f7f1ea5 Shuffling filesystem to xboxkrnl.
This doesn't really change anything yet, just moves things.
Also fixed some bad over-including.
2013-10-15 23:09:51 -07:00
Ben Vanik 26c06e13d9 Checking in intermediate FS work before moving code. 2013-10-15 22:51:19 -07:00
Ben Vanik a8d10cd9d3 NtClose/NtReadFile skeleton. 2013-10-15 22:28:00 -07:00
Ben Vanik 388f354870 Basic NtCreateFile. 2013-10-15 21:30:57 -07:00
Ben Vanik f409795dd1 Fixing PM4 type 0 packet parsing. 2013-10-15 20:24:32 -07:00
gibbed a483704855 Sneaky tabs. 2013-10-15 19:18:28 -07:00
gibbed d79bd8cfa7 Renamed xboxkrnl_file* to xboxkrnl_nt*, added xboxkrnl_io*. 2013-10-15 19:18:03 -07:00
gibbed f59ff2e44a Fixed debug output format for NtCreateFile. 2013-10-15 05:30:25 -07:00
gibbed 5176a7e7c9 Stubbing out some file stuff. 2013-10-15 05:16:05 -07:00
Ben Vanik 6cda645911 Adding instruction address identifier when not tracing.
This can be removed later.
2013-10-14 21:53:34 -07:00
Ben Vanik 900252a590 Another dummy XCONFIG value. 2013-10-14 21:48:26 -07:00
Ben Vanik 0b24356080 Skipping unknown form of PM4_EVENT_WRITE_SHD for now. 2013-10-14 21:35:23 -07:00
Ben Vanik 80e3e6fa14 Ignoring unimplemented disasm functions by default. 2013-10-14 21:34:13 -07:00
Ben Vanik 963667f65c Forcing bl to function calls. 2013-10-14 21:33:54 -07:00
Ben Vanik 8294f22d76 Ignore decommits for now. 2013-10-14 19:06:26 -07:00
Ben Vanik 929ea13548 Emulated vslb. 2013-10-14 18:33:17 -07:00
Ben Vanik 1eba1fb5c2 vspltb 2013-10-14 18:21:26 -07:00
Ben Vanik 5bed1069f8 mulhwx/mulhwux 2013-10-14 17:49:21 -07:00
Ben Vanik 1e66e39efc divdux/mulldx 2013-10-14 17:30:25 -07:00
Ben Vanik dc804f2471 KeQuerySystemTime/NtCreateEvent. 2013-10-14 17:19:42 -07:00
Ben Vanik 16020df6a2 mfcr disasm. 2013-10-14 00:48:23 -07:00
Ben Vanik 76ca76bb67 Disabling hole filling in the SDB.
This was required when the AOT CPU was built, but isn't needed now.
2013-10-14 00:39:13 -07:00
Ben Vanik 602ed5393e vspltisb/ldarx/stdcx.
ldarx/stdcx are just as faked as the w equivalents.
2013-10-14 00:13:40 -07:00
Ben Vanik 72b54cfe2a Fixing recursion branches. 2013-10-13 22:59:19 -07:00
Ben Vanik b28c51271d A bunch of disasm instructions used by some games. 2013-10-13 22:53:33 -07:00
Ben Vanik e0701905dd Dummy values that games seem to want. 2013-10-13 22:25:23 -07:00
Ben Vanik 2eed0b1575 Fixing wraparound.
This still needs a tremendous amount of cleanup.
2013-10-13 21:18:23 -07:00