Commit Graph

67 Commits

Author SHA1 Message Date
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
Jasmine Iwanek
4e6f29a7d5 malloc to calloc 2025-02-01 15:38:36 -05:00
Miran Grča
f599e72114 Merge pull request #5194 from jriwanek-forks/available
Clean up .available & .poll
2025-02-01 21:35:22 +01:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
Jasmine Iwanek
ac891a05a5 Initial code for joystick port instancing 2025-01-31 21:49:56 -05:00
Jasmine Iwanek
e96c6579ba Gameport backend work 2025-01-31 21:32:43 -05:00
Jasmine Iwanek
6725d93b37 Fixes to tmacm 2025-01-31 20:24:39 -05:00
Jasmine Iwanek
50244cdb2d Add PNP 1IO and make Vibra16XV use it 2024-12-30 14:21:47 -05:00
Jasmine Iwanek
53c6c9660c Update gameport copyright 2024-12-07 20:27:19 -05:00
Jasmine Iwanek
db34cc06b9 Deal with many magic numbers in gameport.c 2024-12-07 20:27:19 -05:00
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
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
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
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
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