Commit Graph

122 Commits

Author SHA1 Message Date
RichardG867
8b6db2f143 Fix CMD64x having PCI- removed from their names 2025-08-02 21:16:37 -03:00
OBattler
b9e294b781 Trned the LPT ports into device_t's. 2025-08-02 14:51:28 +02:00
Alexander Babikov
e485e1432e device.c: Remove excess logging 2025-08-01 15:23:11 +05:00
OBattler
e98424a8ae Added the ICS SB486PV. 2025-05-17 02:35:11 +02:00
OBattler
76d5fa79af Improve machine availability checking so that it absolutely never uses the legacy method if the machine has a device and the device has a CONFIG_BIOS setting. 2025-05-10 05:01:57 +02:00
OBattler
e800f99f5a Make device.c assume CONFIG_BIOS is first in the config struct and make sure any device_t struct containing such follows that, in order to not have to traverse the entirety of every single device_t's config struct in the Settings dialog - should reduce the dialog's loading times further. 2025-05-10 04:53:20 +02:00
Jasmine Iwanek
1005bdddd4 Fix warning in device.c 2025-03-10 02:27:02 -04:00
Jasmine Iwanek
6740b62d23 Improve empty bios file entry support 2025-03-10 00:36:05 -04:00
Jasmine Iwanek
a7d8f4a4e1 Extra CONFIG_BIOS Helpers 2025-03-09 18:42:35 -04:00
Jasmine Iwanek
29b6cd484c Fix a few potential segfaults found in device.c 2025-03-09 18:42:35 -04:00
OBattler
ce906664a5 Device: increased the length of the temporary pbus string, should fix heap corruptions. 2025-02-21 22:25:00 +01:00
OBattler
32f2153f56 Assume device valid if it has no bus flags set. 2025-02-14 08:57:30 +01:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
5b6a965900 Bring machine flags on par with device flag and clean up device_is_valid() accordingly. 2025-02-14 07:10:55 +01:00
OBattler
30ca057519 Removed the last remnants of device_t.poll(). 2025-02-13 01:06:40 +01:00
OBattler
90ba9eda08 Fixes to the device and machine configuration string getters and accordingly reverted the serial passthrough fix as well as it's no longer needed. 2025-02-12 05:18:12 +01:00
Jasmine Iwanek
d00f80d3ce General changes from the obattler_202406 branch
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 02:20:36 -05:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
OBattler
8f5cf293bd Assorted fixes, including warning message box for unavailable devices and translation fixes. 2025-01-27 01:20:37 +01:00
Jasmine Iwanek
738087ae13 Cleanups in device 2025-01-10 00:05:25 -05:00
Jasmine Iwanek
fca5828ed5 Fix various omissions in device.c 2025-01-02 01:39:23 -05:00
OBattler
35b115a407 And the device config section migration for it. 2024-11-21 14:59:19 +01:00
OBattler
55b091fb58 Assorted string fixes, mostly for consistency. 2024-11-10 02:23:21 +01:00
OBattler
422ebb322b Migrate device configuration regardless of what instance it is. 2024-07-21 15:13:16 +02:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
OBattler
dfe83ac32a Do not attempt to free init_dev if it's pointing to the const device itself. 2024-07-19 22:08:37 +02:00
OBattler
652ffa646e Added a sanity check to device.c. 2024-07-19 22:02:02 +02:00
OBattler
2e9dbcac9c device.c: Add workaround for "SoundBlaster PCI" names. 2024-06-10 22:44:00 +02:00
OBattler
44a6e7c1b4 Device: Do not free init_dev if points to dev, fixes SIGTRAP. 2024-05-25 02:02:55 +02:00
OBattler
a614e935fb Clean-ups in device.c/h and the _params() device add functions now work exactly as originally planned. 2024-05-25 02:00:19 +02:00
OBattler
e3c2c01f91 Commented out a call to lpt_reset() in device.c. 2024-05-03 18:47:54 +02:00
OBattler
2acb11d37c Implemented the Pro Audio Spectrum Plus serial mixer, Pro Audio Spectrum 16 parallel mixer, Pro Audio Spectrum Plus/16 SCSI, ESS ES688, all three ESS PnP AudioDrives, made the wavetables use a separate 44.1 kHz source, and made the Sound Blaster 16 PNP use a proper PNP ROM dump. 2024-05-03 17:02:13 +02:00
cold-brewed
4d8e7bd24e qt: Add UUID features, MAC address configuration, machine move detection 2024-04-02 11:47:29 -04:00
OBattler
58a0c840c1 Added SiS 550x, 558x, 559x, (5)600, UMC UM8890, UMC UM8663 Super I/O Chips, UMC UM8673F and Winbond W83769F IDE Contollers, and a number of machines, and fixes to the UM888x 486 chipset. 2024-02-22 00:52:20 +01:00
Cacodemon345
eb200030e3 IBM PS/1 Model 2011: Add language ROMs 2024-01-10 01:26:50 +06:00
OBattler
28e2eb3ce5 More Sound Blaster 16+ / ViBRA 16 fixes, added optional PC speaker control via the Sound Blaster 16+ / ViBRA 16, and removed some left-over temporary code from device.c. 2023-10-21 06:53:11 +02:00
OBattler
88934ab0ca IDE fixes and finished the SiS 5511. 2023-10-20 02:57:50 +02:00
OBattler
7013949310 Made sure the dummy "None"/"Internal" devices never get initialized and fixed some PCI AGP bridge mess (including AGP-less 440BX/ZX/GX erroneously initializing the 440LX/EX AGP bridge), fixes #3696. 2023-10-14 06:45:45 +02:00
Jasmine Iwanek
b8c4dee3bf More linting in src 2023-08-23 04:15:58 -04:00
OBattler
20b60fc46b Added more bus flags. 2023-08-15 01:27:16 +02:00
OBattler
2391c11260 More clean-ups and mouse fixes. 2023-08-11 22:29:53 +02:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
OBattler
babbb2247e Changed PS/2 bus check in device.c. 2023-07-02 16:59:39 +02:00
OBattler
c779956048 Fixed a compile-breaking mistake in src/device.c. 2023-06-19 01:10:15 +02:00
OBattler
a0e7204949 And fixed it correctly. 2023-06-18 23:58:05 +02:00
OBattler
b7c4973549 Fixed a off by one error in device.c. 2023-06-18 23:56:34 +02:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00