Commit Graph

1368 Commits

Author SHA1 Message Date
Luke Usher 82cee7b386 Fix accidental compilation breakage while reorganising code. 2017-01-06 22:50:16 +00:00
Luke Usher dc6ca7661a Implemented HalReadWritePciSpace
On the Xbox this function calls the X86 in/out opcodes, so this implementation calls IORead/IOWrite functions in EmuX86.
Once In/Out opcodes are implemented, they will also be implemented by calling these new IO functions.
2017-01-06 22:16:00 +00:00
Luke Usher abc3ed444f Merge pull request #80 from LukeUsher/various-bug-fixes
Various bug fixes
2017-01-05 21:12:18 +00:00
Luke Usher b286db2371 Revert logging changes to XcShaUpdate: This is what broke the dashboard 2017-01-05 21:09:57 +00:00
Luke Usher f184baade9 Add glew binaries & add a custom build step to copy them to the output directory.
Prevents glew32.dll errors on compiling
2017-01-05 20:52:18 +00:00
Luke Usher ab755489c2 Merge branch 'master' of https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into various-bug-fixes
# Conflicts:
#	src/CxbxKrnl/CxbxKrnl.cpp
#	src/CxbxKrnl/EmuD3D8.cpp
2017-01-05 20:40:26 +00:00
Luke Usher 1fad82abae Merge pull request #84 from PatrickvL/master
LLE_OpenGL work
2017-01-05 15:40:28 +00:00
PatrickvL 6a381647a8 Merge pull request #4 from PatrickvL/LLE_OpenGL
Lle opengl work
2017-01-05 16:34:05 +01:00
PatrickvL 0d0bf47206 Forwarded EmuX86_Read8 to EmuX86_Read16 to EmuX86_Read32 2017-01-05 16:31:05 +01:00
PatrickvL a4ea3e7c99 Merge remote-tracking branch 'refs/remotes/origin/master' into LLE_OpenGL 2017-01-05 15:54:50 +01:00
PatrickvL 4b6f3b7cba Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-05 15:54:31 +01:00
PatrickvL fbec3cef14 NV2A address and size constants added 2017-01-05 15:54:13 +01:00
PatrickvL 7669461eaf NV2A : More PFB logging and PRAMIN read/write stubs 2017-01-05 14:27:34 +01:00
PatrickvL 34722a92e7 Improved logging in NV2A read/write handlers 2017-01-05 12:27:10 +01:00
PatrickvL 0cfdffc715 Log more NV2A PBUS details 2017-01-05 11:48:41 +01:00
PatrickvL 2ae14fb3db Prevent NV2A unhandled write log messages when there actually IS a handler 2017-01-05 11:27:12 +01:00
PatrickvL e9267222ad Implemented KeConnectInterrupt
Also prevented unimplemented log message in MmClaimGpuInstanceMemory and
added comment headers to all function declarations in kernel.h
2017-01-05 11:21:15 +01:00
PatrickvL 64404b45da Merge remote-tracking branch 'refs/remotes/origin/master' into LLE_OpenGL 2017-01-05 10:26:29 +01:00
PatrickvL cc873b2ea3 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-05 10:26:13 +01:00
Luke Usher 3f0629fbfa Merge pull request #83 from LukeUsher/Remove_old_files
Remove "Copy" file and old HLE database archive
2017-01-05 08:34:48 +00:00
Luke Usher dcf1d50541 Turns out this instance of _controlfp isn't needed either, just setting it in our Create Thread Proxy is enough for XDK titles. 2017-01-05 08:34:22 +00:00
Luke Usher 269eb7fa20 This instance was not needed, we only need to set the floating point registers for Xbox threads. 2017-01-05 08:25:30 +00:00
Luke Usher 2993546a25 Remove "Copy" file and old HLE database archive 2017-01-05 08:17:32 +00:00
Luke Usher 951917913c Fix ExAllocatePool
Although this did not cause any issues (that I know of) (ULONG)"enoN"  was creating a null terminated string, and passing a pointer to that string alone
This has been modified to 'enoN' to generate a non-terminated string of chars, and pass the value along.
2017-01-04 21:04:17 +00:00
Luke Usher 648337770a CPU Affinity handle fixes broke the dashboard again
This only worked because ALL threads were still running on the same core.
Now they correctly run on different cores, the floating point register needs to be set for each thread!
2017-01-04 21:02:23 +00:00
Luke Usher 14e96f6ce1 More of the same 2017-01-04 21:01:30 +00:00
PatrickvL 409ef63176 Merge remote-tracking branch 'refs/remotes/origin/master' into LLE_OpenGL 2017-01-04 15:41:13 +01:00
PatrickvL 095fbd1010 Fixed logging of nullptr (plus better logging in RtlAssert) 2017-01-04 15:34:18 +01:00
Luke Usher 5c79105fc7 Merge pull request #79 from PatrickvL/master
Review results on Xc* kernel functions
2017-01-04 14:07:57 +00:00
PatrickvL c9e8176c6c Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into LLE_OpenGL 2017-01-04 14:38:06 +01:00
PatrickvL eff09f89ea Review results on Xc* kernel functions 2017-01-04 14:35:20 +01:00
PatrickvL 1f6756885f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-04 13:54:15 +01:00
PatrickvL 06b7677859 Working towards OpenGL initialization (using Dxbx as a reference)
WARNING : This does not compile yet.
2017-01-04 13:53:59 +01:00
Luke Usher d1277b087c More of the same 2017-01-04 07:00:13 +00:00
Luke Usher 029a009174 SetThreadAffinityMask should take a HANDLE as input 2017-01-04 06:56:18 +00:00
Luke Usher 4f2e4511d8 Fix an issue where g_CPUOthers was being used before being set. 2017-01-04 06:52:57 +00:00
Luke Usher 2fa170a96c Merge pull request #77 from LukeUsher/PVS-Studio
Enable the use of PVS-Studio (Static Code Analysis Tool)
2017-01-04 05:59:51 +00:00
Luke Usher e1bf7c98b5 Merge pull request #78 from x1nixmzeng/xc-args
Added unimplemented stubs for remaining Xc functions
2017-01-04 05:59:26 +00:00
x1nixmzeng 47e04465a1 Added unimplemented stubs for remaining Xc functions 2017-01-03 23:14:52 +00:00
Luke Usher a7bc9adc86 Enable the use of PVS-Studio (Static Code Analysis Tool) for Cxbx-Reloaded.
These comments activate the free for Open Source license for PVS Studio
See http://www.viva64.com/en/b/0457/ for more details.
2017-01-03 20:29:44 +00:00
PatrickvL d3e805260f Imported glew
Downloaded from
https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0-win32.zip/download
(see http://glew.sourceforge.net/index.html)

GitHub mirror on https://github.com/nigels-com/glew
2017-01-03 16:23:05 +01:00
PatrickvL e1fdb84e9a Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-03 13:46:29 +01:00
Luke Usher 8640ad77ce Merge pull request #76 from PatrickvL/master
Lots of cleanup, extra kernel signatures and implementations
2017-01-03 12:04:07 +00:00
PatrickvL cbbbb46a71 Oops! 2017-01-03 13:00:51 +01:00
PatrickvL 9ad4449ef9 Emulated EEPROM read/write
Implemented ExQueryNonVolatileSetting and ExSaveNonVolatileSetting using
emulated EEPROM values.
2017-01-03 12:17:20 +01:00
PatrickvL fedbcaf01f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-02 15:09:34 +01:00
Luke Usher 796b06ebd0 Merge pull request #62 from LukeUsher/NV2A_WORK
Fix NV2A address mapping
2017-01-01 21:44:32 +00:00
PatrickvL d6644c8dfb Removed VirtualAlloc and VirtualFree OOVPA's 2017-01-01 16:18:58 +01:00
PatrickvL c29a5b657b Logged ALLOCATION_TYPE 2017-01-01 16:17:31 +01:00
PatrickvL f5977140ae Added logging for LAUNCH_DATA_PAGE (and _HEADER) 2017-01-01 15:41:19 +01:00