Commit Graph

14865 Commits

Author SHA1 Message Date
OBattler
e4877a57c5 EGA/JEGA: More fixes and implemented more C&T SuperEGA behavior. 2025-03-30 07:28:20 +02:00
OBattler
3fc6d29462 JEGA/JVGA: Only update renderer override on master, do not update CRTC cursor location unless it's either master or slave, and only override the text mode renderer - fixes AX Windows 3.0 386 enhanced mode returning from DOS box to full screen. 2025-03-30 04:53:48 +02:00
OBattler
19e01b8ddf UI: Optimize several Settings pages to reduce the amount of iterations and repeated calls to functions where multiple there are multiple instances of the same device type, should further speed up te opening of the Settings dialog. 2025-03-30 03:40:08 +02:00
OBattler
90464f7914 OKI IF386AX: Default NVR to 0x00's instead of 0xFF's, in order to default it to CRT instead of LCD. 2025-03-30 03:12:55 +02:00
OBattler
eeab2fe409 NE2000 Compatibles: Store the UI correctly. 2025-03-29 20:56:06 +01:00
Miran Grča
8bbed9338e Merge pull request #5407 from 86Box/tc1995
More fixes to the 8514/A compatible side.
2025-03-29 20:49:17 +01:00
TC1995
ef588c118a Fixed log excess. 2025-03-29 20:36:00 +01:00
TC1995
5a4a939e02 More fixes to the 8514/A compatible side.
1. Use proper identification to what chips use what.
2. Apply some mode switch fixes to the ATI 8514/A Ultra and make 1024x768 87Hz interlaced the default mode if htotal is 0 and on ati8514_init.
3. Add the undocumented ports to the ATI 8514/A Ultra add-on as well.
2025-03-29 20:27:20 +01:00
OBattler
b6b840b67e Recognize 8514/a-type cards as (S)VGA for the purposes of force 4:3 calculations, fixes blurry picture and wrong resolution. 2025-03-29 19:54:48 +01:00
OBattler
8b646ccc49 Fix a compile-breaking mistake in machine/m_ps1.c. 2025-03-29 18:47:21 +01:00
OBattler
e48c6c8e8b Laser XT3: No longer use the other BIOS that has not yet been committed. 2025-03-29 18:40:27 +01:00
OBattler
c1ecafaeb5 IBM PS/1 Model 2011: No need to explicitly refer to the zeroth element of the config array. 2025-03-29 18:38:20 +01:00
OBattler
99c81fe03d IBM PC/XT/AT and PB450: Remove "Device" from machine device_t names. 2025-03-29 18:36:33 +01:00
OBattler
8cc6f21536 PB450: Fix the default BIOS selection, fixes segmentation fault. 2025-03-29 18:32:41 +01:00
Miran Grča
bd158191c9 Merge pull request #5405 from 86Box/tc1995
More display changes.
2025-03-29 14:51:10 +01:00
TC1995
1c98437e66 More display changes.
SVGA related:
If CRTC1/HDISP is odd (if bit 0 is set), then make it even accordingly, else leave it as is. Should fix some display skews.

S3 related:
Remove old code references (can still be accessed through history if one needs it).

8514/A compatible related:
Proper use of the htotal and hdisp timings.
2025-03-29 14:49:13 +01:00
Miran Grča
219bf9cf9e Merge pull request #5404 from 86Box/tc1995
Vast overhaul for the Mach8/32/8514/A (March 29th, 2025)
2025-03-29 14:43:58 +01:00
TC1995
c91f2255ad Vast overhaul for the Mach8/32/8514/A (March 29th, 2025)
1. Implemented the FIFO test data to pass some tests of the Mach8 POST ROM and tests (not complete yet).
2. Overhauled the mode switches again, but this time with way less hacks and more on manual instructions.
3. Use a function pointer to determine if the Mach8 type used is a VGA combo or add-on.
4. Mach32 mode tests are no longer incorrectly green (was caused by improper pixtrans parts).
5. Implemented overscan color to the Mach32 as well as the CRT offset.
6. And fixed a PCI LFB GPF issue with the Mach32 2.3 drivers on Win3.1x.
7. Implemented memory boundary for both the Mach32 SVGA and its accelerator.
8. Added undocumented ports used by the FIFO (such as ports 0x8AEE and 0xEAEE).
9. Plus resetting the device right a la s3.
10. Temporarily switched the bus type of the Mach8 to 8-bit in both MCA and ISA variants.
2025-03-29 14:42:25 +01:00
Miran Grča
a34bfa56b0 Merge pull request #5403 from 86Box/tc1995
More fixes for 5380-based SCSI chips of the day (March 29th, 2025)
2025-03-29 14:26:10 +01:00
TC1995
6d43f7e2df More fixes for 5380-based SCSI chips of the day (March 29th, 2025)
1. Avoid audio stops when they don't need to be.
2. And improved the MMIO-based NCR 53c400 timings to be similar to the port I/O-based one (T130B).
3. Minor timing fixes to the T128/PAS as well (especially for the hdd, when entering Windows 1.x using a SCSI HDD).
2025-03-29 14:24:20 +01:00
OBattler
bb22e1dccb Moved the Packard Bell PB450 to the correct place on the machines list. 2025-03-29 08:14:30 +01:00
OBattler
2ed64c8399 Machine settings: Reduce the two loops to determine present machine types to a single loop, reduces the number of iterations from (number of machine types * number of machines) to just (number of machines), speeding things up. 2025-03-29 08:11:04 +01:00
OBattler
fcd6bd9c66 Serial: Give the OKI IF386AX 16450 serial ports instead of 8250. 2025-03-29 01:22:35 +01:00
Miran Grča
67a5e75cc5 Merge pull request #5399 from 86Box/feature/indicator-overlays
Generate status bar icons dynamically using separate overlay icons; remove custom icon set support
2025-03-29 00:42:04 +01:00
David Hrdlička
8b72c84c02 Use indicator overlays for status bar icons 2025-03-29 00:31:56 +01:00
David Hrdlička
ed4a312f4f Remove support for icon sets 2025-03-29 00:31:50 +01:00
OBattler
c00c432398 EGA: Fix colors in mono mode and attribute registers, fixes #5395. 2025-03-29 00:10:39 +01:00
Miran Grča
43df4da019 Merge pull request #5398 from 86Box/feature/icon-grayscaling
qt: implement authentic icon grayscaling
2025-03-28 22:51:31 +01:00
David Hrdlička
f422a9ce3d qt: implement authentic icon grayscaling 2025-03-28 22:15:58 +01:00
Miran Grča
18fbb25c24 Merge pull request #5397 from Cacodemon345/qt-locale-changes
Set LC_NUMERIC to "C" in program startup to fix GLSL parameter parsing
2025-03-28 20:21:58 +01:00
Cacodemon345
dd0e626133 Set LC_NUMERIC to "C" in program startup
For whatever fucking reason, glibc's functions dealing with decimal numbers apparently can only accept either commas or dots in strings, but not both. Meanwhile, both Windows and macOS have no apparent issues accepting both.

I will never understand why they decided to even consider such behaviour acceptable, especially since those ARE used for parsing decimal numbers in many programs, but I guess it's their own version of Not Invented Here syndrome that they (or anyone else) can't be bothered to deal with. This is not how good C standard libraries are written, at all.
2025-03-29 01:18:37 +06:00
Miran Grča
524db95838 Merge pull request #5394 from Cacodemon345/patch-768062
host_x86_MOV8_REG_ABS: Avoid more fatals
2025-03-28 17:37:19 +01:00
Cacodemon345
94cf5d59a2 host_x86_MOV8_REG_ABS: Avoid more fatals 2025-03-28 22:35:56 +06:00
OBattler
6366ff7580 JEGA: Fix two uninitialized variables. 2025-03-28 08:09:51 +01:00
OBattler
8f6f21b57e IBM VGA: Re-add the forgotten (S)VGA I/O handlers. 2025-03-28 06:54:45 +01:00
OBattler
47febdf196 JVGA: Read CRTC registers from VGA rather than EGA, fixes Wolfenstein 3D. 2025-03-28 06:42:11 +01:00
OBattler
63222b70db Added the OKIVGA/H-2 (JVGA/H). 2025-03-28 06:16:05 +01:00
OBattler
8a8ed60043 EGA: Send monochrome attributes through the EGA palette lookup like the real hardware also does. 2025-03-28 03:29:11 +01:00
OBattler
cec630fa75 JEGA: Use colors based on a photo of the real OKI IF386AX when the LCD is in use to tell it apart more easily, and reset all devices on port 65h reset, fixes Trantor SCSI BIOS not finding any devices after such a reset. 2025-03-28 03:26:28 +01:00
OBattler
ffd00e4527 Forgot 86box.c. 2025-03-27 19:14:01 +01:00
OBattler
93f3e9f339 Keyboard: Actually reset everything in keyboard_init() and call it in pc_reset_hard_init() as well. 2025-03-27 19:10:20 +01:00
Miran Grča
7ee19c0a55 Merge pull request #5392 from akmed772/da2dev
Fix bugs related to PS/55 emulation
2025-03-27 18:58:20 +01:00
Akamaki
da855e02b4 PS55DA2: Fix video switcher
Fix an issue that the screen is resized repeatedly when booting OS/2.
2025-03-28 01:30:00 +09:00
Akamaki
209b29a239 PS55DA2: cleanup, change func scope
remove unused variables, change funcs declaration scope, reformat debug code
2025-03-28 00:55:33 +09:00
Miran Grča
a481cf3b4d Merge pull request #5385 from flama12333/patch-7
Replace MACHINE_PCI with MACHINE_PS2_PCI for pl4600c and  Dell Dimension XPS P60 machine_table.c
2025-03-26 18:44:35 +01:00
Miran Grča
4acb47563d Merge pull request #5390 from Cacodemon345/nec-v20-8080
Implement NEC V20/V30's i8080 emulation mode
2025-03-26 18:40:31 +01:00
Cacodemon345
abbae5efd2 Cleanups 2025-03-26 23:18:36 +06:00
Cacodemon345
ad4e90e345 Finally fix RETEM 2025-03-26 23:01:09 +06:00
Miran Grča
af01ffb5c6 Merge pull request #5389 from lemondrops/pedals
Add variants of the CH Flightstick Pro and Thrustmaster FCS with rudder pedals attached
2025-03-26 17:34:25 +01:00
Miran Grča
e44a347263 Merge pull request #5388 from lemondrops/qt-network-redesign
Network settings page redesign
2025-03-26 17:34:14 +01:00