Commit Graph

991 Commits

Author SHA1 Message Date
PatrickvL 3ade9fce9d Couple the xbox thunks for xboxkrnl::KeInterruptTime and xboxkrnl::KeSystemTime to their actual counterparts on Windows
This way we won't have to spend any time on updating them ourselves, and
still get highly accurate timers!

(Untested. Ported back from Dxbx)
2016-11-14 18:18:12 +01:00
PatrickvL ae9d663af3 Added more variables to the kernel thunk table
Last two variables yet to replace : KeInterruptTime, KeSystemTime
2016-11-13 00:59:47 +01:00
PatrickvL 0df04c2f45 Added a few more variables to the kernel thunk table 2016-11-13 00:46:56 +01:00
PatrickvL 4b710b79a5 This too (is becoming a habit) 2016-11-12 23:54:57 +01:00
PatrickvL 82d36a2470 Corrected a few OpenXDK declarations so they can compile into the kernel thunk table. 2016-11-12 23:54:26 +01:00
PatrickvL 3f44fab149 This too 2016-11-12 20:18:22 +01:00
PatrickvL 2ec224d168 Added more variables to kernel thunk table
How to solve conflicts with incorrect OpenXDK declarations?
2016-11-12 20:18:11 +01:00
PatrickvL d411f1364f Added MmGlobalData, registered in kernel thunk table 2016-11-12 01:27:06 +01:00
PatrickvL 02e774d337 Missing newline 2016-11-12 00:37:33 +01:00
PatrickvL ef37bc8ad2 Argument logging now works
Experimenting with rendering specific types, it's starting to look good.
2016-11-11 15:17:29 +01:00
PatrickvL 4f7a233391 EXPORTNUM corrections 2016-11-11 11:49:05 +01:00
PatrickvL 92fd51a61c Simpler NTSTATUS to string conversion 2016-11-11 11:37:00 +01:00
PatrickvL 2e4b7f6464 Fixed typos 2016-11-11 11:08:50 +01:00
PatrickvL 734fb6504b This too 2016-11-11 11:05:24 +01:00
PatrickvL 334b98bb0f Updated and extended thunk table
Used Dxbx as a reference
2016-11-11 11:05:05 +01:00
PatrickvL 9cdec950b6 Corrections 2016-11-11 00:55:17 +01:00
PatrickvL 85b51ab3c4 Added a few logging overloads for a few types
Eventually, all logged types need to be covered.
2016-11-11 00:30:09 +01:00
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
Luke Usher 6b63f9a28a Remove Cxbx.VC.db from version control 2016-11-02 09:33:56 +00:00
Luke Usher d3b3459082 Merge pull request #15 from PatrickvL/LLE
Lle
2016-11-02 08:49:40 +00: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
PatrickvL 4029a58dd1 Merge remote-tracking branch 'refs/remotes/origin/LLE' 2016-11-01 21:51:04 +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