Ben Vanik
f55fb17e1b
MUL/MUL_HI/DIV
2014-01-26 16:09:25 -08:00
Ben Vanik
ebaf8aa16d
Fixing extends. Xbyak doesn't have good validation, so expecting more :(
2014-01-26 15:46:10 -08:00
Ben Vanik
e52a7bc3af
Fixing things, breaking others.
2014-01-26 15:10:39 -08:00
Ben Vanik
122761835e
Adding new instructions and cleaning things up a bit.
2014-01-26 12:14:29 -08:00
Ben Vanik
bbf3b4bdab
Fixing tail calls.
2014-01-26 11:45:58 -08:00
Ben Vanik
aadf92e4ea
'Fixing' register clobbering by disabling a bunch of nonvolatile regs.
2014-01-26 11:18:12 -08:00
Ben Vanik
ac59b61851
Fixing register eviction.
2014-01-26 11:17:53 -08:00
Ben Vanik
5eeeee7093
Fixing jumps.
2014-01-26 11:17:12 -08:00
Ben Vanik
7fe0a10d43
Adding back --break_on_instruction.
2014-01-26 11:16:55 -08:00
Ben Vanik
3e52a99adf
Fiddling with stack. Still wrong.
2014-01-26 04:34:29 -08:00
Ben Vanik
495edda8d8
Logging comments like IVM.
2014-01-26 04:01:51 -08:00
Ben Vanik
51ae8299d9
Fixing stack size.
2014-01-26 03:54:50 -08:00
Ben Vanik
20c8eb1561
Making debug disassembly look a bit better.
2014-01-26 03:24:55 -08:00
Ben Vanik
cb352c6c86
Fancy templated helpers.
2014-01-26 03:17:03 -08:00
Ben Vanik
ecf0988ddb
Removing SET_RETURN_ADDRESS - hopefully it'll never be needed again.
2014-01-26 01:18:59 -08:00
Ben Vanik
8789fd4134
Heuristically detecting ret - probably breaks some things.
2014-01-26 01:09:25 -08:00
Ben Vanik
c74f35552a
(air quotes) "register allocation" without spills.
2014-01-25 23:36:59 -08:00
Ben Vanik
c4d6c7a526
Reducing value count. IVM could take advantage of this.
2014-01-25 22:47:21 -08:00
Ben Vanik
05432242ff
Removing block continuation branches.
2014-01-25 21:35:59 -08:00
Ben Vanik
f438fa980d
Fixing source offsets.
2014-01-25 21:32:30 -08:00
Ben Vanik
0cca23cdd7
Source map in DebugInfo. IVM needs to port its stuff over eventually.
2014-01-25 21:20:28 -08:00
Ben Vanik
4609339c5a
JIT hackery. Not quite working.
2014-01-25 20:30:41 -08:00
gibbed
93d61d02d7
Note about DXGI_FORMAT_B4G4R4A4_UNORM being Windows 8 only.
2014-01-25 06:15:02 -08:00
gibbed
2f8f893977
Don't need to create the mastering voice with with an explicit number of channels or sample rate.
2014-01-25 04:50:47 -08:00
gibbed
47c71d702a
Audio system overhaul for support of multiple audio drivers.
2014-01-25 03:18:22 -08:00
Ben Vanik
bbe50cfe26
Disabling x64 backend.
2014-01-24 23:34:18 -08:00
gibbed
b6c831c7ec
Wait for graphics driver to complete initialization before continuing.
2014-01-24 23:00:05 -08:00
Ben Vanik
8ae6053d0f
Deleting LIR and such, wiring up for HIR->x64.
2014-01-24 22:26:15 -08:00
gibbed
764d0b89f5
Fixed fetching of non-tiled textures that don't have a pitch that is a multiple of 256 bytes.
2014-01-24 11:09:38 -08:00
gibbed
7dc8a5931f
Quick hack fix for vsldoi128.
2014-01-24 10:01:45 -08:00
gibbed
c6642331fa
Small cleanup.
2014-01-24 03:42:07 -08:00
gibbed
1ac84cf255
VECB16, VECS8, VECI4, VECF4 macros.
2014-01-24 03:39:10 -08:00
gibbed
3a7aaadbd8
TextureSwap now swaps XE_GPU_ENDIAN_8IN32.
2014-01-24 00:06:10 -08:00
gibbed
855173b2bd
Probably broke everything.
2014-01-24 00:00:20 -08:00
Ben Vanik
dfbbefa97f
Asserting byte swapped vbs.
2014-01-23 23:58:23 -08:00
Ben Vanik
53b9ed5214
Simplifying disassembler. Much faster than before.
2014-01-23 20:31:27 -08:00
Ben Vanik
f36e6cd820
Removing JSON dumps.
2014-01-23 20:31:26 -08:00
Ben Vanik
f93a21884c
Moving descriptions to instr table, part of issue #51 .
2014-01-23 20:31:26 -08:00
gibbed
44847e9042
Moved QueryVolume and QueryFileSystemAttributes to Device from Entry.
2014-01-23 11:23:26 -08:00
gibbed
bcf75a1b98
NtQueryVolumeInformationFile.
2014-01-22 17:55:23 -08:00
gibbed
6671908375
QueryVolume, QueryFileSystemAttributes stubs with accompanying XVolumeInfo and XFileSystemAttributeInfo. Needs further improvement.
2014-01-22 17:54:10 -08:00
gibbed
61093245a5
Gah.
2014-01-22 09:47:43 -08:00
gibbed
4aeb978d89
FMT_1_5_5_5.
2014-01-22 09:45:57 -08:00
gibbed
4b70b578fd
Removed hack from XE_GPU_ENDIAN_8IN16.
2014-01-22 09:45:33 -08:00
Ben Vanik
489154e548
Ignore requests for kernel32.dll
2014-01-21 21:03:27 -08:00
Ben Vanik
b6d7ccfb03
Adding an ExConfig setting.
2014-01-21 20:09:39 -08:00
gibbed
302111afbf
Fixed writing of too much data.
2014-01-21 19:09:07 -08:00
gibbed
1091c171b2
Maybe this will work?
2014-01-21 18:53:35 -08:00
gibbed
d1005e1a34
XamShowDeviceSelectorUI. Pretends success. Probably bad, but it'll do for now.
2014-01-21 18:19:50 -08:00
gibbed
a9dfe13799
Further improvements to FetchTexture2D.
2014-01-21 18:19:50 -08:00
Ben Vanik
58db76c42c
Pay no attention to the man behind the curtains.
2014-01-21 18:14:36 -08:00
Ben Vanik
1316e79a2f
Fixing missing field.
2014-01-21 18:12:18 -08:00
Ben Vanik
7d8aaaaea7
Texture wrapping modes.
2014-01-21 08:31:25 -08:00
gibbed
3a2c2beca4
Not sure if this is correct, seems to work.
2014-01-21 02:36:24 -08:00
gibbed
801758fc2f
Oops.
2014-01-21 01:54:54 -08:00
gibbed
01b00118d4
Further improvements to FetchTexture2D.
2014-01-21 01:54:34 -08:00
gibbed
efa7199974
XE_GPU_SWIZZLE_000R.
2014-01-21 01:51:56 -08:00
gibbed
9507960829
Oops. Don't need that.
2014-01-21 00:51:56 -08:00
gibbed
d75f4989a8
- Tiled texture support (largely untested).
...
- Maybe fixed FMT_8.
- Improved swapping of source texture data.
2014-01-21 00:50:18 -08:00
Ben Vanik
44c15342f5
Swizzling some textures.
2014-01-21 00:31:24 -08:00
Ben Vanik
175e21bea1
Texture filtering (mostly).
2014-01-20 23:45:45 -08:00
Ben Vanik
c660b5e4d1
Making the invalid texture bright green.
2014-01-20 22:38:07 -08:00
gibbed
e02c5157ef
Then I broke DXT3. Fixed DXT3 and DXT5. For real this time.
2014-01-20 20:29:45 -08:00
gibbed
2bda51f5ec
Fixed DXT5.
2014-01-20 20:28:42 -08:00
gibbed
e66390ae93
- Proper copying of texture data.
...
- Support for DXT3, DXT5, 32 float, 16 16 16 16 float.
- Only pad textures for formats that require it.
2014-01-20 20:14:47 -08:00
Ben Vanik
74aac97b3e
FMT_8
2014-01-20 17:54:19 -08:00
gibbed
ccfb82d883
Better texture copying. And possible support for DXT1.
2014-01-20 17:49:26 -08:00
Ben Vanik
26a2ed4d75
Fixing shaders.
2014-01-20 17:45:26 -08:00
Ben Vanik
094e165415
Fixing copy.
2014-01-20 17:00:17 -08:00
Ben Vanik
3c98e65997
Fixing texture size.
2014-01-20 16:41:21 -08:00
Ben Vanik
67cc57e918
Whoops. Re-enabling blending.
2014-01-20 16:11:55 -08:00
Ben Vanik
37ed238186
Fixing texture sizing (maybe). Need to do a custom slicing bit, probably.
2014-01-20 16:10:56 -08:00
Ben Vanik
cd72bc33a3
Texture sampling in shaders.
2014-01-20 16:05:34 -08:00
Ben Vanik
4de33a6e2d
Making texture fetching split from samplers.
2014-01-20 15:36:33 -08:00
Ben Vanik
af223b2067
Textures part 1: uploading.
2014-01-20 13:57:22 -08:00
Ben Vanik
e469d87678
Detect write to psize and include conditionally.
2014-01-20 11:07:14 -08:00
Ben Vanik
0efd7b4a62
Moving viewport transform to vertex shaders.
2014-01-20 10:46:43 -08:00
gibbed
7b9a804fc0
vsprintf.
2014-01-20 10:15:53 -08:00
gibbed
16918eea07
Disabled source offset tracking by default.
2014-01-20 08:18:49 -08:00
gibbed
5a5a93d62d
This seems to work. Perhaps cache in the future?
2014-01-20 07:41:11 -08:00
gibbed
8e5da8d853
Oops.
2014-01-20 07:30:18 -08:00
gibbed
592b1974f2
Corrected stack access in XamUserReadProfileSettings.
2014-01-20 06:08:49 -08:00
gibbed
6d7b25a338
Minor corrections to NtCreateFile, NtQueryDirectory.
2014-01-20 06:08:24 -08:00
gibbed
c673d55c1e
Corrected XFileXctdCompressionInformation handling. Needs to be further corrected in the future.
2014-01-20 06:05:36 -08:00
gibbed
e5e6a2cea6
Corrected X_FILE_INFORMATION_CLASS definition.
2014-01-20 06:01:36 -08:00
Ben Vanik
f5eefb138c
Geometry shaders now support disabled viewports.
2014-01-20 03:42:05 -08:00
Ben Vanik
e5d4cdd66d
Fixing XamInputSetState.
2014-01-20 02:36:23 -08:00
Ben Vanik
58504d8c0b
Initial pass at pointsprites. Needs a lot more work.
2014-01-20 01:13:37 -08:00
Ben Vanik
ea5a6e19dd
Disabling culling for rect lists.
2014-01-20 00:45:16 -08:00
Ben Vanik
1cd518b19c
Geometry shader work for rect lists and quad lists.
2014-01-20 00:18:14 -08:00
Ben Vanik
bcea3e00f1
Point size output from VS.
2014-01-19 16:41:52 -08:00
Ben Vanik
55fe3aca05
RECIP_IEEE.
2014-01-19 11:07:12 -08:00
Ben Vanik
cb3f2308af
Fixing shaders that fetch constants.
2014-01-19 10:29:34 -08:00
gibbed
8f4950bb6c
Corrected overlapped_ptr stack location in XamUserReadProfileSettings.
2014-01-19 10:16:12 -08:00
gibbed
e0c652b075
Pretend XMACreateContext succeeded.
2014-01-19 09:47:07 -08:00
gibbed
7e22d3be92
- Renamed SHIM_SET_RETURN macro to SHIM_SET_RETURN_64.
...
- Added SHIM_SET_RETURN_32 macro, which sign-extends to 64-bit.
- Updated all uses of SHIM_SET_RETURN to the appropriate macro (either SHIM_SET_RETURN_32 or SHIM_SET_RETURN_64).
2014-01-19 07:24:16 -08:00
gibbed
870a59f225
Turns out NtQueryDirectoryFile only returns a single entry at a time.
2014-01-19 06:57:43 -08:00
gibbed
c7276454d7
Added file_name argument to QueryDirectory.
2014-01-19 02:05:51 -08:00
Ben Vanik
71de4e77dc
Fixing memory leak and zeroing on alloc.
2014-01-19 01:51:57 -08:00
Ben Vanik
268bbf105d
QueryDirectory for STFS.
2014-01-19 01:47:06 -08:00
gibbed
7da2ad30b0
absolute_path for XFile and Entry.
2014-01-19 01:28:34 -08:00
Ben Vanik
b62134855a
XMsgCancelIORequest shim.
2014-01-19 01:08:28 -08:00
Ben Vanik
f75517f7f8
Fixing add 32 w/ saturate.
2014-01-19 00:53:22 -08:00
Ben Vanik
0bc49621d4
Properly parsing resource infos and implementing XexGetModuleSection.
2014-01-19 00:53:22 -08:00
gibbed
d22b59555e
Fixed QueryDirectory for DiscImageFile and STFSContainerFile.
2014-01-19 00:52:17 -08:00
gibbed
124b419b6b
Added name() and path() to XFile.
2014-01-19 00:51:08 -08:00
gibbed
8b27354dcb
Stubbed handling of root_directory.
2014-01-19 00:24:59 -08:00
gibbed
1277325603
Stubbed QueryDirectory on STFSContainerEntry.
2014-01-19 00:07:48 -08:00
gibbed
f306db970d
Merge branch 'master' of https://github.com/benvanik/xenia
2014-01-18 23:45:48 -08:00
gibbed
8be076df32
Disabled assert for file name in NtQueryDirectoryFile.
2014-01-18 23:45:32 -08:00
gibbed
67e73cb33d
Added support for restart scan argument to NtQueryDirectoryFile.
2014-01-18 23:44:39 -08:00
Ben Vanik
50a692d20f
Allowing STFS v2 with a warning.
2014-01-18 23:41:40 -08:00
Ben Vanik
5319b31829
GetModule(NULL).
2014-01-18 23:41:40 -08:00
gibbed
8536425d76
Remove comment about file paths. And don't recompute file name length.
2014-01-18 23:41:04 -08:00
gibbed
0db3577a84
Added QueryDirectory to Entry.
2014-01-18 23:40:22 -08:00
gibbed
6386fe50c2
QueryDirectory for DiscImageEntry. Untested.
2014-01-18 23:40:01 -08:00
gibbed
5fa82364ba
Better handling for bad library import string table indices.
2014-01-18 23:24:50 -08:00
Ben Vanik
c11711681f
Actually fixing STFS.
2014-01-18 23:20:32 -08:00
Ben Vanik
0581d8eb07
Fixing STFS reading.
2014-01-18 22:49:26 -08:00
Ben Vanik
6b633e4e28
STFS loading... xex's load, but files seem broken. Ugh.
2014-01-18 22:23:26 -08:00
gibbed
69320ed94b
xam_net cleanup.
2014-01-18 10:39:19 -08:00
gibbed
29fa0709ec
XamContentCreateEnumerator stub.
2014-01-18 10:35:17 -08:00
gibbed
d029ce978e
Fixed NtWaitForSingleObjectEx. Third time's the charm?
2014-01-18 08:18:25 -08:00
gibbed
e2b2d0562e
Fixed NtWaitForSingleObjectEx. Again.
2014-01-18 08:00:16 -08:00
gibbed
1b57d2ee85
NtWaitForMultipleObjectsEx.
2014-01-18 07:57:51 -08:00
gibbed
6c5a6919ee
Fixed NtWaitForSingleObjectEx.
2014-01-18 07:57:15 -08:00
gibbed
d9984a15c5
Macros for 8-bit GPR/MEM access.
2014-01-18 07:55:24 -08:00
gibbed
137230bbef
Fixed copy-pasted comment.
2014-01-18 06:08:35 -08:00
gibbed
7cb71c6b9f
do {
2014-01-18 06:07:15 -08:00
gibbed
40178cb22d
Minor changes to APU.
2014-01-18 06:06:34 -08:00
gibbed
619b9758a0
NtQueryDirectoryFile and necessary backing. Not fully functional yet.
2014-01-18 05:59:22 -08:00
Ben Vanik
c257ad0122
Work on D3D11 for various state settings. This code sucks. Needs a rewrite.
2014-01-18 01:50:31 -08:00
Ben Vanik
a7db0f0410
Fixing component access on vfetch.
2014-01-18 01:38:11 -08:00
Ben Vanik
7bdd973935
Proper vertex format input type in shaders.
2014-01-18 01:08:45 -08:00
Ben Vanik
946397cc8c
Fixing warnings.
2014-01-18 00:13:03 -08:00
Ben Vanik
99c72f24f2
Better vertex buffer construction, supporting packed data.
2014-01-18 00:12:57 -08:00
gibbed
ba9d343c51
RtlUnicodeToMultiByteN.
2014-01-17 21:13:09 -08:00
gibbed
3b151b21ad
NtOpenFile. Duplicated mostly from NtCreateFile's implementation. Probably wrong.
2014-01-17 19:45:56 -08:00
gibbed
5cdae4cee4
Fixed cast for %p.
2014-01-17 19:18:35 -08:00
gibbed
4fa3efd2b6
Corrected implementation of %s for _vswprintf.
2014-01-17 19:15:58 -08:00
gibbed
373d8a3eb8
Corrected implementation of %n.
2014-01-17 19:10:33 -08:00
gibbed
a6e1095cbc
Fixed some formatting and a cast.
2014-01-17 18:57:56 -08:00
gibbed
dbaa47a851
Whoops. Memory leak.
2014-01-17 18:48:47 -08:00
gibbed
441013770d
Return value of _vsnprintf and _vswprintf should not be counting the null terminator.
2014-01-17 18:48:02 -08:00
gibbed
cd8c081ee6
_vswprintf. Also moved _vsnprintf and _vswprintf to its own file.
2014-01-17 18:46:56 -08:00
Ben Vanik
af4e107905
Experimenting with instrument API. Not quite right.
2014-01-16 23:27:11 -08:00
Ben Vanik
7641a5bfed
Logging nice fatal errors when dying, w/ a msgbox when not in a console.
2014-01-16 22:16:06 -08:00
Ben Vanik
4741e3581a
Support redirecting stdout/stderr to the launching console.
2014-01-16 21:43:25 -08:00
Ben Vanik
ffcd687ef6
Played with making xenia-run a Win32 app, but then logging stops working...
2014-01-15 21:58:09 -08:00
Ben Vanik
2a7f3de1c3
Moving shutdown logic to Emulator.
2014-01-15 07:31:21 -08:00
Ben Vanik
991e7d8ad3
Refactoring window stuff. Still needs some work.
2014-01-14 22:40:02 -08:00
Ben Vanik
e7d61f4b1f
Removing use of runloop from audio system.
2014-01-14 19:52:32 -08:00
Ben Vanik
9a09c2072e
Fixing badness in release mode.
2014-01-14 18:28:40 -08:00
Ben Vanik
a02f5c3e7a
Fixing alloy analysis warnings.
2014-01-14 01:11:42 -08:00
Ben Vanik
50587974b5
Not sure why I thought I could do this.
2014-01-14 00:39:31 -08:00
Ben Vanik
81226db1b4
Fixing broken instruction decoding.
2014-01-13 23:24:28 -08:00
Ben Vanik
857ce4a2e2
Crazy working permute by Rick.
2014-01-13 22:37:07 -08:00
Ben Vanik
dcc0e55a90
Fixing the unpacks.
2014-01-13 22:37:07 -08:00
Ben Vanik
f82eccdc7c
Hacking in vupkhsh/etc. The instruction tables need a rewrite. Yuck.
2014-01-13 22:37:06 -08:00
Ben Vanik
faa75c9407
Making debug info toggles a flag to allow finer control.
2014-01-13 21:12:10 -08:00
Ben Vanik
dfaa0e2d08
Disabling mangled name extraction.
2014-01-13 20:51:35 -08:00
Ben Vanik
d73aa419d1
Better returns for XAudio.
2014-01-13 20:50:56 -08:00
gibbed
e1bb5bc860
Oops.
2014-01-13 02:49:30 -08:00
gibbed
c1b71ce1db
Merge branch 'master' of https://github.com/benvanik/xenia
...
Conflicts:
src/xenia/apu/xaudio2/xaudio2_audio_system.cc
2014-01-13 02:46:50 -08:00
gibbed
f47ebb5010
More XAudio2 junk.
2014-01-13 02:45:18 -08:00
Ben Vanik
6f09c12bc2
Creating mastering voice with the right params.
2014-01-13 01:06:30 -08:00
gibbed
24e857cc03
Small fix to waveformat.
2014-01-13 01:00:06 -08:00
Ben Vanik
dccdc00735
Tweaking audio params.
2014-01-13 00:45:09 -08:00
Ben Vanik
133cbedad8
Replacing exit with assert, as exits are hard to find.
2014-01-13 00:33:40 -08:00
gibbed
d30f4b25b9
Oops.
2014-01-13 00:25:10 -08:00
gibbed
74d26b2814
Still wrong, but...
2014-01-13 00:23:29 -08:00
Ben Vanik
f6ca6cced8
Audio engine now blocking when buffers are full.
2014-01-13 00:20:53 -08:00
Ben Vanik
20ad328e4a
Removing AudioDriver.
2014-01-13 00:05:08 -08:00
Ben Vanik
ae5b87ea2a
Enable xaudio error logging.
2014-01-13 00:01:51 -08:00
Ben Vanik
4f552da6c4
Inefficient, but pumping audio.
2014-01-12 23:52:55 -08:00
Ben Vanik
ab9d384813
Passing samples.
2014-01-12 23:43:58 -08:00
gibbed
edb1633fc9
XAudio2 APU stub.
2014-01-12 23:23:55 -08:00
gibbed
4e9d3a00e4
Fixed constant values not being cloned correctly.
2014-01-12 22:06:10 -08:00
gibbed
dde2b1ff41
I totally did not violate coding conventions in the last commit.
2014-01-12 20:27:12 -08:00
gibbed
65d5d1d559
Added tracking of source address for an easier time while debugging.
2014-01-12 20:22:43 -08:00
Ben Vanik
c704c04dc3
Merge pull request #67 from wszechpolak/master
...
Adding stubs of NetDll functions
2014-01-12 20:10:46 -08:00
Ben Vanik
2ed1dd452c
Removing unused externs.
2014-01-12 20:08:50 -08:00
Wszechpolak
8dfb2b1efb
Adding stubs of NetDll functions
2014-01-13 05:04:01 +01:00
Ben Vanik
984d63a3d4
Removing redundant math.
2014-01-12 19:30:52 -08:00
Ben Vanik
5c755f09f0
Fixing addresses, perhaps.
2014-01-12 19:21:40 -08:00
Ben Vanik
413aa06605
vupkh|lsh
2014-01-12 18:04:24 -08:00
Ben Vanik
4cbee4620a
Fixing branch CTR compare. Maybe.
2014-01-12 17:19:37 -08:00
Ben Vanik
d224dd94c1
Fixing log_heap printing a bit, though damn this stuff is nasty.
2014-01-12 15:43:54 -08:00
Ben Vanik
f6866098c5
Probably correct vupkh|lsb.
2014-01-12 15:41:18 -08:00
Ben Vanik
eb5d7e0f31
Comments.
2014-01-12 14:43:59 -08:00
Ben Vanik
6129e1eb7a
Simplifying macros to fix VS' broken preprocessor.
2014-01-12 14:06:00 -08:00
Ben Vanik
123444078f
Fixing warning.
2014-01-12 13:52:50 -08:00
Ben Vanik
c7c83ea900
Fixing --log_heap
2014-01-12 11:09:52 -08:00
Ben Vanik
e2a218ad2a
Removing bad assert.
2014-01-12 10:48:27 -08:00
Ben Vanik
adc98914b8
XAudioGetVoiceCategoryVolumeChangeMask
2014-01-12 03:35:49 -08:00
Ben Vanik
ecbd2c7e89
Pushing audio samples through.
2014-01-12 02:39:47 -08:00
Ben Vanik
dbf1aa182e
Fixing WaitForMultipleObjects
2014-01-12 02:34:22 -08:00
Ben Vanik
127595b48a
Issuing audio driver callbacks from their own thread.
2014-01-12 02:07:17 -08:00
Ben Vanik
4688d5e600
Starting work on audio.
2014-01-12 01:27:41 -08:00
gibbed
6c62b2796a
RtlMultiByteToUnicodeN.
2014-01-12 00:22:43 -08:00
Ben Vanik
bd74c544c6
XMsgInProcessCall stubbed for a few xmp messages games check on startup.
2014-01-11 23:41:57 -08:00
Ben Vanik
61e873cd31
Starting work on APCs, though nothing is hitting them yet.
2014-01-11 22:12:05 -08:00
Ben Vanik
c50fbafbd9
Start of DPCs. Queuing them, but not yet dispatching.
2014-01-11 21:40:23 -08:00
Ben Vanik
27d4938cc2
KeAcquireSpinLockAtRaisedIrql/etc.
2014-01-11 21:38:56 -08:00
Ben Vanik
dc496e8102
Unifying kernel modules and user modules to XModule. XexLoadImage/etc.
2014-01-11 17:24:34 -08:00
Ben Vanik
27a8e09b51
Depth stencil state.
2014-01-10 01:25:50 -08:00
Ben Vanik
8085678f5a
PACK/UNPACK.
2014-01-10 00:28:52 -08:00
Ben Vanik
3fbebcfa08
VectorAdd and saturation checks.
2014-01-09 21:57:07 -08:00
Ben Vanik
2980a30f30
vctsxs, vctuxs.
2014-01-09 21:20:03 -08:00
Ben Vanik
478781e0dc
Various rounding instructions.
2014-01-09 20:44:23 -08:00
Ben Vanik
35ef6df1fc
sradx, vcfsx, vcfux.
2014-01-09 20:28:26 -08:00
Ben Vanik
0cb4a2e415
Fixing input.
2014-01-09 20:06:30 -08:00
Ben Vanik
eef08db16d
Returning fake user status.
2014-01-08 23:00:26 -08:00
Ben Vanik
5644f0fd40
KeQueryBasePriorityThread and implementing Set.
2014-01-08 22:22:34 -08:00
Ben Vanik
036d12581e
VECTOR_SHR/_SHA. Fixing some disasm stuff.
2014-01-08 22:15:00 -08:00
Ben Vanik
e7a31c78bf
Simplifying byteswap(byteswap(a)) to a.
2014-01-08 18:47:39 -08:00
Ben Vanik
3dff790ce6
Fixing broken VX128_5 decoding.
2014-01-08 01:10:44 -08:00
Ben Vanik
894f22cd0b
Oh FFS. LOAD_CLOCK.
2014-01-08 00:12:22 -08:00
Ben Vanik
a8ade5d33b
Stubs for launch data.
2014-01-07 23:47:35 -08:00
Ben Vanik
a09b587fc7
NtYieldExecution.
2014-01-07 23:38:14 -08:00
Ben Vanik
de140796a5
RtlTimeToTimeFields / RtlTimeFieldsToTime. TZ may be wrong.
2014-01-07 23:16:31 -08:00
Ben Vanik
73200ff0bc
Timers were wrong. Fixing.
2014-01-07 22:47:35 -08:00
Ben Vanik
5a4f738a37
Dummy ExRegisterTitleTerminateNotification.
2014-01-07 21:55:46 -08:00
Ben Vanik
cfe7b2127d
Timers. Probably.
2014-01-07 21:55:32 -08:00
Ben Vanik
1357a798ef
RtlRaiseException handling thread naming. But needs issue #54 .
2014-01-07 20:55:13 -08:00
Ben Vanik
5fd0b211ce
Thread ID lookup and naming.
2014-01-07 20:54:47 -08:00
Ben Vanik
20b76b0e59
Not sure why NtQueryVolumeInformationFile was always set to fail.
2014-01-07 19:44:49 -08:00
Ben Vanik
c0fe77282f
FscSetCacheElementCount stub.
2014-01-07 19:44:30 -08:00
Ben Vanik
e893d03962
XFileMailslotSetInformation stub.
2014-01-07 18:52:26 -08:00
Ben Vanik
5019f350f8
Mutants.
2014-01-07 18:32:55 -08:00
Ben Vanik
40ca0bcb76
NtSignalAndWaitForSingleObjectEx (untested).
2014-01-07 00:28:48 -08:00
Ben Vanik
9aa2f204f5
PulseEvent. Surprised anyone uses this.
2014-01-06 23:57:12 -08:00
Ben Vanik
469ea9451d
NtSuspendThread.
2014-01-06 23:23:27 -08:00
Ben Vanik
8033c73f41
Stubbing KeLockL2.
2014-01-06 23:19:26 -08:00
Ben Vanik
698eaeeb88
Custom stack for IVM. 2-3x faster.
2014-01-06 23:11:10 -08:00
Ben Vanik
2ed6f478c1
Adding --always_disasm.
2014-01-06 22:51:06 -08:00
Ben Vanik
ff66064275
Making --debug = false work.
2014-01-06 22:46:21 -08:00
Ben Vanik
d1528e24bb
Removing REM, adding MUL_HI, renaming MULADD/MULSUB.
2014-01-06 22:17:49 -08:00
Ben Vanik
3dcbcce38d
POW2/LOG2 for vexptefp/vlogefp.
2014-01-06 18:13:16 -08:00
Ben Vanik
de113a4a05
Adding thread stack padding.
2014-01-05 16:22:49 -08:00
Ben Vanik
56476d276d
Constant vec128 swap.
2014-01-05 16:22:41 -08:00
Ben Vanik
a78447f015
Broken and.
2014-01-05 16:22:32 -08:00
Ben Vanik
0f95864b8d
NtDuplicateObject.
2014-01-05 15:56:37 -08:00
Ben Vanik
e8ca05ca0a
MmQueryAllocationSize.
2014-01-05 11:19:02 -08:00
Ben Vanik
cbf4a9b519
Dummy MmQueryStatistics.
2014-01-05 11:13:16 -08:00
Ben Vanik
c5b0a4e22b
VdShutdownEngines stub.
2014-01-05 11:06:08 -08:00
Ben Vanik
de1049d39d
XamResetInactivity/XamEnableInactivityProcessing.
2014-01-05 10:35:50 -08:00
Ben Vanik
e41a06ddd8
Removing assert.
2014-01-05 03:16:07 -08:00
Ben Vanik
81c59c7912
Sign extend constant handling.
2014-01-05 02:24:16 -08:00
Ben Vanik
d2a74f9211
Actually hooking up the audio functions...
2014-01-05 02:08:03 -08:00
Ben Vanik
177670d866
XAudioGetVoiceCategoryVolume & XAudioGetSpeakerConfig.
2014-01-05 02:05:00 -08:00
Ben Vanik
79a08bcdf1
XNotifyPositionUI stub.
2014-01-05 02:04:16 -08:00
Ben Vanik
16d93c5fb3
nandx.
2014-01-05 01:51:38 -08:00
Ben Vanik
bb41ab717b
KeWaitForMultipleObjects.
2014-01-05 01:49:10 -08:00
Ben Vanik
372fd97821
Moving Wait() to XObject base.
2014-01-05 01:22:08 -08:00
Ben Vanik
8bba532f25
ExTerminateThread and NtReleaseSemaphore.
2014-01-05 01:08:30 -08:00
Ben Vanik
b7f83f4154
XamUserGetSigninInfo, NtCreateSemaphore, busted error codes.
2014-01-05 00:48:00 -08:00
Ben Vanik
29208a7fae
Fixing broken spinlock.
2014-01-05 00:28:59 -08:00
Ben Vanik
c857d8da35
intcode SQRT.
2014-01-04 23:58:25 -08:00
Ben Vanik
9f1a3795b7
Fixing up license stuff.
2014-01-04 23:57:39 -08:00
Ben Vanik
6f7855817e
Dummy XamuserReadProfileSettings.
2014-01-04 23:37:17 -08:00
Ben Vanik
21efe58254
Fix XInput query.
2014-01-04 22:41:23 -08:00
Ben Vanik
9b02cfb560
XInputGetKeystroke/Ex.
2014-01-04 22:38:56 -08:00
Ben Vanik
4d92720109
Moving all kernel files around just to fuck with whoever's keeping track ;)
2014-01-04 17:12:46 -08:00
Ben Vanik
aad4d7bebf
In progress XNotify stuff. Going to merge xam/xboxkrnl next.
2014-01-04 16:18:16 -08:00
Ben Vanik
f23c330353
vrefp.
2014-01-04 15:44:56 -08:00
Ben Vanik
d2336774de
MIN/MAX intcode.
2014-01-04 15:44:14 -08:00
Ben Vanik
00d878c62a
Fixing arena chunk reuse.
2014-01-04 14:34:49 -08:00
Ben Vanik
2a1d1d55d7
XamGetSystemVersion = 0 to stop dynamic kernel function loading (for now).
2014-01-04 14:12:23 -08:00
Ben Vanik
fc074fefe9
XNetGetEthernetLinkStatus = 0 to stop games from trying to use the net.
2014-01-04 14:12:01 -08:00
Ben Vanik
90ff8e590f
Probably correct semaphore object.
2014-01-04 13:56:38 -08:00
Ben Vanik
eff46a9d0b
Dummy KeSetBasePriorityThread.
2014-01-04 13:40:01 -08:00
Ben Vanik
8fd9aaa257
KeResumeThread.
2014-01-04 13:38:33 -08:00
Ben Vanik
615229bd87
Minor fixes and debug helpers to track externs.
2014-01-04 13:20:19 -08:00
Ben Vanik
e362a65189
Simplification pass handles redundant truncate/extend & extend/truncate.
2014-01-04 11:56:32 -08:00
Ben Vanik
4db1b13e98
DCE pass removes assigns.
2014-01-04 11:56:05 -08:00
Ben Vanik
a8eff63dbc
Adding skeleton for reg allocator.
2014-01-04 02:57:53 -08:00
Ben Vanik
93ea56179a
Moving LoadAcquire/StoreRelease behavior up into HIR.
2014-01-04 00:50:48 -08:00
Ben Vanik
88b631b160
Emitting more x64.
2014-01-04 00:30:43 -08:00
Ben Vanik
2468645bf2
Making functions naked for now, as it makes life way easier.
2014-01-02 23:53:18 -08:00
Ben Vanik
99c200fda5
Fixing warning.
2014-01-02 23:39:53 -08:00
Ben Vanik
73d934b37b
Emitting functions and SEH info for call stacks.
2014-01-02 23:11:16 -08:00
Ben Vanik
9ef2d1baf6
Calling generated code. Woo.
2014-01-02 20:56:21 -08:00
Ben Vanik
e14d3379cb
Hooking up code emission.
2014-01-02 20:41:13 -08:00
Ben Vanik
7969349126
Fixing some shutdown code.
2014-01-02 18:58:44 -08:00
Ben Vanik
125e7278c6
Ugh. Replacing the fancy templates with hand coded sequences for now.
2014-01-02 00:00:14 -08:00
Ben Vanik
3e4f93a6a9
Playing with sequences.
2013-12-30 00:11:36 -08:00
Ben Vanik
08cff81f6a
HIR->LIR flow.
2013-12-29 23:51:51 -08:00
Ben Vanik
cd9172ed62
Resetting the builder arena. May be a bug or two here still.
2013-12-29 23:43:36 -08:00
Ben Vanik
63f11732a5
Wiring up the LIR flow.
2013-12-29 22:05:41 -08:00
Ben Vanik
dec0e35957
More X64 backend skeleton work.
2013-12-29 19:54:17 -08:00
Ben Vanik
3d01efffac
LIR skeleton, renaming some types to prevent conflict.
2013-12-29 14:28:46 -08:00
Ben Vanik
6b17ead43b
Minor tweaks.
2013-12-28 19:48:02 -08:00
Ben Vanik
f6f8be9080
Implementing ROUND.
2013-12-28 08:49:05 -08:00
Ben Vanik
5a6184c07a
Fixing vsldoi. I'll likely need to reverse all of these back later.
2013-12-28 08:42:38 -08:00
Ben Vanik
5bc74313e3
Fixing broken instruction offsets on block splits.
2013-12-27 15:00:34 -08:00
Ben Vanik
402c96f9a6
Fixing block split ordering, issue #48 .
2013-12-27 08:38:59 -08:00
Ben Vanik
7002a3bd57
Adding implicit branches to ensure flow control remains legit.
2013-12-26 19:00:52 -08:00
Ben Vanik
aa021d22dd
--wait_for_debugger
2013-12-26 17:51:46 -08:00
Ben Vanik
e8cafa21b9
Dumping symbol names.
2013-12-25 23:21:35 -08:00