Commit Graph

908 Commits

Author SHA1 Message Date
PatrickvL 77eb481592 research 2016-11-03 02:05:32 +01:00
PatrickvL 3b7b6d32ae NV2A read/write handlers via macro's. Added debug logging for all known addresses 2016-11-02 01:37:27 +01:00
PatrickvL f60dd1e716 Merge remote-tracking branch 'refs/remotes/origin/LLE' into LukeUsher/LLE 2016-11-01 21:54:09 +01:00
PatrickvL e9657bb973 Merge remote-tracking branch 'refs/remotes/LukeUsher/LLE' into LLE 2016-11-01 21:53:30 +01:00
PatrickvL 3911a68476 Merge remote-tracking branch 'refs/remotes/origin/master' into LLE 2016-11-01 21:53:22 +01:00
Luke Usher 588aa5745b Began porting NV2A emulation from XQEMU. 2016-10-28 19:57:13 +01:00
Luke Usher d424f0b004 Merge branch 'master' into LLE 2016-10-27 22:15:06 +01:00
Luke Usher 951cd229b3 Add IDirectSound8_CreateStream to 4627 and below.
Allows Innocent Tears to get a little further.
2016-10-27 22:14:42 +01:00
Luke Usher 0d7e5da04e Merge branch 'master' into xboxkrnl-improvements 2016-10-27 09:20:52 +01:00
Luke Usher 3d740690bf Merge branch 'master' into LLE 2016-10-27 09:20:30 +01:00
Luke Usher cfaae52f53 implement automatic versioning based on git status
If the current commit has a tag, the version string will be "Cxbx-Reloaded TAG_NAME (DATE)
If the current commit does not have a tag, the version string will be "Cxbx-Reloaded COMMIT_SHORT_HASH (DATE)"
2016-10-27 09:19:50 +01:00
Luke Usher 52673a5ceb Add dummy implementation for MmLockUnlockBufferPages 2016-10-26 17:07:37 +01:00
Luke Usher c6426b1209 Initial implementation of ExQueryPoolBlockSize
This is not completely correct. but will do for now.
In order to be correct, it will be required to set up a proper pool entry object in ExAllocatePoolWithTag
2016-10-24 21:27:19 +01:00
Luke Usher 783714bc64 Add break statements.
I should not attempt to program while tired
2016-10-23 21:30:34 +01:00
Luke Usher 2879e2a9ed Add dummy write handlers for NV2A memory regions 2016-10-23 21:24:09 +01:00
Luke Usher f7da5133ec Merge branch 'xboxkrnl-improvements' into LLE 2016-10-23 20:14:15 +01:00
Luke Usher f4621c934c Should return a value here 2016-10-23 20:13:54 +01:00
Luke Usher 3c23011f03 Merge branch 'xboxkrnl-improvements' into LLE 2016-10-23 20:08:00 +01:00
Luke Usher 72c8acbaf9 Add implementations for KeWaitForMultipleObjects & KeWaitforSingleObject
Add additional nullptr checks within Critical Section emulation
2016-10-23 20:07:27 +01:00
Luke Usher 7d6e206891 Fix compilation issue. EmuNV2A_PTIMER_Read32 got duplicated in previous merge 2016-10-21 22:55:28 +01:00
PatrickvL bd7e18330d Merge remote-tracking branch 'refs/remotes/origin/LLE_contrib' 2016-10-21 23:41:16 +02:00
PatrickvL 23de0a544a tmp 2016-10-21 23:20:56 +02:00
Luke Usher 6b48356773 Merge pull request #12 from PatrickvL/LLE_contrib
Lle contrib
2016-10-21 20:57:42 +01:00
PatrickvL eaf487f7a6 Added read32 handlers for all nv2a subcomponents 2016-10-21 17:57:57 +02:00
PatrickvL a98981399b Show value too for unhandled Emu*_Write32 calls. 2016-10-21 16:51:32 +02:00
Luke Usher 8258a4bfcb EmuX86: MOV now works with most operand types
EmuX86: TEST has been implemented for REGISTER, IMMEDIATE addressing mode

Most tiles now hang polling NV2A memory space, looks like it's time to start implementing that
2016-10-08 22:39:46 +01:00
Luke Usher c9b02799b7 Merge tag 'v0.0.1-POC' into LLE 2016-10-08 21:18:42 +01:00
Luke Usher 3d23b9aef0 Rebrand to Cxbx-Reloaded and prepare for initial Proof of Concept release 2016-10-07 17:20:30 +01:00
Luke Usher 5fb846368b Support EDI & ESI registers in EmuX86_MOV 2016-10-07 15:20:46 +01:00
Luke Usher da6db2258c D3D8 checks no longer needed in HLEIntercept 2016-10-07 15:19:49 +01:00
Luke Usher 514cce2f6e Began implementing X86 interpreter fallback for instructions Direct Code execution fails on
Began setting up LLE structure for NV2A
2016-10-07 10:55:44 +01:00
Luke Usher 0b07ff8600 Disable D3D8 and XGRAPHC HLE 2016-10-07 10:51:43 +01:00
Luke Usher 992da947be Setting up the structure for LLE 2016-10-06 22:15:19 +01:00
Luke Usher ce5e94f63a Minor fixes to EmuX86_DecodeException 2016-10-06 10:43:19 +01:00
Luke Usher 42207a64e2 Don't attempt to decode instructions that are at a lower address than the XBE base address 2016-10-06 09:53:59 +01:00
Luke Usher ac7c4a3c8c Add binaries for Zydis, that way there is no need to use CMake to build Cxbx 2016-10-06 08:53:54 +01:00
Luke Usher 0f7ddacfd4 Hmm, this is preperation for something... I wonder what it might be ;) 2016-10-06 08:51:00 +01:00
Luke Usher 27e86ff74a Add a couple of D3D8 symbols for 3925 2016-10-06 08:38:47 +01:00
Luke Usher 33bccd66de Remove hack that skips privilages instructions
These need to be properly emulated eventually, so it's better for them to notify us with a crash than to go unnoticed
2016-10-03 18:31:45 +01:00
Luke Usher b7d73ccda3 Fix a typo preventing compilation 2016-10-02 20:23:22 +01:00
Luke Usher 8c7a5dd9dc Removed a hack added to D3D8 HLE Database 2016-10-02 19:45:11 +01:00
Luke Usher a550f89a8b Prevent interpreting 0xFFFFFFFE and 0xFFFFFFFF as EmuHandle.
0xFFFFFFFF = HANDLE_INVALID_VALUE
0xFFFFFFFE = Special HANDLE representing the current thread
2016-10-02 10:09:21 +01:00
Luke Usher 480152ce11 Update README.md 2016-09-30 08:33:33 +01:00
Luke Usher a160db2c72 XApiVerifyMediaInDrive now passes validation without patches 2016-09-30 06:45:47 +01:00
Luke Usher cedc176eb6 We don't need to intercept XApiBootDash 2016-09-30 06:45:11 +01:00
Luke Usher 08efaf9e53 Implement Partition0 support
Adding some kernel functions in preparing to remove more XAPI patches
2016-09-29 12:24:23 +01:00
Luke Usher 45482840ba Fix a bug in IsEmuHandle
Crash Bandicoot boots again, many more titles should get further than they did before
2016-09-29 06:56:56 +01:00
Luke Usher 8223e5154c Show a warning when a title reboots to dashboard 2016-09-29 06:56:11 +01:00
Luke Usher bc868a4b48 Save LaunchData to the directory of the title to launch, this ensures it will be picked up by the launched title 2016-09-28 20:58:52 +01:00
Luke Usher 0704b81fda XLaunchNewImage can now be used to reboot to dashboard (if present) 2016-09-28 20:54:48 +01:00