Commit Graph

991 Commits

Author SHA1 Message Date
Luke Usher c7caf082e2 Add D3DFMT_X1R5G5B5 2016-11-26 23:01:10 +00:00
Luke Usher 08228c30a1 Fix a crash when opening an XBE with an invalid TLS structure 2016-11-26 22:21:44 +00:00
Luke Usher 86c3bbf947 This is not really needed 2016-11-26 22:21:15 +00:00
Luke Usher 7323a2c711 KfLower/RaiseIrql should be fastcall, not stdcall.
Add implementation for KeRaiseIrql from ReactOS as it seems to be identical to the Xbox implementation.
We may not be able to do the same for KfLowerIrql though, the implementation looks (slightly) different to me.
2016-11-26 22:07:11 +00:00
Luke Usher 661a4c0682 Add EBP Register to EmuX86_GetRegisterPointer 2016-11-26 21:19:30 +00:00
Luke Usher eebf17ac23 Restore XREF only function handler, seems like it was too early to remove this 2016-11-26 21:19:02 +00:00
Luke Usher 053781afd9 Add newline to return statement logging 2016-11-26 10:04:47 +00:00
Luke Usher 7bc449faff Merge pull request #20 from PatrickvL/master 2016-11-26 08:56:24 +00:00
PatrickvL 740f1ae8af More Ex* signature fixes 2016-11-25 22:47:40 +01:00
PatrickvL 64e927c75d Corrected and extended KernelThunk table 2016-11-25 22:25:27 +01:00
PatrickvL 0a31daeb27 Added typedef (P)ERWLOCK 2016-11-25 22:25:01 +01:00
PatrickvL bb1da9bca9 Updated Ps* signatures 2016-11-25 22:24:32 +01:00
PatrickvL ed93832a71 Updated Ex* signatures 2016-11-25 22:24:19 +01:00
PatrickvL dd07883cb4 Updated a few more occurances of Cxbx string to Cxbx-Reloaded 2016-11-24 17:31:24 +01:00
PatrickvL 5e3aeaaa67 Forwarded RtlAppendUnicodeToString to NtDll 2016-11-24 17:27:25 +01:00
PatrickvL 3dd0a8fa8e Remove LONGBOOL - a Delphi Dxbx derelict
Also corrected return type of HalDisableSystemInterrupt to VOID
2016-11-24 16:32:16 +01:00
PatrickvL 0d4c200620 Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded 2016-11-24 09:52:30 +01:00
PatrickvL cebf472ab2 Forwarded RtlAppendUnicodeStringToString to NtDll 2016-11-24 00:19:09 +01:00
PatrickvL 51fdab2139 Simplified NtDll API importing 2016-11-24 00:18:55 +01:00
PatrickvL a0e9bc9724 Added a few UNIMPLEMENTED Ke* functions 2016-11-23 23:42:08 +01:00
PatrickvL aebbb76c13 Added UNIMPLEMENTED stubs for (READ/WRITE)_PORT_BUFFER_U(CHAR/SHORT/LONG) 2016-11-23 20:49:38 +01:00
PatrickvL 61b59a7931 Applied __fastcall calling convention where appropriate. 2016-11-23 17:35:09 +01:00
PatrickvL f4a4026a03 Added UNIMPLEMENTED stubs for all remaining Hal* kernel functions 2016-11-23 17:34:57 +01:00
PatrickvL 392bfc8173 Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-22 16:56:24 +01:00
Luke Usher 26c5fb4911 Restore XG HLE 2016-11-21 20:39:38 +00:00
Luke Usher 933f6e56d4 Prevent XREF only functions from aborting emulation.
We have CPU emulation that can take over.
This could allow emulation to progress further for some titles
2016-11-21 20:27:04 +00:00
Luke Usher b08f2af659 Fix a crash caused by SHA1 Context being interpreted as a string by the logging code & similar change to KeDelayExecutionThread
Not sure if this is really the right thing to do, but the Dashboard runs again
2016-11-21 20:23:59 +00:00
Luke Usher af52e2db35 Ingore Cxbx.VC.db 2016-11-21 20:15:06 +00:00
Luke Usher f7ede17d4d Restore HLE after LLE merge 2016-11-21 20:14:40 +00:00
Luke Usher 6d0698b3ed Merge branch 'LLE' 2016-11-21 20:10:34 +00:00
Luke Usher e8ce8d3e51 LLE merge 2016-11-21 20:09:59 +00:00
PatrickvL 2522524c4e Added UNIMPLEMENTED stubs for al Ex* kernel functions 2016-11-21 16:16:24 +01:00
PatrickvL 172ad2f21c Restored original distinction between "unimplemented" and "ignored" 2016-11-20 14:52:47 +01:00
PatrickvL ef9c55f373 Introduced RETURN macro, applied in all Emu* files (again except DSound and D3D).
Also renamed UNIMPLEMENTED to LOG_UNIMPLEMENTED, applied in more places.

Also introduced LOG_IGNORED, applied where appropriate.
2016-11-20 14:43:38 +01:00
PatrickvL 133f6f8d4b Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-20 12:53:19 +01:00
Luke Usher ad57542273 Fix duplicated Build/ directory 2016-11-19 21:54:39 +00:00
PatrickvL 390c52a699 Merge remote-tracking branch 'refs/remotes/LukeUsher/master' 2016-11-16 01:47:04 +01:00
PatrickvL 8ac1267149 This too 2016-11-16 01:43:20 +01:00
PatrickvL 5640d74248 Slowly working my way through adding UNIMPLEMENTED skeletons
Rtl* functions can be passed-through to host - as soon as headers are
defined...
2016-11-16 01:43:10 +01:00
PatrickvL 456c5b1c1f Added UNIMPLEMENTED skeletons for remaining Av* and Dbg* kernel entries 2016-11-16 00:34:49 +01:00
Luke Usher 7a77d3b22d Restore Cxbx-Reloaded branding
This got removed while dealing with the accidental LLE merge
2016-11-15 22:10:30 +00:00
Luke Usher cc024e870f Fix compilation in release mode.
_DEBUG_TRACE is undefined in release builds, leading to compiler errors.
2016-11-15 21:45:11 +00:00
Luke Usher 3e1f3d2073 Unimplemented warnings should always log, even if not a debug build 2016-11-15 21:42:09 +00:00
Luke Usher 8aa099f2a3 Merge pull request #18 from PatrickvL/master
here you go
2016-11-15 21:23:06 +00:00
PatrickvL 0fcf89946f Split up EmuKrnl.cpp over separate files (just like in Dxbx)
Also pruned unneeded  #include's and placed more UNIMPLEMENTED macro's
2016-11-15 18:12:10 +01:00
PatrickvL 399483c954 Defined UNIMPLEMENTED macro and applied where applicable
Again, not in EmuD3D and EmuSound, as those are going to be LLE'd
sometime soon(ish)
2016-11-15 17:12:50 +01:00
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