Commit Graph

218 Commits

Author SHA1 Message Date
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
Luke Usher cb29e6d621 Unpatch CreateTexture 2017-07-20 12:46:25 +01:00
Luke Usher 5f2fc6f04c Add subhook to Cxbx-Reloaded project 2017-07-13 19:46:59 +01:00
Luke Usher a3b5bab1c3 Added dummy NVNet handlers
At least Network hardware writes no longer get reported as "Unknown"
2017-06-21 08:29:08 +01:00
Luke Usher 5f1d167801 Enforce Windows 7 compatibility! 2017-06-05 20:43:48 +01:00
Luke Usher f879c407fd Fix and enable XInput controller support.
This is configurable in the Input menu: If Use XInput is selected, XInput controllers will be used, otherwise the default controller mapping system will be used.

On an Xbox 36- controller, buttons are mapped 1:1 with Xbox buttons

As the Xbox 360 lacks BLACK and WHITE, but gains LB/RB, white is mapped to LB and right is mapped to RB.
2017-06-04 11:50:14 +01:00
Luke Usher 7abfe099e2 Revert "Enable AVX support, this should bring a significant speed increase in some titles."
This reverts commit 81725e5f47.
2017-05-15 20:05:14 +01:00
Luke Usher 81725e5f47 Enable AVX support, this should bring a significant speed increase in some titles.
NOTE: This reduces the number of processors that are compatible with Cxbx-Reloaded, see the list linked in README.md for details
2017-05-13 23:04:19 +01:00
PatrickvL 3297c720d0 Started extended logging of D3D8 types 2017-05-11 12:01:53 +02:00
PatrickvL e73131d915 Merge remote-tracking branch 'refs/remotes/origin/master' into texture_updates 2017-05-08 07:54:42 +02:00
Luke Usher 0ba4329019 Update the project to compile with the default compiler with whatever visual studio version is used 2017-05-04 06:33:56 +01:00
blueshogun96 f24b1cbadc Moved Begin/EndVisibility signatures to 4361 2017-05-03 04:04:31 -07:00
blueshogun96 76ac675d28 Uncommented SetNotitificationPosition signatures for dashboard 4920 2017-05-03 03:18:14 -07:00
Luke Usher f703c87fad Merge pull request #234 from LukeUsher/vs2017
Update project to VS 2017
2017-05-02 16:12:05 +01:00
Luke Usher 6d2b23a1ca Merge remote-tracking branch 'upstream/master' into oovpa_refactor 2017-04-08 19:42:05 +01:00
Luke Usher d6731620e0 Rebuild the About Box.
It's not the prettiest but will serve it's purpose for now.

This pulls in data from CONTRIBUTORS and COPYING to show the relevent
license and developer information.
This was required to meet a Patroen reward (support names in the
emulator)

Note: WinApi is awful. For the new GUI I definitely want to use
WxWidgets or something similar.
2017-04-07 13:29:42 +01:00
Luke Usher b2aaefd27e Enable Visual Styles
Without this WINAPI was defaulting to pre-XP versions of Window
components (buttons, select boxes, etc)
2017-04-07 13:25:56 +01:00
Luke Usher e90cf8221e Remove LTCG HLE Database
LTCG Titles are impossible to reliably emulate via HLE, we now show a
warning that this is the case when an LTCG library is detected.
2017-04-04 00:42:48 +01:00
Luke Usher b629e70153 Enable the SSE2 Instruction Set
This should bring a significant speed increase with no negative side
effects. This should have been enabled from the start.
2017-03-31 08:23:20 +01:00
Luke Usher 5613762fd8 Merge remote-tracking branch 'upstream/master' into memory-manager 2017-03-25 00:24:56 +00:00
jarupxx 1bac81d478 Merge remote-tracking branch 'upstream/master' into xdk5028
# Conflicts:
#	build/win32/Cxbx.vcxproj.filters
2017-03-24 21:20:15 +09:00
Luke Usher 3450c773a0 Merge remote-tracking branch 'upstream/master' into memory-manager 2017-03-23 21:49:05 +00:00
Luke Usher f46f77c3ad Initial MemoryManager Implementation 2017-03-23 21:47:19 +00:00
Henrik Rydgard bc4ccea18d Avoid including version.h everywhere. Use multiprocessor build. 2017-03-23 21:55:13 +01:00
jarupxx b14896ea06 Merge remote-tracking branch 'upstream/master' into xdk5028 2017-03-23 06:49:14 +09:00
jarupxx 33b4a24e1d Began building XDK 5028 based on 4627 2017-03-23 06:49:12 +09:00
Luke Usher a013c8dc9a Add glew32.dll to export script 2017-03-22 19:09:20 +00:00
Luke Usher a2255990c3 Update project to VS 2017 2017-03-14 14:50:26 +00:00
PatrickvL 8ceca49e6f EEPROM refactorings: Memory mapped load, offset-based access, centralized 2017-03-10 15:01:12 +01:00
jarupxx e93e2941b3 Removes the DLL in export archive 2017-03-07 19:33:32 +09:00
jarupxx c64380a073 Merge remote-tracking branch 'upstream/master' into xdk5344
# Conflicts:
#	build/win32/Cxbx.vcxproj.filters
2017-03-06 19:03:36 +09:00
PatrickvL 0239a13a41 Added xdvdfs for issue #205
This is a modified copy of
https://github.com/multimediamike/xbfuse/blob/master/src/xdvdfs.c

Also included are:
* a few improvements originating from Dxbx,
* renames of a few variables,
* and raw-dump support xbfuse

Raw-dump support also required a few updates to support file system base
sector numbers other than zero (see "Cxbx addition" in this commit).
2017-03-03 16:18:44 +01:00
Luke Usher 118d64b457 Fix glew32 build step 2017-03-03 08:36:00 +00:00
jarupxx 404b41a958 Added Include files 2017-03-02 17:20:51 +09:00
jarupxx cb6a678544 Merge remote-tracking branch 'upstream/master' into xdk5344
# Conflicts:
#	build/win32/Cxbx.vcxproj.filters
#	build/win32/CxbxKrnl.vcxproj
#	src/CxbxKrnl/EmuD3D8.cpp
2017-03-02 17:14:51 +09:00
PatrickvL b37e06a77a Restored accidentally removed pre- and post-build events 2017-03-01 16:39:36 +01:00
PatrickvL a3aad91231 Merged CxbxKrnl.DLL into Cxbx.exe
Fixes issue #202
2017-03-01 15:54:33 +01:00
jarupxx af22a852fa Added initial 5344 files based on 5233 2017-03-01 20:20:53 +09:00
PatrickvL 35a71012c9 Don't commit while compiling (stray files like this could be prevented with a git filter) 2017-02-20 18:18:15 +01:00
PatrickvL 3700207a84 Merge remote-tracking branch 'origin/master' 2017-02-20 18:16:30 +01:00
PatrickvL 94c980d7fd Kernel : KeConnectInterrupt and KeDisconnectInterrupt improvements - Countrary to prior research, IRQ's cannot be shared
Also signature fix on HalDisableSystemInterrupt and
HalEnableSystemInterrupt
2017-02-20 18:13:38 +01:00
Luke Usher 862e53e2d3 Initial appveyor build scripts 2017-02-15 20:37:47 +00:00
Luke Usher f40a273e0c Add 5788 HLE Database to the filters file 2017-01-23 21:34:32 +00:00
PatrickvL 752f9b5887 Added D3D 5788.inl to project 2017-01-21 01:10:41 +01:00