PatrickvL
61835e7c4b
Proof of concept : Split off xboxkrnl::Av* methods into it's own .cpp file
...
This seems to work, so I'll probably split off all others too (just like
I did in Dxbx)
2016-11-15 17:00:29 +01:00
PatrickvL
ffc20a5c1f
Moved internal NT stuff to NtDll.h
2016-11-15 16:48:41 +01:00
PatrickvL
d802a6f8b6
Swapped SystemTime and InterruptTime to their correct indices
...
Also defined and used (first part of) KUSER_SHARED_DATA struct
2016-11-15 14:41:27 +01:00
PatrickvL
81f9722cc6
EXPORTNUM correction and ordering
2016-11-14 20:40:44 +01:00
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
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