Commit Graph

  • 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
  • b8edeba195 Actually aligning physical alloc requests. Ben Vanik 2013-10-19 18:18:19 -07:00
  • 49ee9d05b9 Fixed LR branching. gibbed 2013-10-19 17:06:53 -07:00
  • 7b0ca71bfb Fixing broken test. Ben Vanik 2013-10-19 17:08:34 -07:00
  • 68d5f33cfa GPU byte swapping. A lot of other packets likely do this. Ben Vanik 2013-10-19 16:29:00 -07:00
  • f15b5dae9d I think this is right. gibbed 2013-10-19 15:07:59 -07:00
  • f7ad9c89dd Messing with stvlx. Ben Vanik 2013-10-19 14:36:32 -07:00
  • 91e6c4ed9a Adding address mask to stvlx. Ben Vanik 2013-10-19 14:29:14 -07:00
  • 31161e0245 SHUFPS_SWAP_DWORDS to make it easier to tell what it's doing. Ben Vanik 2013-10-19 14:21:56 -07:00
  • 5df538cd44 Adding stack alignment check. We aren't 16b aligned right now. Fuck. Ben Vanik 2013-10-19 14:16:34 -07:00
  • 007f7e371d Workaround for yet another AsmJit bug. Sigh. Ben Vanik 2013-10-19 12:50:42 -07:00
  • 37065255a2 Dispatching interrupts. Ben Vanik 2013-10-19 12:50:26 -07:00
  • 90bc6ad1a8 Interrupts fire on the right 'thread', ringbuffer work, Ben Vanik 2013-10-19 11:50:01 -07:00
  • 6db8c6c961 Implementing thread state block access. Ben Vanik 2013-10-19 02:52:32 -07:00
  • 32a0045001 This is probably better. gibbed 2013-10-19 01:18:18 -07:00
  • c60230f28a Implementing scratch registers correctly (I think). Ben Vanik 2013-10-19 01:16:13 -07:00
  • 1616d7ba22 WAIT_MEM_REG, REG_RMW (untested), COND_WRITE Ben Vanik 2013-10-19 00:46:35 -07:00
  • a63db2b7fd Dispatch interrupt outside of main pump. Ben Vanik 2013-10-19 00:46:11 -07:00
  • 562c86f76d Extending critical sections to spin forever for now. Ben Vanik 2013-10-18 21:55:43 -07:00
  • 01a94f3850 VdGetSystemCommandBuffer stub. Ben Vanik 2013-10-18 21:39:29 -07:00
  • 0746e6feb2 ldarx/lwarx/stdcx/stwcx. Probably. Ben Vanik 2013-10-18 21:17:20 -07:00
  • f2550bd017 KeEnterCriticalRegion/KeLeaveCriticalRegion. Ben Vanik 2013-10-18 19:49:51 -07:00
  • 6a02ae3768 KfAcquireSpinLock/KfReleaesSpinLock. Ben Vanik 2013-10-18 19:11:37 -07:00
  • 28e7102a02 Always dump CPU info and assert our dummy thread value is legit. Ben Vanik 2013-10-18 18:56:59 -07:00
  • 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. Ben Vanik 2013-10-17 23:35:54 -07:00
  • a1627fa6a7 Python3-ifying the xenia-build script, though gyp still needs 2.7. Ben Vanik 2013-10-17 21:41:14 -07:00
  • ff54a04aa1 asmjit fixes. Ben Vanik 2013-10-17 14:03:26 -07:00
  • 20720f750d KeSetAffinityThread stub, Ob* fns added, current thread handled. Ben Vanik 2013-10-17 00:47:02 -07:00
  • 7bf6992203 NtSetEvent/NtWaitForSingleObjectEx. Ben Vanik 2013-10-16 23:04:52 -07:00
  • 1b12949dd2 NtQueryFullAttributesFile. Ben Vanik 2013-10-16 22:41:31 -07:00
  • fd1054d823 NtSetInformationFile for seek position. Ben Vanik 2013-10-16 22:28:26 -07:00
  • 5de9b84904 Fixing line endings. Need to run a script to do this... Ben Vanik 2013-10-16 22:22:17 -07:00
  • a41827942e Some NtQueryInformation classes. Ben Vanik 2013-10-16 22:19:50 -07:00
  • 956496fb99 Added KeBugCheck and KeBugCheckEx. gibbed 2013-10-16 22:08:41 -07:00
  • f4d3c180f2 Helper script to generate a .map file. gibbed 2013-10-16 21:50:14 -07:00
  • ab1ba9a508 Partially implemented NtQueryFullAttributes. Enough to get past the ShaderDump test most games seem to do. Ben Vanik 2013-10-16 21:32:53 -07:00
  • c53db98517 Locking around some JIT stuff. Excessive for now, but safer. Ben Vanik 2013-10-16 21:32:20 -07:00
  • 8e37fb8502 Bytes read via ReadFile! Ben Vanik 2013-10-16 20:50:46 -07:00
  • fea5c06180 Fixing line endings. Ben Vanik 2013-10-16 20:10:16 -07:00
  • ab5b9d75e0 Reworking file system so that it's easier to implement file operations. Ben Vanik 2013-10-16 20:07:10 -07:00
  • 1808af26b1 Removing /MP flag from VS projects. This was breaking build caching in VS2012. Ben Vanik 2013-10-16 20:05:06 -07:00
  • d5bd8b9d5b Merge branch 'master' of https://github.com/benvanik/xenia gibbed 2013-10-16 19:05:04 -07:00
  • 16b0c936d4 Fixed argument size handling in _vsnprintf_shim, like DbgPrint_shim. gibbed 2013-10-16 19:04:23 -07:00
  • 46b42528fd Fixed xeRtlFillMemoryUlong so it swaps the pattern back to native endianness. gibbed 2013-10-16 18:58:50 -07:00
  • 309d1621e5 Attempt at a fix for crashes occuring when not using instruction/branch tracing. gibbed 2013-10-16 18:55:21 -07:00
  • 803e4998de Starting to wire up readfile. Ben Vanik 2013-10-16 00:23:05 -07:00
  • da2f7f1ea5 Shuffling filesystem to xboxkrnl. This doesn't really change anything yet, just moves things. Also fixed some bad over-including. Ben Vanik 2013-10-15 23:09:51 -07:00
  • 26c06e13d9 Checking in intermediate FS work before moving code. Ben Vanik 2013-10-15 22:51:19 -07:00
  • a8d10cd9d3 NtClose/NtReadFile skeleton. Ben Vanik 2013-10-15 22:28:00 -07:00
  • 388f354870 Basic NtCreateFile. Ben Vanik 2013-10-15 21:30:57 -07:00
  • f409795dd1 Fixing PM4 type 0 packet parsing. Ben Vanik 2013-10-15 20:23:54 -07:00
  • a483704855 Sneaky tabs. gibbed 2013-10-15 19:18:28 -07:00
  • d79bd8cfa7 Renamed xboxkrnl_file* to xboxkrnl_nt*, added xboxkrnl_io*. gibbed 2013-10-15 19:18:03 -07:00
  • f59ff2e44a Fixed debug output format for NtCreateFile. gibbed 2013-10-15 05:30:25 -07:00
  • 5176a7e7c9 Stubbing out some file stuff. gibbed 2013-10-15 05:16:05 -07:00
  • 6cda645911 Adding instruction address identifier when not tracing. This can be removed later. Ben Vanik 2013-10-14 21:53:34 -07:00
  • 900252a590 Another dummy XCONFIG value. Ben Vanik 2013-10-14 21:48:26 -07:00
  • 0b24356080 Skipping unknown form of PM4_EVENT_WRITE_SHD for now. Ben Vanik 2013-10-14 21:35:23 -07:00
  • 80e3e6fa14 Ignoring unimplemented disasm functions by default. Ben Vanik 2013-10-14 21:34:13 -07:00
  • 963667f65c Forcing bl to function calls. Ben Vanik 2013-10-14 21:33:54 -07:00
  • 8294f22d76 Ignore decommits for now. Ben Vanik 2013-10-14 19:06:26 -07:00
  • 929ea13548 Emulated vslb. Ben Vanik 2013-10-14 18:33:17 -07:00
  • 1eba1fb5c2 vspltb Ben Vanik 2013-10-14 18:21:26 -07:00
  • 5bed1069f8 mulhwx/mulhwux Ben Vanik 2013-10-14 17:49:21 -07:00
  • 1e66e39efc divdux/mulldx Ben Vanik 2013-10-14 17:30:25 -07:00
  • dc804f2471 KeQuerySystemTime/NtCreateEvent. Ben Vanik 2013-10-14 17:19:42 -07:00
  • 16020df6a2 mfcr disasm. Ben Vanik 2013-10-14 00:48:23 -07:00
  • 76ca76bb67 Disabling hole filling in the SDB. This was required when the AOT CPU was built, but isn't needed now. Ben Vanik 2013-10-14 00:39:13 -07:00
  • 602ed5393e vspltisb/ldarx/stdcx. ldarx/stdcx are just as faked as the w equivalents. Ben Vanik 2013-10-14 00:13:40 -07:00
  • 72b54cfe2a Fixing recursion branches. Ben Vanik 2013-10-13 22:59:19 -07:00
  • b28c51271d A bunch of disasm instructions used by some games. Ben Vanik 2013-10-13 22:53:33 -07:00
  • e0701905dd Dummy values that games seem to want. Ben Vanik 2013-10-13 22:25:23 -07:00
  • 2eed0b1575 Fixing wraparound. This still needs a tremendous amount of cleanup. Ben Vanik 2013-10-13 21:18:23 -07:00
  • 4887234bba Fixing ring buffer wrap around. I think. Ben Vanik 2013-10-13 13:39:46 -07:00
  • e0af361d74 Preventing (one of likely many) race condition with ringbuffer. This was causing acks for commands not executed if the CPU ran faster than the GPU. Ben Vanik 2013-10-13 12:17:07 -07:00
  • 41a652dd03 Manual reset was not the solution. Bah. Ben Vanik 2013-10-13 12:09:25 -07:00
  • f49e35636d Fixing uninitialized members. Wish VC++ warned about this line clang does... Ben Vanik 2013-10-13 11:14:46 -07:00
  • c6d779920d Switch ring buffer wait event to manual reset. Avoids timing issues with kicks. Ben Vanik 2013-10-13 11:06:45 -07:00
  • fa4c7cdd83 Wait until the ringbuffer thread is spun up. This could be made much nicer. Ben Vanik 2013-10-13 11:06:29 -07:00
  • cc12f0b96a Periodically fire interrupts. Ben Vanik 2013-10-13 11:06:13 -07:00
  • 96a857e892 Massively disgusting and incomplete shader translator. Ben Vanik 2013-10-12 22:14:23 -07:00
  • 0ef278325f Hacking to get first triangle drawn. Ben Vanik 2013-10-12 15:07:34 -07:00