Commit Graph

12460 Commits

Author SHA1 Message Date
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
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
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
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
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
David Hrdlička
f422a9ce3d qt: implement authentic icon grayscaling 2025-03-28 22:15: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
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
Alexander Babikov
929a9fb25e Network settings page redesign
Co-Authored-By: cold-brewed <47337035+cold-brewed@users.noreply.github.com>
2025-03-26 19:30:21 +05:00
Cacodemon345
2b107725bd Custom NMI handling for i8080 emulation 2025-03-26 20:17:13 +06:00
Cacodemon345
99e8d13afa Implement NEC V20/V30's i8080 emulation mode 2025-03-26 20:04:43 +06:00
Alexander Babikov
0a5fa0da39 Add variants of the CH Flightstick Pro and Thrustmaster FCS
with rudder pedals (CH Pedals and Thrustmaster RCS respectively) attached
2025-03-26 16:51:50 +05:00
Cacodemon345
38de9b7a1b Add the other two confirmation dialog checkboxes in Preferences 2025-03-26 16:52:35 +06:00
Cacodemon345
e5aed7f9e6 Add confirmation dialog checkboxes in Preferences 2025-03-26 16:37:59 +06:00
flama12333
bd8bade3fb update machine_table.c 2025-03-26 01:32:24 -05:00
flama12333
3380783876 Replace MACHINE_PCI with MACHINE_PS2_PCI for pl4600c machine_table.c
this will be solved the ps2 mouse  not appear on the setting
2025-03-25 21:42:01 -05:00
Cacodemon345
ce820df1d1 Always make sure emulator is not off-screen when resizing 2025-03-26 02:08:12 +06:00
OBattler
556aca0b4e NEAT/NEATsx: Fix the base of extended memory when EMS is enabled. 2025-03-25 07:13:50 +01:00
OBattler
d7529d4f5e Reverted the fix because it turned out I had actually misread the code. 2025-03-25 06:32:12 +01:00
OBattler
8da843bb0a DMA: Fix a long-standing nasty bug in bus master transfers that was potentially causing memory corruption. 2025-03-25 06:29:11 +01:00
OBattler
e71c30ce84 MMU: Fix behavior of 64-bit memory reads (used by FPU and MMX), should no longer waste host cycles on extra unnecessary MMU translations and should also no longer MMU translate already translated addresses which was causing unpredictable results. 2025-03-25 04:03:21 +01:00
OBattler
260f91313a JEGA: Bring back the reset for time being, the BIOS needs it to reboot. 2025-03-25 02:08:35 +01:00
OBattler
3f6593f314 IF386AX: Set video card to fixed and make the power off function actually power off. 2025-03-25 02:02:00 +01:00