Commit Graph

104 Commits

Author SHA1 Message Date
ergo720 0691b8bfb4 More hub init + some refactoring 2018-07-14 16:56:49 +02:00
ergo720 138e103ca4 Some refactoring + started Hub device work 2018-07-14 16:54:18 +02:00
ergo720 36c60e7ca7 Isochronous TD + changed usb folder structure 2018-07-14 16:52:11 +02:00
ergo720 828822c695 OHCI_GetFrameRemaining 2018-07-14 16:45:32 +02:00
ergo720 6aafb25dee Virtual and real timers 2018-07-14 16:39:55 +02:00
ergo720 403f9cb710 MMIO support for USB devices 2018-07-14 16:37:42 +02:00
ergo720 46a03cb442 Created USB devices 2018-07-14 16:22:25 +02:00
RadWolfie 05be1dd4bd Create inline function file for Windows
Plus linux filter folder for future linux support.
2018-06-16 20:18:22 -05:00
jackchentwkh 6edf293699 Add controller port configuration GUI and support virtual SB controller with feedback status (#1196)
* Add XB_ prefix for xbox XInput related structures and variables to prevent mis-use host equivalent.
Add newly findings for device table related info.

* Revert g_Controller ZeroMemory() calls.
now the XINPUT_STATE is correctly refering to host type, no need to specify the name space.

* Add X_CONTROLLER_HOST_BRIDGE structure type.
Prepare for configurabale host input, and virtual xbox controller.

* Fix DeviceInfo initialization when device table is not found.
always set state to enable rumble.

* experimenting virtual SteelBatalion controller.
using console as controller output.
using XInput and direct input combined keys

* first attem to emulat SteelBatalion controller works.

* add dialog file to solution

* Restore missing dialog files and functions

* Minor fix

* fix dialog control grouping
now registry works.

* refine some controller related constants

* Using Dialog for showing
SBC controller feedback
add possibility of using same dialog for virtual controller input.

* using EmuUpdateTickCount() as modeless dialog message handler.
sort of working.
revert the dlg message handling from wnd.cpp

* Finally the dialog for virtual SB controller feedback status works!
modeless dialog got issues. modal dialog will occupy focus. only way is to use a DLL, load the DLL when cxbx-r emulation child process started, and create a dummy window from DLL then create a modal dialog.
lots of code change and clean up.

* fix debug build,  use same character set setting for all configurations.

* restore C++ optimiztion setting in master

* remove unitended included ribbon resources

* removed necessary official document mentioning

* Add src/CxbxVSBC/Release and src/CxbxVSBC/Debug to .gitignore

* Move Host Port assignment related code to src/common/win32

* fix merge confliction

* oops, fix merge conflictions again.

* Add OLD_XINPUT mark for those marked out old XInput code. need to be reviewed in the future.

* remove unintended binary files

* fix debug build, again.
revert unindteded changes to submodule

* rever unintended submodule change

* Relocate project to build/Win32 folder

Co-Authored-By: anita999 <anita999@ms12.hinet.net>

* Restore sln file base on master

* Include project dependency to build

* Final fixup for sln file

* Restore original new line code

* Update Wnd.cpp

* Remove old include

* Include CxbxVSBC.dll into AppVeyor

This should be the last fixup for pull request.

* Fix merge-conflict

* Fix files encode format to UTF-8

* treat .rc file as text instead of binary

* Revert "treat .rc file as text instead of binary"

This reverts commit 034039d723.
2018-05-29 13:33:01 +01:00
PatrickvL 0682970e42 Project fixups 2018-05-24 10:36:24 +02:00
PatrickvL 356b7c5a27 xbdm : Initial commit; Thunk table + importing (2 functions already imported by debugchannel.xbe XDK sample) 2018-05-22 15:09:58 +02:00
RadWolfie ccff183600 Editorconfig second revision
* Apply only for src and resource directories.

With this setup, it should work as intended only for Cxbx-Reloaded's source code without affecting third-party projects.
2018-05-16 10:20:48 -05:00
RadWolfie ed263d7dbc Start using XbSymbolDatabase library
It does not fully transfer everything yet and D3D8 depending on OOVPA signature directly are currently disabled for time being.
2018-05-12 07:24:10 -05:00
RadWolfie 4344f5db58 Remove HLEDatabase files
Moving into new project.
2018-05-12 07:24:10 -05:00
ergo720 125bc23d4f Pool manager initialization 2018-04-28 22:05:06 +02:00
ergo720 4ecfc4d5d4 Started to write eeprom menu 2018-04-19 19:56:20 +02:00
PatrickvL ffceb1600a
Merge pull request #1076 from ergo720/signature
Xbe signature validation
2018-04-19 09:25:40 +02:00
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
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
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 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 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 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 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