Commit Graph

1743 Commits

Author SHA1 Message Date
Ben Vanik 57919b2a11 Seems like games are allowed to set the execute bit.
(it may just be masked away by the system)
2015-02-10 22:31:24 -08:00
Ben Vanik ce08c58610 Fixing 1555 color order. 2015-02-10 22:12:01 -08:00
Ben Vanik 5876196a2c Fixing input to return EMPTY. 2015-02-10 22:11:45 -08:00
Ben Vanik 94b8abd816 Fixing bad assert. 2015-02-10 22:04:16 -08:00
Ben Vanik 486d0beea3 mtcrf (untested). 2015-02-10 22:04:02 -08:00
Ben Vanik 3573840c5f Nasty, but jump over div/0. Value remains undefined, as on 360.
Fixes issue #135.
2015-02-10 17:28:21 -08:00
x1nixmzeng 4351f48c7b Resolve relative file paths
Implemented path normalization so relative paths can be correctly
resolved
2015-02-11 01:11:52 +00:00
Ben Vanik dbfd0b0f7b RG8 texture format. 2015-02-10 13:22:08 -08:00
Ben Vanik 9b7f64f9e6 XNotifyDelayUI stub. 2015-02-10 12:11:17 -08:00
Ben Vanik daac4a2d50 Fixing Rc=1 CR update to be 32-bit. 2015-02-10 12:01:05 -08:00
Ben Vanik 46a59270c4 Tests for nor and neg. 2015-02-10 12:00:47 -08:00
Ben Vanik bd7a970102 Factoring out EA writeback. Thought it may have been wrong. 2015-02-09 17:39:46 -08:00
Ben Vanik c42eb271ac Fixing disasm. 2015-02-09 17:23:41 -08:00
Ben Vanik cc6d03ab2c Removing unneeded fs entry type. 2015-02-09 16:59:28 -08:00
Ben Vanik 78451a4e9e Cleaning up texture info/uploading. Edge cases still likely. 2015-02-09 14:10:24 -08:00
Ben Vanik 1ffd99fe3a Oh for fuck's sake. Fixing vperm128 decoding. 2015-02-09 14:10:24 -08:00
Ben Vanik 29719b8f4d Cleaning up some line ending issues. 2015-02-09 14:10:23 -08:00
x1nixmzeng dc11b88ef2 Minor usage fix
Fixes usage when running with a single unnamed argument
2015-02-09 20:13:09 +00:00
Ben Vanik eae8197025 Fixed XInputGetKeystroke. 2015-02-06 00:11:17 -08:00
Ben Vanik 8176df3ac6 lvebx/lvehx/lvewx. 2015-02-05 23:17:30 -08:00
Ben Vanik 3567cbc2cc ADD/MUL/SUBs. 2015-02-05 22:40:52 -08:00
Ben Vanik 908b95aeaa Probably working select. 2015-02-05 21:52:00 -08:00
Ben Vanik f128bf8670 Enough NetDll for games using sockets as IPC. 2015-02-05 21:26:28 -08:00
Ben Vanik fe3475b88c Fixing texture sizing. Probably. Fixes some DXT issues. 2015-02-03 23:46:12 -08:00
Ben Vanik c33613b2f8 assert_unhandled_case on ObReferenceObjectByHandle. 2015-02-02 23:07:21 -08:00
Ben Vanik 05f008d6ce Several XamContent* methods. 2015-02-02 23:07:20 -08:00
Ben Vanik c75a0337ae Fix XamUserCreateAchievementEnumerator. 2015-02-02 23:07:20 -08:00
Ben Vanik 969ef8f688 Fix XamEnumerate returns. 2015-02-02 23:07:19 -08:00
Ben Vanik 4f92df8918 XexGetModuleHandle(nullptr,) support. 2015-02-02 23:07:19 -08:00
Ben Vanik c06a675794 Fix XOVERLAPPED. 2015-02-02 23:07:19 -08:00
Ben Vanik 2b1dc9fa05 Ignore range check on autodraw. 2015-02-02 23:07:18 -08:00
Ben Vanik 36ba9aa3f3 Fixing rect-list tex coords. 2015-02-02 23:07:18 -08:00
Ben Vanik 5b08feb010 Playing with RTT. 2015-02-02 23:07:17 -08:00
Ben Vanik f9a3f0c48e Fix broken VirtualProtect reset on ClearWriteWatch. 2015-02-02 23:07:17 -08:00
Ben Vanik bba8f6391b Tweaking CriticalSection. 2015-02-02 23:07:16 -08:00
x1nixmzeng bcb507d643 Minor string formatting fix
Log the path names as widestrings
2015-02-02 22:52:57 +00:00
Ben Vanik ea1bdd2a24 Fixing vswprintf and adding vscwprintf. 2015-02-01 22:44:33 -08:00
Ben Vanik 487ce40123 No-op XUserGetContext. 2015-02-01 22:29:36 -08:00
Ben Vanik 59adde4d7f Negative size allocs. Probably. 2015-02-01 21:20:55 -08:00
Ben Vanik 493c3d7656 XMsgSystemProcessCall call. 2015-02-01 20:53:44 -08:00
Ben Vanik 93ded5ef0f Old style mfcr. 2015-02-01 20:49:47 -08:00
Ben Vanik 7b48332782 Reversing XUserSetPropertyEx signature. 2015-02-01 17:40:38 -08:00
Ben Vanik 5b759d387c Starting to reverse XGI app. 2015-02-01 17:25:18 -08:00
Ben Vanik 5f3ab7979f --break_on_debugbreak 2015-02-01 11:38:16 -08:00
Ben Vanik f60677f359 mfocrf + test 2015-02-01 11:22:56 -08:00
Ben Vanik cfcd6118c2 Fixing GetTickCount.
There's likely a better way to do this (on demand), but this works for now.
2015-02-01 09:05:35 -08:00
Ben Vanik 3454d1bdf5 EntryTable needs a rewrite. 2015-01-31 23:51:45 -08:00
Ben Vanik 00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
sephiroth99 3f480d24bd libpoly: add missing include for thread_local define in logging.cc
Add a missing include in logging.cc that fixes the missing definition for
thread_local. Similar to issue #122.
2015-01-31 01:24:45 -05:00
Ben Vanik f632895fbb srdi special case and tests for sldi/srdi. 2015-01-24 10:21:54 -08:00
Ben Vanik b8bb338564 Removing IVM. 2015-01-19 12:35:43 -08:00
Ben Vanik 056d4ed9b0 vaddshs/vadduhm/vsubshs/vsubuhm tests. 2015-01-19 12:24:41 -08:00
Ben Vanik b2e03fa628 I don't like it, but fixing permute by int16. 2015-01-19 12:15:10 -08:00
Ben Vanik acc1286b72 Disasm path diffs. 2015-01-19 12:13:43 -08:00
Ben Vanik 88d0c2cfd3 Fixing vupklsh/vupkhsh. 2015-01-19 12:13:26 -08:00
Ben Vanik dd2f799380 Tests for vupklsh/vupkhsh. 2015-01-19 11:52:51 -08:00
Ben Vanik 9099f597fe Test vupkd3d128 and fix short2 unpacking. 2015-01-19 11:46:14 -08:00
Ben Vanik 1d4ee3e6fb vcfsx test 2015-01-14 17:59:14 -08:00
Ben Vanik d76db54fee Tests for vmrg* (broken! woo!) 2015-01-14 17:47:54 -08:00
Ben Vanik 9a66629725 vsel tests. 2015-01-11 21:32:34 -08:00
Ben Vanik e48d9a44c7 vsldoi tests. 2015-01-11 21:21:51 -08:00
Ben Vanik 58107f3499 vpermwi128 tests. 2015-01-11 21:16:04 -08:00
Ben Vanik cd4e877ae1 fsel test. 2015-01-11 21:01:25 -08:00
Ben Vanik 6a44cf9662 vrlimi128 tests. 2015-01-11 16:39:44 -08:00
Ben Vanik 0dfe0602ad stvew tests. 2015-01-11 16:39:36 -08:00
Ben Vanik fc39745634 lvsl/lvsr tests. 2015-01-11 16:00:16 -08:00
Ben Vanik 18e458e99a addic tests. 2015-01-11 15:49:56 -08:00
Ben Vanik d66c6ec3d3 fabs test. 2015-01-11 15:45:17 -08:00
Ben Vanik f6404a0982 vctsxs tests. 2015-01-11 15:38:01 -08:00
Ben Vanik d234f2bc47 vperm test + fix for % byte. 2015-01-11 15:17:16 -08:00
Ben Vanik 229daab25b vspltis[bhw] tests. 2015-01-11 15:02:57 -08:00
Ben Vanik aacb515035 vsplt[bhw] tests. 2015-01-11 14:58:05 -08:00
Ben Vanik 338b5809b4 vsl[bhw] tests. 2015-01-11 14:48:51 -08:00
Ben Vanik f2100a78bc vrfin test. 2015-01-11 13:11:31 -08:00
Ben Vanik ffe9fad685 Minor tweaks while reviewing instructions. 2015-01-11 13:11:13 -08:00
Ben Vanik 5827f5f5d8 Utility to dump instruction translation counts. 2015-01-11 00:44:17 -08:00
Ben Vanik b6b27e621a Enough XMP to play (fake) play media. 2015-01-11 00:28:24 -08:00
Ben Vanik f5e12eba76 Digging into XMP stuff. Wish these were just normal functions. 2015-01-10 21:36:46 -08:00
Ben Vanik cf31969510 Update comment on VGT_MIN/MAX_VTX_INDX. 2015-01-09 00:33:11 -08:00
Ben Vanik e7ee2bf40d XamLoaderLaunchTitle 2015-01-09 00:31:56 -08:00
Ben Vanik 9f765e1291 XMsgStartIORequestEx 2015-01-09 00:26:47 -08:00
Ben Vanik 2bc951cd1e Stub for screen extent write event. 2015-01-09 00:26:40 -08:00
Ben Vanik 6437bbec96 OPCODE_INSERT 2015-01-09 00:12:11 -08:00
Ben Vanik fde3904130 Emulated SHR_V128 implementation. 2015-01-08 23:35:25 -08:00
Ben Vanik dfba5943da Hide invalid interrupt dispatches. 2015-01-07 22:54:50 -08:00
Ben Vanik 9e1c3e1dfc Putting something at 0x40000000. 2015-01-07 22:24:59 -08:00
Ben Vanik 6eb9c3c9e5 Trying to find real register values. 2015-01-07 21:51:03 -08:00
Ben Vanik 662bbb6729 Experimenting with video stuff. 2015-01-07 21:47:46 -08:00
Ben Vanik 3658e710d2 Tweaks; timebase supports TBU. 2015-01-06 00:13:27 -08:00
Ben Vanik 672ecdf252 Some games open readonly paths for writes.. hmm 2015-01-05 23:25:32 -08:00
Ben Vanik 1a70606904 QueryFileSystemAttributes/QueryVolume for STFS/ISO. 2015-01-05 22:32:44 -08:00
Ben Vanik 58e71c7ff3 KeSetDisableBoostThread stub. 2015-01-05 22:32:22 -08:00
Ben Vanik 540740ca41 NtCreateFile/NtOpenFile cleanup. Now opens directories, too. 2015-01-05 22:32:15 -08:00
Ben Vanik 9e65e35a09 Some user profile settings. 2015-01-05 22:11:26 -08:00
Ben Vanik 4aa98ae1e9 fnmadd(s)x 2015-01-05 22:11:02 -08:00
Ben Vanik a82629efd5 Fix dots in path names. 2015-01-04 21:08:47 -08:00
Ben Vanik caad11b30b Support root-relative paths. 2015-01-04 20:57:12 -08:00
Ben Vanik 0b6b6a4189 Fixing buffer flushes. 2015-01-04 16:52:29 -08:00
Ben Vanik 0529fdb84d Basic hacky write watching for texture invalidation. Doesn't scale. 2015-01-04 16:28:42 -08:00
Ben Vanik 55c4488ab2 Fast-pathing MDI's that have only one draw. 2015-01-04 14:23:28 -08:00
Ben Vanik 4fcf9c6229 MultiDrawIndirect draw batching - now down to <20us per draw. 2015-01-04 11:20:42 -08:00
Ben Vanik eda38a7428 Misc tweaks. 2015-01-04 04:59:26 -08:00
Ben Vanik 34fb0e4a8a Optionally track max value seen during copy. 2015-01-04 04:57:40 -08:00
Ben Vanik 56a04592d5 Removing fetch consts from state data. 2015-01-03 13:59:31 -08:00
Ben Vanik 2a082ff242 Tracking bytes used in the scratch buffer. 2015-01-03 13:50:11 -08:00
Ben Vanik 70c0c0fea1 Adding --vendor_gl_extensions flag to disable NV stuff. 2015-01-03 13:40:20 -08:00
Ben Vanik 76c41edfd6 Thread names. 2015-01-03 03:42:27 -08:00
Ben Vanik 3e61cc95cd Tracking whether state changes are compatible for batching. 2015-01-03 03:19:32 -08:00
Ben Vanik 07a82200f9 Shadow state to eliminate most redundant GL calls. 2015-01-03 02:57:58 -08:00
Ben Vanik 858f70549f Dangerous --vsync=false flag. 2015-01-03 01:32:59 -08:00
Ben Vanik c6f0ce7a1e Enabling microprofile webserver and adding a timeout. 2015-01-03 01:06:19 -08:00
Ben Vanik 718762746a A texture cache that never invalidates. 2015-01-03 01:05:56 -08:00
Ben Vanik 79179c28ef Experimenting with index ranges. Look unused by d3d :( 2015-01-02 18:21:39 -08:00
Ben Vanik 5236477043 Batch flushing buffer. 2015-01-02 18:01:48 -08:00
Ben Vanik bb15d2f62f Faster profiler drawing. 2015-01-02 17:44:15 -08:00
Ben Vanik aa22d07caf Super slow MicroProfile GL UI. 2015-01-02 17:26:02 -08:00
Ben Vanik 7629c0f4d2 Latest microprofiler in headless mode. 2015-01-02 10:37:58 -08:00
Ben Vanik 4a7eccf5dc Hiding annoying vertex attrib warning. 2015-01-02 03:01:32 -08:00
Ben Vanik 195b37ca70 Removing glFinish from pre-wait check. 2015-01-02 02:52:29 -08:00
Ben Vanik 420fd11771 --disable_textures flag. 2015-01-02 02:50:12 -08:00
Ben Vanik 53906ee195 Move the window in a bit. 2015-01-02 02:30:37 -08:00
Ben Vanik 1c068a601d Munging with viewport stuff. Nasty. 2015-01-02 00:27:05 -08:00
Ben Vanik be05ab6ffe New shader instrs. 2015-01-02 00:26:52 -08:00
Ben Vanik 6d159dc20d Adding cxx_compat for VS2013 build. Fixes #122. 2015-01-01 22:55:55 -08:00
Ben Vanik 8b8d692f06 Partial shader instr predication. 2015-01-01 22:55:10 -08:00
Ben Vanik ba0745abe2 Hack for weird pixel shader export. 2015-01-01 18:18:47 -08:00
Ben Vanik 009f4c4863 Fixing rectlist for weird cases. 2015-01-01 17:33:58 -08:00
Ben Vanik 2241795713 exp/sqrt shader ops, retain_prev hack. 2015-01-01 16:47:19 -08:00
Ben Vanik 4a11d5e6e2 Fixing ARGB4444 textures. 2015-01-01 16:30:42 -08:00
Ben Vanik 0e04e1c455 Draw tex coords for invalid textures. 2015-01-01 12:25:16 -08:00
Ben Vanik 825c09dd16 Viewport tweaking. Most stuff works better, now. 2015-01-01 11:59:23 -08:00
Ben Vanik 33a3e41eaf DXN textures. Probably. 2014-12-31 19:27:03 -08:00
Ben Vanik 7f4aef18d9 Quad/point list programs. 2014-12-31 19:27:03 -08:00
Ben Vanik 764e35435d Fixing texture unpack. 2014-12-31 19:27:02 -08:00
Ben Vanik 8a70316275 Tweaking. 2014-12-31 19:27:02 -08:00
Ben Vanik 8869d4620f Fixing clears. 2014-12-31 19:27:01 -08:00
Ben Vanik dfc260b86e Textures and such. 2014-12-31 19:27:01 -08:00
Ben Vanik 5b2672a1b8 GLSL shaders translating (modulo texture fetches). 2014-12-31 19:27:01 -08:00
Ben Vanik 58cff84550 Copying over the shader translator - generating d3d shaders now. 2014-12-31 19:27:00 -08:00
Ben Vanik 6573c87b8d --dump_shaders 2014-12-31 19:27:00 -08:00
Ben Vanik ea403b2164 Caching pipelines. 2014-12-31 19:26:59 -08:00
Ben Vanik 14ee211ea9 Experimenting with vertex pipeline. 2014-12-31 19:26:59 -08:00
Ben Vanik d2a3cba4f3 Fixing asserts. 2014-12-31 19:26:58 -08:00
Ben Vanik 39541aaaac Playing with buffers. 2014-12-31 19:26:58 -08:00
Ben Vanik f438ae1bfd Swapping. 2014-12-31 19:26:58 -08:00
Ben Vanik 9c6be1edba Deciphering copy packets. 2014-12-31 19:26:57 -08:00
Ben Vanik 3dffc72e59 Basic render target/framebuffer setup. 2014-12-31 19:26:56 -08:00
Ben Vanik 02d52167d3 GL context on command processor. 2014-12-31 19:26:56 -08:00
Ben Vanik e8de42d9ea Copying in generic shader code. 2014-12-31 19:26:56 -08:00
Ben Vanik 9233661c6f Skeleton for copy_and_swap. 2014-12-31 19:26:55 -08:00
Ben Vanik 10ea5f1dbe Predication (I think). 2014-12-31 19:26:54 -08:00
Ben Vanik f8325512d7 GL4 command processor. 2014-12-31 19:26:54 -08:00
Ben Vanik 42e6a44624 Removing D3D. 2014-12-31 19:26:54 -08:00
Ben Vanik bbb7de6bff Red GL4.5 screen. 2014-12-31 19:26:53 -08:00
Ben Vanik 577ab0a4f1 Main window, empty GPU files. 2014-12-31 19:26:53 -08:00
Ben Vanik d839359b4a UI hacking. 2014-12-31 19:26:52 -08:00
Ben Vanik c1df273600 Moving delegate to poly. 2014-12-31 19:26:51 -08:00
Ben Vanik a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
Ben Vanik 1bd36db421 Missed a bit in dirty page removal. 2014-12-19 20:04:47 -08:00
Ben Vanik 1ae2f2a7af Fixing warnings under the new VC++. 2014-12-19 19:29:12 -08:00
Ben Vanik 756cfbb484 Removing dirty page table hack. 2014-12-19 17:29:27 -08:00
Ben Vanik 71fab4bbb7 Adding VS2015 support. 2014-12-19 17:09:39 -08:00
Ben Vanik de9b6bdc8f Moving xenia-run to just be xenia. 2014-12-19 16:50:27 -08:00
Ben Vanik 9460f737e9 Removing wxWidgets and such. 2014-12-19 16:32:28 -08:00
Ben Vanik a4141e84ce Sigh. 2014-11-08 11:38:07 -08:00
Ben Vanik 21b6c93db0 Tweaking GPU callbacks. 2014-11-08 10:13:08 -08:00
Ben Vanik 7bb61b8099 Fixing some shader stuff. What a mess. 2014-11-03 20:59:08 -08:00
Ben Vanik 05fb4c32eb Faking some texture types. 2014-11-03 19:14:50 -08:00
Ben Vanik 5be1b9458a Adding --max_draw_elements to make debugging easier for now. 2014-11-02 21:50:11 -08:00
Ben Vanik 96c203699d Fixing totally broken vpkd3d128 and adding new pack instructions. 2014-11-02 21:49:39 -08:00
Ben Vanik 32f42cd5ae Tests for vpkd3d128 d3dcolor. 2014-11-02 17:32:50 -08:00
Ben Vanik 9cb4fe03a4 TODO on RETAIN_PREV. 2014-11-02 09:45:28 -08:00
Ben Vanik 36f30b3374 Fixing overlapping texture fetches. 2014-11-02 09:45:13 -08:00
Ben Vanik 8c314225bb Make XPS happy and remove some GPU address munging. 2014-11-02 00:02:17 -07:00
Ben Vanik 3ed9685244 VdSetDisplayMode stubs. 2014-11-01 11:42:59 -07:00
Ben Vanik 4fabd20980 Better process type emulation. 2014-11-01 11:42:44 -07:00
Ben Vanik 8c171a6489 VdEnableDisableClockGating stub. 2014-11-01 11:40:07 -07:00
Ben Vanik 2ee42c2876 VdInitializeScalerCommandBuffer. 2014-11-01 11:12:31 -07:00
Ben Vanik bea90d65cf VdCallGraphicsNotificationRoutines (kind of). 2014-11-01 11:12:07 -07:00
Ben Vanik 4ecb95c6ad Over-notifying signin seems to make some games mad. 2014-10-30 20:50:18 -07:00
Ben Vanik 6053f1d35c Spamming some notifications on startup to unhang games. 2014-10-29 21:09:54 -07:00
Ben Vanik 1566b4c890 Basic hacky SetAffinity. 2014-10-28 22:10:40 -07:00
Ben Vanik 3daf362dfe XamUserAreUsersFriends 2014-10-28 20:54:51 -07:00
Ben Vanik b46a8b3618 Fixing some GPU->CPU addresses. 2014-10-28 20:32:15 -07:00
Ben Vanik 1f9eff2938 misc 2014-10-28 00:23:46 -07:00
Ben Vanik 40e6e661cb Fixing round_up, which was breaking physical alloc alignment. 2014-10-27 23:34:17 -07:00
Ben Vanik fe38598489 Fixing vector compare. 2014-10-26 23:05:38 -07:00
Ben Vanik c13adeb9cf Reset cr6 on vector compare, fix NOT_V128. 2014-10-26 22:19:02 -07:00
Ben Vanik d7698368fc Stubbed XamInputGetCapabilitiesEx. 2014-10-26 20:26:23 -07:00
Ben Vanik 262712d4e9 Fixing livelock caused by lf stuff (or at least making it harder to hit). 2014-10-26 19:05:30 -07:00
Ben Vanik 6fd0fa9103 StoreRelease should also set cr0 lt/gt. 2014-10-26 15:44:12 -07:00
Ben Vanik 5836a81abf XamVoiceIsActiveProcess stub. 2014-10-26 02:42:17 -07:00
Ben Vanik 13edfa95a5 Fake gamer tile reading. 2014-10-26 02:42:03 -07:00
Ben Vanik 3024b755da Tweaks to support missing user settings. 2014-10-26 02:41:48 -07:00
Ben Vanik 5bec5bb203 Fixing stvl/stvr. 2014-10-26 02:01:02 -07:00
Ben Vanik 9649eb0e8d XMMOne != FFFFF.... 2014-10-26 02:00:31 -07:00
Ben Vanik 8098d55ebd stvl/stvr tests; failing right now! 2014-10-26 00:48:48 -07:00
Ben Vanik d8a1c5ce79 Fixing lvr. 2014-10-25 19:28:06 -07:00
Ben Vanik e767c2e90a Fixing permute, I think. 2014-10-25 15:23:27 -07:00
Ben Vanik 07a7f36871 Fix bad preprocessor check. 2014-10-25 14:28:30 -07:00
Ben Vanik e267a6d25e Support for vector expectations and memory init in alloy-ppc-test. 2014-10-25 11:43:24 -07:00
Ben Vanik 009ff4e80f XamLoaderTerminateTitle asserts now to make it easier to track death. 2014-10-25 11:42:54 -07:00
Ben Vanik f3a196c02f Extra rldicl test. 2014-09-13 20:47:38 -07:00
Ben Vanik 447b5bf316 Fixing xex loading into 4k pages. 2014-09-13 19:32:37 -07:00
Ben Vanik 0ad3ed0230 Fixing RtlMultiByteToUnicodeN. 2014-09-13 14:54:47 -07:00
Ben Vanik 69f68bf690 rldicl/rldicr tests. 2014-09-13 13:30:52 -07:00
Ben Vanik 3e48a8c459 rwlinm/rlwnm tests. 2014-09-13 13:02:33 -07:00
Ben Vanik 0d92e14c9f mul tests + fix. 2014-09-13 12:39:00 -07:00
Ben Vanik 82102dd390 div tests + fix. 2014-09-13 01:08:14 -07:00
Ben Vanik 6ce5fa2c48 add tests. 2014-09-13 01:04:53 -07:00
Ben Vanik 9690525abc Fixing left and right shifts. 2014-09-10 23:07:03 -07:00
Ben Vanik e50a45d33d eqv tests. 2014-09-10 21:32:55 -07:00
Ben Vanik feffe590f2 Shift tests and fix for bad sradi decoding. 2014-09-10 21:26:35 -07:00
Ben Vanik 8666c3975a Fixing alloy-test. 2014-09-10 21:24:49 -07:00
Ben Vanik 4603869bdc cntlzw tests. 2014-09-10 20:23:19 -07:00
Ben Vanik fdaee413e2 Subtract instruction tests. 2014-09-10 20:14:43 -07:00
Ben Vanik 28da7ecf5f Embarassing, but this fails. 2014-09-10 17:48:26 -07:00
Ben Vanik 67d29c191f Test path fix. 2014-09-10 17:43:38 -07:00
Ben Vanik 4d59e081b3 Switching from make to shell script for test building. 2014-09-09 22:25:37 -07:00
Ben Vanik 7a81a08486 Test runner now supports multiple tests per file. 2014-09-09 21:54:35 -07:00
Ben Vanik a337ce33ed Getting ppc tests building again (big surprise: they are failing). 2014-09-09 20:25:38 -07:00
Ben Vanik ed61d025c1 vcmpbfp 2014-09-01 14:18:41 -07:00
Ben Vanik c9229670db Fixing warnings. 2014-09-01 14:14:55 -07:00
Ben Vanik 080a0f8026 Fixing vsel. 2014-09-01 13:00:00 -07:00
Ben Vanik d30483bf53 Fixing IVM vector compare. 2014-09-01 12:24:53 -07:00
Ben Vanik 1bd789de56 A few more altivec instructions. 2014-09-01 10:50:47 -07:00
Ben Vanik c00e162b88 Unpack d3dcolor const. 2014-09-01 10:47:37 -07:00
Ben Vanik 8dcfe94d81 Fix cleanup of object table (double NtClose crash). 2014-09-01 10:03:52 -07:00
Ben Vanik 9c2cf49755 Tweaking some instructions. 2014-08-29 21:49:26 -07:00
Ben Vanik f74aafeb8a Swapping around vec128 to match AVX order.
Was really hoping all this would fix some bugs, but no luck :(
2014-08-29 20:39:26 -07:00
Ben Vanik 8ca7642226 VectorSubF32 in IVM -- how did this not exist already? 2014-08-24 21:41:16 -07:00
Ben Vanik 28bae464c2 Adding vector add tests and fixing bugs found (still broken). 2014-08-23 22:09:30 -07:00
Ben Vanik 96007049d2 Starting tests. This is going to take some time. 2014-08-23 17:09:19 -07:00
Ben Vanik 423790209b Removing implicit vector add/sub. 2014-08-23 16:32:40 -07:00
Ben Vanik 2a9f164f8e Alloy test shim. 2014-08-23 14:53:36 -07:00
Ben Vanik 389de8b107 Subtract should subtract. Thanks hlide! 2014-08-23 09:55:49 -07:00
Ben Vanik 168239b469 Optimizing eflags access (I think). 2014-08-22 21:58:57 -07:00
Ben Vanik 540b192b1a Emulating vector sub signed sat i32. 2014-08-22 21:58:46 -07:00
Ben Vanik f6c73819a3 Fixing add_carry (+typos). 2014-08-22 21:58:28 -07:00
Ben Vanik ba5b626cdf Fixing win32 build. Silly VC. 2014-08-22 18:44:52 -07:00
Ben Vanik eebe68b77a Merge branch 'master' of github.com:benvanik/xenia 2014-08-22 18:39:34 -07:00
Ben Vanik 6f802c2432 Fixing many clang warnings. 2014-08-21 23:10:08 -07:00
Ben Vanik 7ae303dfa2 alloy-sandbox running on osx (ivm only). 2014-08-21 22:46:12 -07:00
Ben Vanik 93285acf7b Fixing link errors on clang (probably breaks mdvc...) 2014-08-21 22:30:02 -07:00
Ben Vanik f65d860640 Cleaning up some clang issues. 2014-08-21 22:27:33 -07:00
Ben Vanik 52678ed1ef Removing dead ExportResolver code. 2014-08-21 21:53:06 -07:00
Ben Vanik 9b76d02f26 Fixing alloy-sandbox. 2014-08-21 21:36:34 -07:00
Ben Vanik 82b9841b5a Removing alloy/core.h. 2014-08-21 20:49:47 -07:00
Ben Vanik e1b0388faf Splitting logging core into poly. 2014-08-21 20:26:55 -07:00
Ben Vanik 08b0226a16 Finishing unique_ptr'ing and fixing file memory management (for now). 2014-08-21 07:54:19 -07:00
Ben Vanik c59d053404 unique_ptr'ing things and removing some XECLEANUP. 2014-08-20 23:26:46 -07:00
Ben Vanik 244e8a8745 Removing the last of XEDECLARECLASS. 2014-08-20 22:50:10 -07:00
Ben Vanik 06f5b8cbbf Removing dep on xenia/types.h from alloy. 2014-08-20 22:37:01 -07:00
Ben Vanik cecf83b7b7 Removing xenia/malloc.*
Using standard memory functions now.
2014-08-20 22:22:47 -07:00
Ben Vanik 609d7c755f Create README.md 2014-08-20 11:35:22 -07:00
Ben Vanik c38cf294f5 Create README.md 2014-08-20 11:27:05 -07:00
Ben Vanik 7fc87730e2 Create README.md 2014-08-20 11:19:31 -07:00
Ben Vanik 29dd4b9483 Create README.md 2014-08-20 11:17:05 -07:00
Ben Vanik d33cae1baf Auto swap for a few structs and shifting code around. 2014-08-19 22:55:09 -07:00
Ben Vanik fb98683ed3 Converting HID API to use be<> auto swapping type. 2014-08-19 22:50:21 -07:00
Ben Vanik 48a0e5c601 Shrinking alloy memory interface so that alloy-sandbox doesn't need xe. 2014-08-19 21:02:15 -07:00
Ben Vanik 76d524b655 Removing dead file. 2014-08-19 20:05:51 -07:00
Ben Vanik 41f3c92c25 Fixing build. 2014-08-19 19:41:29 -07:00
Ben Vanik b870914795 Removing use of MEMORY_BASIC_INFORMATION. 2014-08-18 22:12:21 -07:00
Ben Vanik d578f5d0f0 Mostly fixing up alloy clang build. 2014-08-18 22:01:55 -07:00
Ben Vanik 2356164525 Fixing implicit narrow warning. 2014-08-18 21:07:16 -07:00
Ben Vanik 1c4dcd5e0e clang-format on most of kernel/ 2014-08-17 13:13:03 -07:00
Ben Vanik 854bcdb60a Moving mmap to poly, cleaning up devices. 2014-08-17 12:57:02 -07:00
Ben Vanik 24fe169f36 Last bit of string cleanup. string.h finally gone. 2014-08-17 11:48:29 -07:00
Ben Vanik 383d3acbb0 Some fs/ cleanup. 2014-08-16 21:36:01 -07:00
Ben Vanik fdab788017 Removing PAL. 2014-08-16 21:19:21 -07:00
Ben Vanik 6cb9ca432f More shared header cleanup. 2014-08-16 19:07:21 -07:00
Ben Vanik 4675161902 Header cleanup. 2014-08-16 18:31:54 -07:00
Ben Vanik 27bc4ba405 Removing XEINLINE*. 2014-08-16 18:19:35 -07:00
Ben Vanik f2a9fa3bf9 XECOUNT to countof. 2014-08-16 17:58:33 -07:00
Ben Vanik 187d0ad277 Removing XESAFERELEASE. 2014-08-16 17:33:24 -07:00
Ben Vanik 5b83cf5fd1 Moving around some math macros. 2014-08-16 17:18:20 -07:00
Ben Vanik 54ce9db743 Starting to remove some macros. 2014-08-16 16:57:00 -07:00
Ben Vanik ead74f2cdb More string switching. 2014-08-16 16:46:20 -07:00
Ben Vanik 7c5fa88661 More string swapping and cleaning up main(). 2014-08-16 16:34:13 -07:00
Ben Vanik 18ee972b47 Merge pull request #116 from wszechpolak/write-gamer-tile
Add XamUserWriteProfileSettings stub
2014-08-16 16:23:14 -07:00
wszechpolak 2c4c7e11dc Add XamUserWriteProfileSettings stub 2014-08-17 00:32:13 +02:00
Ben Vanik 0675282e19 Merge pull request #115 from wszechpolak/write-gamer-tile
Fix XamWriteGamerTile
2014-08-16 14:56:01 -07:00
wszechpolak 1f8cfb6fce Clean 2014-08-16 22:49:50 +02:00
wszechpolak b449e9f5cc Add X_ERROR_FUNCTION_FAILED 2014-08-16 22:49:13 +02:00
wszechpolak 1361fda884 Fix XamWriteGamerTile to make it support both sync/async requests 2014-08-16 22:47:08 +02:00
Ben Vanik e082d085d0 Merge pull request #114 from wszechpolak/write-gamer-tile
Added XamWriteGamerTile - should fix #109
2014-08-16 09:03:22 -07:00
wszechpolak 2f12585af9 Added XamWriteGamerTile - should fix #109 2014-08-16 12:17:43 +02:00
Ben Vanik 66d2336e38 More string conversion. 2014-08-16 02:50:08 -07:00
Ben Vanik a4dfc23abc Working on switching to std::string. 2014-08-16 02:30:23 -07:00
Ben Vanik 01f0b14250 Removing xe_thread_t. 2014-08-16 01:36:45 -07:00
Ben Vanik bca49bed4b Removing xe_mutex_t. 2014-08-16 00:56:50 -07:00
Ben Vanik 96fb484dd9 Removing unused crc32/file code from core. 2014-08-16 00:36:18 -07:00
Ben Vanik c84fcc70a4 Cleaning up kernel namespaces. 2014-08-16 00:25:13 -07:00
Ben Vanik bf48e9fbbd Part 2 of kernel cleanup: merging functions into shims. 2014-08-16 00:11:24 -07:00
Ben Vanik 916dc397ab Part 1 of kernel simplification/cleanup: removing externs. 2014-08-15 22:59:28 -07:00
Ben Vanik 56ce363ac5 Removing export impl. 2014-08-15 22:31:44 -07:00
Ben Vanik 48fbefa75e Fixing warnings/bug in NtQueryVirtualMemory. 2014-08-15 22:27:07 -07:00
Ben Vanik 1a39f5bd06 Experimenting with xdb API, starting on compare tool. 2014-08-15 22:02:11 -07:00
Ben Vanik 3de39aaf10 Postmortem debug target now loads/scans the trace and inits the filesystem. 2014-08-15 22:02:10 -07:00
Ben Vanik 4768f2fc0b Moving XdbApp under ui::. 2014-08-15 22:02:10 -07:00
Ben Vanik 21225b5917 xdb progress; skeleton trace loading. 2014-08-15 22:02:09 -07:00
Ben Vanik bae26f7dfc Skeleton xdb UI. 2014-08-15 22:02:08 -07:00
Ben Vanik c275562594 Mostly complete tracing. Probably a lot of bugs. 2014-08-15 22:02:08 -07:00
Ben Vanik cebf595958 Skeleton for xdb. 2014-08-15 22:02:07 -07:00
wszechpolak 50684f8f0d Implemented NtQueryVirtualMemory 2014-08-15 08:14:57 +02:00
wszechpolak b618f38e62 Pass base address without reference 2014-08-14 22:10:11 +02:00
wszechpolak b5826e0e94 Added stub of NtQueryVirtualMemory 2014-08-14 21:37:57 +02:00
Ben Vanik a5a0fd61e2 Full display info struct. 2014-08-08 15:24:48 -07:00
Ben Vanik fa1693d3a3 ADD_CARRY constant prop for load-CA cases. 2014-08-07 13:23:44 -07:00
Ben Vanik e4485bdab1 Fixing tracing format to match IVM and aligned loads of doubles. 2014-08-07 13:23:25 -07:00
Ben Vanik 31ee323b38 VECTOR_ADD signed/saturate. 2014-08-07 13:22:51 -07:00
Ben Vanik 04a3e53e50 Fixing IVM. 2014-08-06 17:05:15 -07:00
Ben Vanik 6b581bcc75 Simple IC for indirect calls. 2014-08-06 16:31:38 -07:00
Ben Vanik 4ce81fcda8 CAS should return a bool. 2014-08-06 15:48:31 -07:00
Ben Vanik b02ce5e95e Adding control flow simplification pass to compensate for lack of phi. 2014-08-06 14:19:42 -07:00
Ben Vanik bba3315f58 Make context promotion pass use bitmaps. 2014-08-06 14:19:07 -07:00
Ben Vanik 71ca8993b9 Constant src1 VectorSHL 2014-08-06 13:07:01 -07:00
Ben Vanik 2de7b6723d Fixed unwind info getting overwritten sometimes. 2014-08-06 11:51:37 -07:00
Ben Vanik a53ee330ce Marking branches/calls as volatile. 2014-08-06 11:41:37 -07:00
Ben Vanik 646b32ad4f Prevent context promotion across instructions marked volatile. 2014-08-06 11:40:10 -07:00
Ben Vanik 9efd372d92 Reset CFG edge tracking on re-run. 2014-08-06 11:38:36 -07:00
Ben Vanik b6046b1860 Move cr update to StoreRelease - prevents extra block. 2014-08-06 11:37:54 -07:00
Ben Vanik 5162d69ab2 String buffer using std::vector (and fixing an allocation bug). 2014-08-06 11:37:16 -07:00
Ben Vanik a085dc547e Fix potential heap corruption in code cache. 2014-08-06 11:36:16 -07:00
Ben Vanik d8502c2aa9 Trap without fragmenting blocks. 2014-08-06 09:01:36 -07:00
Ben Vanik 19274ef26d Better validation that values aren't moving between blocks. 2014-08-06 09:00:59 -07:00
Ben Vanik ff59f23de0 VectorRotateLeft for vrl*. 2014-08-05 18:57:34 -07:00
Ben Vanik 333fc71b44 vsubu*m 2014-08-05 15:14:01 -07:00
Ben Vanik f668dcd56b cr* operations. 2014-08-05 14:59:48 -07:00
Ben Vanik 75eb87f33d Adding VECTOR_SUB for vsub*. 2014-08-05 14:03:49 -07:00
Ben Vanik f149a23367 XUsbcamCreate stub. 2014-08-05 13:06:33 -07:00
Ben Vanik b58b7c1783 Debug cleanup. 2014-08-05 12:51:01 -07:00
Ben Vanik 31f886d8d9 Fixing overallocation of thread stacks (expending heap). 2014-08-05 12:05:45 -07:00
Ben Vanik 1d7b08b85b dlmalloc does not fail when it runs out of memory... 2014-08-05 12:05:27 -07:00
Ben Vanik 07afc58264 Untested VECTOR_SHA 16 variable and VECTOR_SHL 16 variable. 2014-08-05 11:49:59 -07:00
Ben Vanik 810c256f21 Fix register allocator with STORE_LOCAL. May indicate redundant stores. 2014-08-05 11:48:45 -07:00
Ben Vanik 2854841753 Better XMsg errors. 2014-08-05 10:44:55 -07:00
Ben Vanik 86241d0ae8 XNetCleanup/XNetRandom stubs. 2014-08-05 10:12:15 -07:00
Ben Vanik 3150f41ea0 oh ffs - properly suspending threads on creation. 2014-08-05 09:10:00 -07:00
Ben Vanik 2d4ae9ba64 XAudioEnableDucker 2014-08-04 22:02:28 -07:00
Ben Vanik 4e276695bf XamUserGetDeviceContext 2014-08-04 22:02:19 -07:00
Ben Vanik 8460afadd3 RtlUnicodeStringToAnsiString 2014-08-04 21:54:09 -07:00
Ben Vanik 8471408273 lhau(x), fixes #110. 2014-08-04 20:46:14 -07:00
Ben Vanik 64d8ee386b XamShowMessageBoxUI (that auto-advances). 2014-08-04 20:24:08 -07:00
Ben Vanik 66d2a8aec2 Setting XMA pointer to make errors clearer. 2014-08-04 18:55:00 -07:00
Ben Vanik a593d940eb std min/max. 2014-08-04 18:54:44 -07:00
Ben Vanik f0e9fd92a0 VECTOR_MIN and VECTOR_MAX instructions. 2014-08-04 18:54:06 -07:00
Ben Vanik e6275691cb KeEnableFpuExceptions stub. 2014-08-04 15:46:52 -07:00
Ben Vanik 296bb5c87a Dummy IRQL stuff to silence warnings. 2014-08-04 15:39:42 -07:00