Commit Graph

67 Commits

Author SHA1 Message Date
Alexander Babikov
643979c0b7 Merge joystick_*.h into gameport.h
Just like it was done to all headers with only device declarations years ago
2024-02-18 19:31:39 +05:00
Jasmine Iwanek
7c0e1f7f83 Joystick code improvements 2023-08-15 13:30:12 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
Jasmine Iwanek
30cf309a35 Fix mistake in Thrustmaster ACM code 2023-04-01 22:48:02 -04:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
Jasmine Iwanek
c520a1e864 clang-format in src/game/ 2022-09-18 17:19:22 -04:00
OBattler
69d0ff454c A game/gameport.c change. 2022-07-18 23:45:25 +02:00
Jasmine Iwanek
fdd1070b2c Fix missing return 2022-03-13 17:37:11 -04:00
Jasmine Iwanek
fc51359579 Fix warnings in gameport.c 2022-03-13 17:15:54 -04:00
Jasmine Iwanek
1a7c27286a src/game 2022-03-13 09:40:04 -04:00
Jasmine Iwanek
c5d1a7b456 small bit of cleanup in gameport.c 2022-03-13 09:00:26 -04:00
Jasmine Iwanek
c8574c55cc Thrustmaster ACM 2022-03-12 18:47:12 -05:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jasmine Iwanek
4287e44824 newlines at end of file 2022-02-18 21:38:51 -05:00
Alexander Babikov
c4af6f4f9b Fix a typo in CH Flightstick Pro's internal name 2022-02-03 13:36:57 +05:00
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
4849deb156 added null devices and refactored tables 2022-02-02 17:48:04 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Miran Grča
ba0430999c Merge pull request #1948 from jriwanek-forks/more-joystick
Add support for a joystick port at 0x209
2021-12-20 21:58:52 +01:00
David Hrdlička
52486e121e Convert CMake files to 4 spaces indentation 2021-12-20 15:08:23 +01:00
Jasmine Iwanek
6fa603839e Add support for a joystick port at 0x209 2021-12-19 22:44:24 -05:00
Jasmine Iwanek
bf9c9075da support gameport at 0x208-0x20f also 2021-12-19 18:18:20 -05:00
Jasmine Iwanek
487e5a198a Add more generic joysticks
3axis, 2 button
3axis, 4 button
standardize naming
2021-12-19 18:18:01 -05:00
OBattler
6661ff5dcc Abstracted away the machine bus'es and flags in order to make the rest of the emulator agnostic as to how they're stored. 2021-12-13 01:23:06 +01:00
RichardG867
b9c68bf277 Initial commit for AC97 2021-07-11 16:58:52 -03:00
Alexander Babikov
5f5a0dc2a6 Move the Super I/O game port flag to a #define 2021-06-25 21:03:22 +05:00
Alexander Babikov
7824e99341 Fix game ports at a non-standard addresses not being added if there were none previously 2021-06-25 21:03:21 +05:00
Alexander Babikov
c0d2091620 Fix the default joystick type 2021-06-25 21:03:16 +05:00
Alexander Babikov
3775d06c37 Fix the PnP gameport 2021-06-18 18:21:32 +05:00
OBattler
f870f3439c Fixed the Shuttle HOT-539 segmentation fault. 2021-06-04 02:46:41 +02:00
RichardG867
2b692640e1 Disable ISAPnP logging 2021-06-03 16:26:09 -03:00
RichardG867
dfd6d4e2df Add game port device with 6 I/O ports for the Crystal CS4237/8B 2021-06-03 16:26:07 -03:00
RichardG867
b5a295e91d Continuing the game port overhaul: added support for Super I/O game ports not being broken out 2021-06-03 16:26:07 -03:00
RichardG867
77f311b179 Game port overhaul 2021-06-03 16:26:05 -03:00
RichardG867
c9e75f6624 Allow game port to be remapped 2021-04-02 23:44:24 -03:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
Alexander Babikov
82404f2b3a Move the "No joystick" option to the top and get rid of the JOYSTICK_TYPE_NONE macro 2020-12-06 15:07:16 +05:00
Alexander Babikov
e09f5ad85c Give the joystick types internal names 2020-12-06 15:05:19 +05:00
OBattler
6e233f4ac8 SDL renderer improvements and fixes and added SDL OpenGL option;
Various performance improvements;
Fixed USB UHCI HCHalt;
Cirrus Logic CL-GD 5422/24 fixes and removed them from the Dev branch;
The Storage controllers sections of Settings now has its own corresponding section of the configuration file;
Fixed the AT clock divisors for some Pentium OverDrive CPU's;
Added the ACPI RTC status (no ACPI RTC alarm event yet).
2020-11-26 18:20:24 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00