Commit graph

391 commits

Author SHA1 Message Date
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
72c8acbaf9 Add implementations for KeWaitForMultipleObjects & KeWaitforSingleObject
Add additional nullptr checks within Critical Section emulation
2016-10-23 20:07:27 +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
a160db2c72 XApiVerifyMediaInDrive now passes validation without patches 2016-09-30 06:45:47 +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
d142b3ae0e Dashboard works again 2016-09-28 20:47:09 +01:00
Luke Usher
cd9caa4574 Implemented dummy NtProtectVirtualMemory
Allows MechAssault to progess further. Still crashes before showing anything
2016-09-26 22:01:56 +01:00
Luke Usher
c6dca6127a Implemented XeImageFileName kernel structure 2016-08-21 14:57:46 +01:00
Luke Usher
933a7be906 Include many of the changes from Blueshogun's Cxbx branch 2016-08-21 00:53:25 +01:00
Luke Usher
ac832097a9 Implemented NtOpenSymbolicLinkObjecft & NtQuerySymbolicLinkObject from Dxbx
Not sure if translated correctly, probably shouldn't attempt to code at 2am
2016-08-20 01:49:58 +01:00
Luke Usher
61649f73bd add dummy implementation of HalRegisterShutdownNotification
This is the furthest we can get without HLE, all XDK titles now crash during XGetSectionHandle while attempting to read the XBE symbol table.
We can either HLE this, or rework Cxbx to load the entire XBE into memory the way Xenoborg does, this would allow Xbox code to correctly access portions of the XBE header without HLE.
2016-08-19 20:45:59 +01:00
Luke Usher
3f70ed9f7c Implement XboxKernelVersion export
This allows XApiApplyKernelPatches(); to run without having to intercept it
2016-08-19 19:53:37 +01:00
Luke Usher
1578146bfe Implemented Symbolic Link kernel API using code from Dxbx
Dxbx contains a LOT of improvements that did not make it back into Cxbx
2016-08-18 20:40:36 +01:00
Echelon9
0f36366310 Add support for RtlFreeAnsiString (Kernel API 0x11E / 286) 2015-03-29 21:28:50 +11:00
Echelon9
96676564ca Add support for RtlInitUnicodeString (Kernel API 0x122 / 290) 2015-03-29 20:58:57 +11:00
Echelon9
b57803a20a Basic support for MmUnmapIoSpace (Kernal API 0xB7 / 183) 2013-07-22 19:02:58 +10:00
Echelon9
406795b743 Implement ExFreePool and bugfix for ExAllocatePoolWithTag 2013-04-07 17:53:42 +10:00
Echelon9
1297540c3d Implementation (basic) of the HalReadSMBusValue kernel call 0x002D (45) 2013-01-02 21:12:24 +11:00
Echelon9
4af8f49b8c Implementation (basic) of the HalWriteSMBusValue kernel call 0x0032 (50) 2013-01-02 20:39:23 +11:00
Echelon9
b31e36c6dd More correct implementation of the KDPC structure. 2012-12-01 00:41:01 +11:00
Echelon9
41f938bc96 More full implement ExQueryNonVolatileSetting() for corner cases. 2012-11-30 23:08:52 +11:00
Echelon9
14e15f9129 Build out definition of MmCreateKernelStack() 2012-11-28 23:36:57 +11:00
Echelon9
0ad1cf1d88 Update gitattributes (with line ending fixes) 2012-10-07 23:58:52 +11:00
blueshogun96
1737efc2cf Quick fixes for Dashboard. 2011-11-03 10:17:12 +00:00
blueshogun96
11b58429a9 Xbox Dashboard (3944) is now working okay (not perfect). 2011-11-03 00:13:00 +00:00
blueshogun96
7e31d6deb2 Whacked is playable + lots of other random updates! 2011-06-15 06:56:33 +00:00
blueshogun96
511ba86290 Fixed compile errors in EmuKrnl.cpp 2010-04-17 17:37:39 +00:00
blueshogun96
0dfaf44aba Added for those who don't have the DirectX8 SDK. For now, you'll have to add the /include and /lib directories in the project yourself! 2009-11-13 21:41:02 +00:00
blueshogun96
f0bad56ee7 Added new version 2009-11-13 21:05:44 +00:00
blueshogun96
22e64d6eaa 2009-11-13 21:05:11 +00:00
blueshogun96
9d10c637af Forgot to update OpenXDK includes. Sorry about that! 2009-11-13 20:17:54 +00:00
blueshogun96
bcc8260f17 Forgot to update 2009-11-13 20:15:34 +00:00
blueshogun96
271a1cad1d Just another [major] update... 2009-11-12 01:35:50 +00:00
Daniel Stien
561c3b7d4f Implemented several kernel functions.
- NtQueryVirtualMemory to support Xapi VirtualQuery
- NtCreateSemaphore/NtReleaseSemaphore to support Xapi semaphores
- MmCreateKernelStack/MmDeleteKernelStack to support Xapi fibers

Added D3DFormat and D3DTRANSFORMSTATETYPE conversions.
- Convert PC D3DFMT_A4R4G4B4 to 0x1D (linear)
- Convert Xbox D3DFMT 0x19 (swizzled) to D3DFMT_A8
- Convert Xbox D3DFMT 0x27 (swizzled) to D3DFMT_L6V5U5
- Convert Xbox D3DTRANSFORMSTATETYPE 10 (max) to D3DTS_TEXTURE7 + 1 (experimental)

Print properly terminated XTL name in debug output.
2008-08-23 02:14:20 +00:00
Daniel Stien
199136e926 Expanded tabs and trimmed EOL whitespace. 2008-08-23 01:29:07 +00:00
Daniel Stien
df389d51f4 MS VC++ 9.0 solution and project files.
Fixed compile errors and warnings in VC++ 9.0.
- Use /FR option instead of the deprecated /Fr
- Ignore CRT deprectaion warnings
- ISO conformant names for POSIX functions
- VertexPatcher::DumpCache() visibility
- Don't include winsock2.h in EmuXOnline.h
- NTSTATUS ambiguities in EmuKrnl.cpp
- Redundant namespaces in EmuWSAStartup(...) and EmuAllocateLDT(...)
- Removed afxres.h (MFC) dependency in resource files

Bumped blob versions.
- VC++ 9.0 libjpeg.lib (imported from OgreDependencies VC9 Eihort 20080203)
- UPX version 3.03
2008-08-23 00:49:24 +00:00
martin_sw
9ea9791e02 Battlestar Galactica *PAL* now runs somewat ok. Added many random things. 2007-08-09 19:29:07 +00:00
Aaron Robinson
ef62e92af2 - updated to latest UPX (2.01)
- added doc section for UPX
2006-07-17 23:34:09 +00:00
Aaron Robinson
10835748c3 Renamed remotely 2006-07-15 02:03:02 +00:00