Commit Graph

410 Commits

Author SHA1 Message Date
rilysh
189be035d2 Mark plat_vidapi() argument as const and remove the NULL
* plat_vidapi() accepts char pointer, which never gets modifed
later on. Mark it as const.

* In src/config.c, va_name is initialized as NULL, however,
plat_vidapi_name() never returns a NULL pointer, nor it was
initialized under a condition branch. Removing NULL, might
save one instruction, which requires zeroing the register
before setting its initial value.
2024-07-21 12:49:06 +05:30
Jasmine Iwanek
680f65cf19 Standardize hdc_current into an array 2024-07-20 14:49:24 -04:00
Jasmine Iwanek
05e7d9239c Standardize fdc_type into fdc_current
Also make it into an array
2024-07-20 14:49:24 -04:00
Jasmine Iwanek
322adf1c2b Initial underlying code support for more than 2 video cards 2024-07-19 23:27:21 -04:00
RichardG867
869b481371 config: Remove ancient Sound Blaster PCI 128 migration path 2024-07-13 19:15:31 -03:00
RichardG867
44be6a0dbf C&T 69000: Fix PCI slot assignment and internal name 2024-07-13 19:14:12 -03:00
Jasmine Iwanek
84a494aa42 Don't change default behavior... yet 2024-07-08 14:29:27 -04:00
Jasmine Iwanek
516dc589b7 Handle freeing mallocs in config.c properly 2024-07-07 18:56:22 -04:00
Jasmine Iwanek
07e3aba22c Better support for internal floppy 2024-07-07 18:56:20 -04:00
richardg867
a529359993 config: Fix incorrect saving of cpu_override_interpreter 2024-06-03 22:40:46 -03:00
OBattler
7c74a977fa There goes the legacy host_drive. 2024-05-20 02:15:17 +02:00
TC1995
4fdb339407 Attempt #2 to implement CD-ROM passthrough.
Still Windows only on the QT side.
2024-05-18 19:42:00 +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
Miran Grča
68ec5c53a1 And in config.c. 2024-04-25 19:14:51 +02:00
Miran Grča
bc9b07fec5 Merge branch 'master' into config-cpu-version 2024-04-04 16:39:02 +02:00
cold-brewed
f637e72488 config: Add host_cpu and emu_build_num to general 2024-04-02 12:30:02 -04:00
cold-brewed
4d8e7bd24e qt: Add UUID features, MAC address configuration, machine move detection 2024-04-02 11:47:29 -04:00
Alexander Babikov
8e06b5449f Overhaul plat_get_string()
Now takes constants with human-readable names instead of
Win32 string table IDs, language.h is no longer needed

ui_msgbox*() no longer accepts string IDs as arguments directly,
plat_get_string() must be explicitly called to retrieve the string
2024-03-20 20:33:28 +05:00
OBattler
908ce24198 Conflict resolution. 2024-03-09 11:39:35 +01:00
Cacodemon345
6d1c91c8ce Add Vision Systems LBA Enhancer 2024-03-06 15:14:56 +06:00
Cacodemon345
74e9bcd084 Add Novell NetWare 2.x Card Key emulation 2024-02-26 03:15:44 +06:00
Alexander Babikov
224daa92d0 qt: Remove fullscreen status icons 2024-02-13 21:13:25 +05:00
Miran Grča
2b1104f511 Merge pull request #4117 from lemondrops/deskpro386
Further Compaq Deskpro 386 adjustments
2024-02-05 02:10:21 +01:00
Alexander Babikov
68a73dffe0 Give the Compaq Deskpro 386 its own set of CPUs
Both BIOSes can now take a 16, 20 or 25 MHz 386DX,
with the 16 MHz one paired with a 287 FPU.

Also remove unused CPU packages from the enum
2024-02-05 03:22:54 +05:00
Alexander Babikov
fb335a754a Merge the XTIDE XT/XT+ and AT/386 BIOS variations 2024-02-05 03:18:24 +05:00
Alexander Babikov
d7e125c16e Migrate configs for the Gigabyte Socket 4/5 machines (#4111)
* Bring back machine migration

And add migration for the Gigabyte Socket 4 and 5 machines

* Fix the GA-586IS's internal name

* Remove legacy CPU tables for very old builds

Since backward compatibility with pre-build 2654 configs has been
removed, remove forward compatibility with these builds as well
2024-02-03 16:08:18 -03:00
Alexander Babikov
08b0806f9a Add migration paths for changed device config names 2024-01-29 13:20:54 +05:00
GreaseMonkey
bf52ef7598 Add "86Box unit tester" config option + Qt UI checkbox
This is in preparation for making the device actually exist.
2024-01-07 11:21:38 +13:00
Jasmine Iwanek
4c87164692 Fix remaining warnings in windows and linux builds 2023-12-17 15:08:22 -05:00
OBattler
4e05f211de Fixed saving of the fullscreen icons setting into the config file. 2023-11-12 00:47:22 +01:00
Miran Grča
05ac665ee7 Merge branch 'master' into fullscreenstaticonqt 2023-11-08 07:08:51 +01:00
OBattler
ad2c09d275 The config dialog now also saves the speed for SCSI and ATAPI hard disks. 2023-10-30 03:39:13 +01:00
OBattler
b474e3d056 Massive IDE clean-ups, and finally implemented ATAPI hard disks. 2023-10-28 22:00:23 +02:00
Miran Grča
229b60b63c Merge pull request #3753 from jriwanek-forks/clock
Future support for higher clocked CPU's + A little more lint
2023-10-14 00:28:32 +02:00
OBattler
531bb61146 Fxied the last warnings. 2023-10-14 00:27:33 +02:00
OBattler
e657ecc8dd And another config.c clean-up. 2023-10-14 00:02:31 +02:00
Jasmine Iwanek
f6a5229a98 Future support for higher clocked CPU's 2023-10-13 17:55:18 -04:00
OBattler
d909b86fd5 More config.c clean-ups. 2023-10-13 23:51:50 +02:00
OBattler
7ec58da46f Config clean-ups, auto-pause, 4:3 integer scale, and more parameters. 2023-10-13 23:30:31 +02:00
Jasmine Iwanek
697213b99e Remove unneeded/duplicate check re softfloat 2023-10-04 16:25:14 -04:00
Jasmine Iwanek
9b9dc6cdcc Removed escaped whitespace at end of line. 2023-09-26 05:00:30 -04:00
Alexander Babikov
178f1ce599 Disable the softfloat checkbox when no FPU is selected 2023-09-16 23:52:32 +05:00
Jasmine Iwanek
b8c4dee3bf More linting in src 2023-08-23 04:15:58 -04:00
Alexander Babikov
ef631a8133 8514/A and XGA handling refactor:
* separate (ibm8514|xga)_enabled into (ibm8514|xga)_standalone_enabled
  and (ibm8514|xga)_active, the former being enabled only for standalone
  8514/A or XGA cards, the latter for all 8514/A and XGA-capable cards
  and not saved into the config file;
* remove (ibm8514|xga)_has_vga and replace all uses of it with
  (ibm8514|xga)_standalone_enabled;
* Qt UI: the checkboxes for standalone 8514/A and XGA are now correctly
  grayed out if an (S)VGA card with 8514/A or XGA capability is selected,
  including cases when the card is an internal/onboard one; said cards are
  now no longer appear as SVGA multi-monitor compatible.
2023-08-22 23:48:32 +05:00
OBattler
e0296e7b4c Fixed some =='s in config.c to ='s. 2023-08-22 19:16:18 +02:00
OBattler
886e3209bf Configuration file handling fixes. 2023-08-22 19:06:57 +02:00
OBattler
5b56f3a450 Some small fixes. 2023-08-19 06:05:52 +02:00
OBattler
1cff8341c2 Removed some excess logging from config.c. 2023-08-18 22:50:12 +02:00
OBattler
597a6640f4 More config.c clean-ups and added some plumbing for the future ZIP and MO image history. 2023-08-18 18:28:38 +02:00
OBattler
daa702c1b6 Clean-ups in config.c - removed excess #if 0's block and sanitized the way file names are handled for all media, they are now all saved as relative. 2023-08-18 17:52:30 +02:00