Commit Graph

261 Commits

Author SHA1 Message Date
PatrickvL 4ca78e947d Add Debug_Direct3D9 build configuration, specifically to be able to build for Direct3D9 while keeping the Direct3D8 code paths intact. 2018-04-16 13:18:47 +02:00
ergo720 ac8b798c66 Finished RSA decryption 2018-04-13 16:40:11 +02:00
jarupxx 3d7ddaa340 Initialize commits of HLEDB D3D8LTCG 2018-04-03 05:52:01 +09:00
RadWolfie 3bb83b0d3e Removed unused library (stb image) 2018-04-02 01:18:39 -05:00
RadWolfie 1d993d2cba Replace main logo
stb image library does not work correctly for green/yellow outline on
main logo even with png and jpeg formats. Using bitmap format instead.
2018-04-02 01:13:44 -05:00
RadWolfie bdfbefa157 Icon replacment for 2nd gen of Cxbx
Icon is licenced as Creative Common 4.
Design & ideas was done by RadWolfie & Driveclub from discord.
SVG is include in this commit.
2018-04-02 00:13:53 -05:00
Luke Usher e1a65a3bde Introduce functional NV2A LLE 2018-04-01 20:18:22 +01:00
ergo720 2608a2767c Implemented termal sensor device 2018-03-28 14:48:24 +02:00
Luke Usher d30aadda4c Oops, forgot to commit updated project files.. 2018-03-15 10:39:27 +00:00
Luke Usher 1f4f32414a Use D3D8to9 as a wrapper for D3D9 support 2018-03-07 14:22:53 +00:00
Luke Usher dd5aa368bf Enable function inlining for all functions, not just those marked inline 2018-03-02 20:48:25 +00:00
Luke Usher b887054e16 Tweak Visual Studio settings to optimize code a little better 2018-02-28 17:49:06 +00:00
PatrickvL 52f936611b NV2A : Copy over more nv2a code from OpenXbox/Xqemu 2018-02-19 10:58:26 +01:00
Luke Usher a2f727f0a1 Update xxHash to use Hardware CRC32C if available 2018-02-17 12:03:59 +00:00
PatrickvL 451dae5987 Kernel : Move Ki* symbols to own files 2018-02-17 11:56:31 +00:00
PatrickvL 4fb8326384 NV2A : Hide less code behind COMPILE_OPENGL 2018-02-16 11:37:19 +01:00
PatrickvL c3d8cc2e0e NV2A : Moved a few functions inside our device class 2018-02-16 11:36:54 +01:00
patrickvl 21db823596 NV2A : Split up in the same way as OpenXbox. This makes differences between the two easier to spot. 2018-02-16 11:36:22 +01:00
x1nixmzeng f2ead8d7f6 Force Capstone dependency on Cxbx to resolve cross-arch issues 2018-02-14 20:12:09 +00:00
x1nixmzeng 4585d33812 Removed cross-platform build dependency 2018-02-14 20:09:55 +00:00
x1nixmzeng c5d9fffa87 Fixed build configurations for ci 2018-02-13 23:32:59 +00:00
x1nixmzeng 5f3ddf6ee1 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-02-07 22:05:11 +00:00
patrickvl 1313fd9d99 Fix project filters 2018-02-03 13:57:48 +01:00
PatrickvL fde310fe94 Centralized hardware devices around Xbox sytem, (revisions of) components chosen based on hardware revision.
Most is not yet implemented, but more will surely follow.
Moved SMBUS-address defines and global device variables towards Xbox.h
2018-02-03 13:53:23 +01:00
x1nixmzeng c270797b83 Fixed bad merge of project filters 2018-02-03 12:34:02 +00:00
x1nixmzeng f57a74334f Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-02-01 20:58:01 +00:00
PatrickvL 4d7895eb98 Centralized hardware devices around Xbox sytem, (revisions of) components chosen based on hardware revision.
Most is not yet implemented, but more will surely follow.
Moved SMBUS-address defines and global device variables towards Xbox.h
2018-02-01 17:07:07 +01:00
x1nixmzeng 416a3a9a68 Support for naming threads under Windows 2018-01-31 23:17:33 +00:00
PatrickvL f738bf47d4 Isolated XbePrinter into it's own file, so the Xbe.h/.cpp files don't need to know about it. 2018-01-22 13:16:12 +01:00
jarupxx bf846b59be Separate XDK 5558/5659 with Integrated Hotfixes OOVPA to 5788 database
XDK 5558/5659 with Integrated Hotfixes use 5788 database.
Standard XDK 5659 still uses 5558 database.

Verified with
- [5558] NHL HITZ Pro 2004
- [5558 with Intergrated Hotfixes] XIII
- [5659] NFL Blitz Pro
- [5659 with Intergrated Hotfixes] Midway Arcade Treasures Paperboy
- [5788] Digimon Battle Chronicle
2018-01-22 18:45:42 +09:00
x1nixmzeng c2052e0c13 Fixed poorly merged filters file 2018-01-22 00:44:16 +00:00
PatrickvL 78cf44077d
Merge pull request #872 from blueshogun96/master
Azurik updates
2018-01-22 00:41:50 +01:00
patrickvl 33d3dc418e All hardware devices are moved outside CxbxKrnl, towards devices (some into devices\video) 2018-01-22 00:30:32 +01:00
patrickvl afa4e4034d The NV2A is now registered as a hardware device, just like all other devices.
Like the NVNet device, it's implementation is currently just a forward to the existing code.
Still, this removes a dependency from EmuX86 on the NV2A device - from now on it's reached via the generic device framework.
2018-01-21 22:20:38 +01:00
x1nixmzeng ed02200d6c Added call stack disassembly 2018-01-21 16:12:25 +00:00
blueshogun96 1a650f280e Increase stack reserve and commit size (stops Azurik from crashing during FMVs in release mode) 2018-01-20 16:10:07 -08:00
x1nixmzeng a36f30907a Ignore child processes settings file 2018-01-13 01:09:47 +00:00
x1nixmzeng 321236c907 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-01-13 01:00:32 +00:00
PatrickvL 0d19738282 PCI : Move Xbox hardware initialization towards it's own file 2018-01-10 09:25:29 +00:00
patrickvl 6ecc0ed899 Simplified child-process debugging 2018-01-10 09:23:26 +00:00
PatrickvL 0a4413d939 X86 belongs in Hardware project-filter too. 2018-01-10 09:23:25 +00:00
PatrickvL 187707fd93 SMC : Added LED sequences and HardwareModel, simplified PICVersionString 2018-01-10 09:23:25 +00:00
PatrickvL 509f8a5f11 SMC : Renamed device from PIC16LC (since we're only emulating it at a functional level, not low level). 2018-01-10 09:21:24 +00:00
PatrickvL b44b433259 PIC16LC (SMC) device stub added 2018-01-10 09:21:24 +00:00
PatrickvL 4b88e0c800 EEPROMDevice : Applied Luke's code review comments 2018-01-10 09:20:51 +00:00
Luke Usher 7b2774391f Add PCI/SMBus classes/base devices.
Note that these intentionally make use of standard types rather than Windows/Cxbx specifics like xbaddr...

These classes are designed to be platform and device independent
2018-01-10 09:16:27 +00:00
x1nixmzeng ba74b162ad Debugger messaging system
Now using RaiseException instead of OutputDebugString
2018-01-07 20:13:47 +00:00
ergo720 bacf07ce71 Deleted folder with incorrect cpp source from PatrickvL 2018-01-03 13:15:31 +01:00
x1nixmzeng d12bedaff2 Added CxbxDebugger to main solution 2018-01-02 23:28:09 +00:00
PatrickvL d60bd90dcb Added (untested) printf kernel API's 2018-01-02 22:37:36 +01:00
PatrickvL 984e2bd510
Merge pull request #821 from ergo720/memory
Virtual memory manager + Kernel memory functions implementation
2017-12-31 23:55:38 +01:00
jarupxx 00e5ac056a Remove unused HLEDataBase files 2017-12-21 12:37:51 +01:00
ergo720 6576933e34 Virtual memory management implementation (WIP) 2017-12-10 17:50:05 +01:00
x1nixmzeng 76c59f38ee Make sure the CI build still produces artifacts 2017-12-07 00:14:07 +00:00
x1nixmzeng a72034b78a Prevent recompiling every build due to Version.h splatting 2017-12-07 00:06:44 +00:00
x1nixmzeng 6d961d2c35 Stop packaging after every build 2017-12-06 23:39:12 +00:00
jarupxx 435d6eb1b1 Check artifact before exporting 2017-12-02 01:39:51 +01:00
jarupxx 2894cdaf42 Deleted Visual Studio temporary file 2017-11-26 07:33:38 +01:00
jarupxx 545e22b6ce Add DSound OOVPAs
Fixed
* CDirectSoundVoice_SetMixBins to use XREF_CMcpxVoiceClient_SetMixBins

Add CDirectSoundVoice_SetDistanceFactor 4361
Add CMcpxVoiceClient_SetMixBins 4039
Add IDirectSoundStream_SetRolloffCurve 4361
Add XFileCreateMediaObject 3911
Add XWaveFileCreateMediaObject 3911

Moved CMcpxAPU_SynchPlayback 5233 to 4831
Moved CMcpxStream_Pause_Ex 4721 to 4361
Moved CMcpxVoiceClient_GetVoiceProperties 5344 to 5028
Moved CMcpxVoiceClient_SetMixBins 5344 to 4134
Moved CDirectSoundVoice_GetVoiceProperties 5344 to 5028
Moved CDirectSoundVoice_Set3DVoiceData 5558 to 5455
Moved CDirectSoundVoice_SetRolloffCurve 4627 to 4361
Moved CDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved CDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved CDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved CDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved CDirectSoundStream_PauseEx 4721 to 4361
Moved CDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved CDirectSoundStream_SetRolloffCurve 4627 to 4361
Moved CDirectSound_GetOutputLevels 4627 to 4361
Moved CDirectSound_SynchPlayback 5233 to 4831
Moved IDirectSoundBuffer_GetVoiceProperties 5344 to 5028
Moved IDirectSoundBuffer_Set3DVoiceData 5558 to 5455
Moved IDirectSoundBuffer_SetRolloffCurve 4627 to 4361
Moved IDirectSoundStream_GetVoiceProperties 5344 to 5028
Moved IDirectSoundStream_PauseEx 4721 to 5361
Moved IDirectSoundStream_Set3DVoiceData 5558 to 5455
Moved IDirectSound_GetOutputLevels 4627 to 4361
Moved IDirectSound_SynchPlayback 5233 to 4831
Moved CFullHRTFSource_GetCenterVolume 5558 to 5344
Moved WaveFormat_CreateXboxAdpcmFormat 4242 to 4039
Moved XAudioCreateAdpcmFormat 4242 to 4039
Moved XFileCreateMediaObject 5344 to 4361
Moved XFileCreateMediaObjectAsync 5344 to 4432
Moved XWaveFileCreateMediaObject 4627 to 4361
Moved XWaveFileCreateMediaObjectEx 5344 to 4361
Moved DSound_CMemoryManager_PoolAlloc 5455 to 4361
2017-11-18 09:14:50 +01:00
RadWolfie fa3f4e0dd7 Force Remove EmuAlloc Files 2017-11-07 00:34:25 -06:00
jarupxx 6ea4ba8d62 Add DSound OOVPA
Fixed
* CDirectSound_EnableHeadphones (5233) need evaluate, most likely false detection.

Re-make CMcpxStream_Flush 4134 to 5344, plus 5455 to 5849
Re-make CMcpxStream_GetStatus 4721 to 5233
Re-make CMcpxBuffer_Play2 4039 to 4361
Re-make CMcpxBuffer_Stop2 4134 to 4361
Re-make CDirectSound_EnableHeadphones 4134
Add CDirectSoundVoice_SetDistanceFactor 4361
Add CDirectSoundVoice_SetDopplerFactor 4361
Add CDirectSound_GetSpeakerConfig 4242
Add CFullHrtfSource_GetHrtfFilterPair 4242
Add CHrtfSource_SetAlgorithm_FullHrtf 4242
Add CHrtfSource_SetAlgorithm_LightHrtf 4242
Add CLightHrtfSource_GetHrtfFilterPair 4242
Add CMcpxBuffer_GetStatus 4721
Add CMcpxBuffer_Pause 4721
Add CMcpxStream_GetStatus 4721
Add DirectSoundUseFullHRTF 4242
Add DirectSoundUseLightHRTF 4242
Moved CDirectSoundBuffer_Pause 4928 to 4721
Moved CDirectSoundBuffer_PauseEx 5344 to 4721
Moved CDirectSoundStream_Flush 5344 to 5028
Moved CDirectSoundStream_FlushEx 5233 to 5028
Moved CDirectSoundStream_PauseEx 5344 to 4721
Moved CMcpxBuffer_Pause_Ex 5344 to 4721
Moved CMcpxStream_Discontinuity 5344 to 4531
Moved CMcpxStream_Pause_Ex 5344 to 4721
Moved IDirectSoundBuffer_Pause 4928 to 4721
Moved IDirectSoundBuffer_PauseEx 5344 to 4721
Moved WaveFormat_CreateXboxAdpcmFormat 5344 to 4242
Moved XAudioCreateAdpcmFormat 5344 to 4242

Verified with
- [4039] Azurik PAL
- [4134] Double-S.T.E.A.L
- [4242] NFL Blitz 2002
- [4361] Flight Academy
- [4432] RedCard 2003
- [4531] NHL Hitz 2003
- [4627] MLB SlugFest 2003
- [4721] Terminator - Dawn of Fate
- [4831] Whacked!
- [4928] Drihoo
- [5028] Shikigami no Shiro Evolution
- [5120] N.U.D.E.@
- [5233] Evil Dead
- [5344] Gladius OXM Demo Disc 20
- [5455] Dinosaur Hunting
- [5558] NHL HITZ Pro 2004
- [5659] Midway Arcade Treasures - Paperboy
- [5788] Digimon Battle Chronicle
- [5849] Nickelodeon Tak 2
2017-11-05 21:56:24 +09:00
RadWolfie 8228de52d0 Introduce DSound 5455 File 2017-10-30 19:41:13 -05:00
RadWolfie 7dae968adb Remove Leftover Linkage
Since these files doesn't exist these shouldn't be here.
2017-10-30 19:38:40 -05:00
RadWolfie d33ffe0c15 Remove HLE v1 Method From Cxbx
- Removed v1 database method
- Migrate v2 into v1 functions
- Format some coding standard
- Fix compile issue
- Say goodbye to HLE v1 method.
2017-10-24 03:23:32 -05:00
RadWolfie fabc87fc70 Removed XOnlines v1 Database 2017-10-23 23:15:02 -05:00
RadWolfie 52fdebbcde Removed XNet v1 Database 2017-10-23 23:02:43 -05:00
RadWolfie 4dd0258738 Removed XG v1 Database 2017-10-23 22:58:39 -05:00
RadWolfie 530f2d6e5c Removed Xapi v1 Database 2017-10-23 22:48:51 -05:00
RadWolfie 178618956e Removed XActEng v1 Database 2017-10-23 22:36:51 -05:00
RadWolfie 159e6d6a73 Removed D3D8 v1 Database 2017-10-23 22:16:35 -05:00
RadWolfie 13c128d922 Append Previous Commit 2017-10-23 22:11:29 -05:00
RadWolfie e15e4e0d0a Removed DSound v1 Database 2017-10-23 21:54:47 -05:00
RadWolfie a1b21112f8 Add DSound 4242 Database File
- Add CMcpxStream_Flush to 4242
- Improved CMcpxStream_GetStatus 4134 to support 4242 titles.

Both 4242 titles does not have full library compiled. Moved all DSound's
4242 signatures in respective file, nothing has change.

Verified with
- [4134] Blood Omen 2
- [4242] Gauntlet Dark Legacy
- [4242] Smashing Drive
2017-10-18 20:47:10 +01:00
jarupxx 438eca0722 Moved OOVPAs lowered
Verified this PR with
- XNETS
[3911] Halo
[4039] Tony Hawk's Pro Skater 3
[4361] MotoGP
[4721] TimeSplitters 2

- XNETN
[5344] Stake

- XONLINES
[4831] NBA2K3
[4928] Unreal Championship
[5028] Capcom vs. SNK 2 EO
[5120] Muzzle Flash
[5233] MotoGP 2
[5344] Burnout 2
[5455] Ghost Recon Island Thunder
[5558] XIII
[5659] Plus Plum 2
[5788] All-Star Baseball '05
[5849] Kingdom Under Fire: The Crusaders
2017-10-18 20:47:07 +01:00
jarupxx a46c2eab56 Added XNet 4361
Verified with
MotoGP (4361)
2017-10-18 20:47:07 +01:00
jarupxx 7633870fe7 Initialize commits of HLEDB 2v XOnlines 2017-10-18 20:47:06 +01:00
jarupxx 5635cb8575 Initialize commits of HLEDB 2v XNet 2017-10-18 20:47:06 +01:00
jarupxx fd1f7cea5c Moved OOVPAs lowered
* XGSwizzleRect, XGUnswizzleRect functions are still UNPATCHED. Those OOVPA are available.

Verified this PR with
Azurik - Rise of Perathia (3911)
NightCaster (4039)
Double-S.T.E.A.L (4134)
Legends of Wrestling (4242)
Nakashima Tetsunari no Othello Seminar (4361)
Sega Soccer Slam (4432)
NHL HITZ 2003 (4531)
Innocent Tears (4627)
Terminator - Dawn of Fate (4721)
Whacked! (4831)
Unreal Championship (4928)
N.U.D.E.@ (5120)
Rayman 3 - Hoodlum Havoc (5233)
Starsky & Hutch (5344)
Dinosaur Hunting (5455)
NHL HITZ Pro 2004 (5558)
LMA Manager 2004 (5659)
All-Star Baseball 2005 (5788)
Nickelodeon Tak 2 - The Staff of Dreams (5849)
2017-10-18 20:47:05 +01:00
jarupxx cc46eff896 Initialize commits of HLEDB 2v Xgraphics 2017-10-18 20:47:04 +01:00
jarupxx 0131fd254e Added files to Cxbx-Reloaded project 2017-10-18 20:47:03 +01:00
jarupxx 1f45af28ee Separated D3D OOVPAs 2017-10-18 20:47:00 +01:00
jarupxx a72cfb8191 initialize commits of HLEDB 2v D3D 2017-10-18 20:46:59 +01:00
jarupxx 5e58fc82cb Report Known Xapi OOVPA issue list (#744)
* Renamed all XAPI XREF names
* Reregisterd obsolete OOVPA (3911-5849)
2017-10-18 20:46:57 +01:00
jarupxx 4c59d7f8be Separated XAPI OOVPAs and Lower XAPI OOVPAs Support
Moved XInputGetState 4928 to 4831
Moved XInputSetState 4928 to 4831
Moved XID_fCloseDevice 4928 to 4831
Moved timeSetEvent 5849 to 5455

Verified with
NBA Live 2002 (3925)
Tony Hawk's Pro Skater 3 (4039)
ESPN Winter X Games Snowboarding 2002 (4134)
NFL Blitz 2002 (4242)
NCAA Football 03 (4432)
Crazy taxi 3 (4531)
Innocent Tears (4627)
Quantum Redshift (4721)
Galaxy Angel (4831)
Medal Of Honor Frontline (4928)
Shikigami no Shiro Evolution (5028)
MVP Baseball 2003 (5120)
C.A.T. Cyber Attack Team (5233)
Starsky And Hutch (5344)
NCAA Football 2004 (5455)
XIII (5558)
Dance Dance Revolution Ultramix (5659)
Steel Battalion - Line of Contact (5788)
Kingdom Under Fire (5849)
2017-10-18 20:46:55 +01:00
jarupxx eba685840a Introduce XAPI database v2
Source:
Azurik - Rise of Perathia (3911)
NightCaster (4039)
Double-S.T.E.A.L (4134)
Flight Academy (4361)
Turok - Evolution (4627)
Quantum Redshift (4721)
NBA 2K3 (4831)
Shikigami no Shiro Evolution (5028)
Cyber Attack Team (5233)
Starsky And Hutch 5344 (5344)
XIII (5558)
Steel Battalion - Line of Contact (5788)
Forza Motorsport (5849)
2017-10-18 20:46:52 +01:00
jarupxx d938af25af Separated 5120 OOVPAs 2017-10-18 20:46:51 +01:00
jarupxx 1a74094ef7 Introduce XactEng database v2
Source:
Lord of the Rings - The Two Towers (4928)
Super Bubble Pop (5120)
Cyber Attack Team (5233)
Syberia (5344)
Top Spin (5558)
Steel Battalion - Line of Contact (5788)
Souece: Forza Motorsport (5849)
2017-10-18 20:46:48 +01:00
RadWolfie d145edd1be Introduce DSound 3911 database. 2017-10-18 20:46:44 +01:00
RadWolfie f84327814d Introduce DSound 4039 HLE Database
- Added DirectSoundCreate
- Added DirectSoundCreateBuffer
- Added CDirectSound_CreateSoundBuffer
- Noted CDirectSound_CreateSoundBuffer OOVPA version 3936 has false
detection for 4039.
2017-10-18 20:46:40 +01:00
RadWolfie 206ee8046d Fix Solution Explorer Filter
- Moved DSound 5849 to bottom section.
- Added missing DSound.OOVPA.inl file to filter.
2017-10-18 20:46:40 +01:00
Darren Anderson 3b1b8ee384 Fixed OOVPA for timeSetEvent (XDK 5849). 2017-08-31 22:03:13 +01:00
Darren Anderson 41df25f510 Fixed issue where copying objects in EmuShared caused an access violated exception when printing out the current configuration in the Kernel debug log. 2017-08-27 18:44:02 +02:00
Luca D'Amico fb91c0aecc updated from upstream 2017-08-10 12:37:53 +02:00
Luke Usher cac3c649ac Fixed project .filters file which was corrupted by incomplete removal of about.jpg (#601) 2017-08-04 21:11:52 +01:00
Luca D'Amico 5aa711fe2e Removed unused OpenXDK source files (from vcxproj configuration files) 2017-08-04 17:32:46 +02:00
RadWolfie 488db56077 Organizing Solution Explorer Tree
Grouping D3D8, DSound, Xapi, XG, and XOnline files in their own group
for better sorting and finding.
2017-08-04 08:58:28 +02:00
Ben 83638801a4 Removed "About.jpg" (#592)
Remove "About.jpg", this image is no longer used.
2017-08-04 06:49:00 +01:00
RadWolfie 4dad779758 Audio Settings Stub
First initialization audio settings support.
2017-07-22 21:43:02 -05:00
RadWolfie 740fcd7ffb Maintenance Multiple Callers Doing Same Purpose
- Moved all duplicate functionality in inline header (hpp) file.
- Several fixes
- Removed all 3DListener since it is only possible in primary buffer.
Future commit will restore it into primary buffer creation.
- Force output whatever is not implemented for DSound library section in
release build. It will help me know which title is calling it and at
least make it a priority.
2017-07-22 21:37:40 -05:00
RadWolfie bbf93a6a14 Include XADPCM file
First initialiation for XADPCM Decoder process
2017-07-22 21:37:39 -05:00