Commit Graph

909 Commits

Author SHA1 Message Date
PatrickvL 21ac7bc71d Updated all logging to use new macro's
Removed DbgFunc* variadic macro's.
2016-11-10 23:57:21 +01:00
PatrickvL b379ca30da WIP 2016-11-10 17:46:49 +01:00
PatrickvL fb6d6fd321 Got most of the new Dbg macro's working, except the most important one (the call to DbgFuncHexArg) 2016-11-08 17:23:32 +01:00
PatrickvL 2b240faffd Prevent redefined status warning
From
f24486fa17
2016-11-08 13:57:13 +01:00
PatrickvL 1e15027bd0 Small cleanuo, macro's not fully functional yet 2016-11-08 00:45:40 +01:00
PatrickvL 966745cfe6 Renamed DbgFuncArgs to DbgFuncFmtArgs, added DbgFuncHexArgs
DbgFuncHexArgs doesn't need a format string anymore, because of creative
use of macro defines.

Note : This is not tested yet!
2016-11-07 14:56:46 +01:00
PatrickvL 89b2a5cf5f Small speedup in Mutex::Lock() 2016-11-07 11:39:27 +01:00
PatrickvL 3f47c7bef5 Removed useless #ifdef _DEBUG_TRACE checks surrounding single DbgPrintf statements (since this checks _DEBUG_TRACE itself already) 2016-11-07 11:39:10 +01:00
PatrickvL 94d3fbbffe Replaced DbgPrintg EmuKrnl with DbgFuncArgs, avoiding typos altogether 2016-11-07 11:38:59 +01:00
PatrickvL 02708b4f1f Revert unintentional update with LleContrib
Reverted
bd7e18330d

via :
git revert -m1 bd7e183
edit src\Cxbx.h # manually fixed conflict
git add src\Cxbx.h

Commit
2016-11-07 08:43:44 +01:00
PatrickvL 54327cf829 Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-07 08:09:05 +01:00
PatrickvL 8f8fbd633b More typo corrections 2016-11-06 19:27:44 +01:00
PatrickvL 903de5daaf Corrected more DbgPrintf typos 2016-11-06 16:19:57 +01:00
PatrickvL 0414a2d23c Fix typo 2016-11-06 14:55:15 +01:00
PatrickvL 4029a58dd1 Merge remote-tracking branch 'refs/remotes/origin/LLE' 2016-11-01 21:51:04 +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 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 f4621c934c Should return a value here 2016-10-23 20:13:54 +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
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
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