Commit Graph

10727 Commits

Author SHA1 Message Date
Miran Grča
2160f2cc4d Merge pull request #4493 from 86Box/tc1995
Video changes part 1 for 4.2
2024-05-29 23:19:48 +02:00
OBattler
6d2ea183c2 PAS Plus: Fix ID. 2024-05-29 23:18:43 +02:00
TC1995
2ac3d289e6 Video changes part 1 for 4.2
1. Corrected the ATI 1881x clocks for use with the ATI Mach8/32 and VGA Wonder chips. The CPU slowdowns should now be gone.
2. Merged I/O ports common to both the ATI and IBM 8514/A compatible chips where they have identical code (extended behavior is still separate). Code duplication is now less than before.
3. Fixed a general polygon pattern issue in the Mach8/32 affecting calc.exe in Win3.x and other stuff.
4. Mode changes are, once again, changed (ATI and IBM), as close as possible to the real thing without destroying existing resolutions.
5. The 8514/A Vertical Counter has been extended to 0xfff so that it can take 1280x1024 resolutions well offered by the Mach32 as well as a better way to change the IBM/ATI modes through a callback swap where approprietate.
6. in 8514/A mode, reads from the 0x3c6-0x3c9 ramdac range is redirected to the 8514/A RAMDAC (0x2ea-0x2ed).
7. LFB access in the Mach32 now no longer takes account of the SVGA derived rops. Fixes Mach32 display on NeXTSTEP/OPENSTEP 3.x/4.x
8. Reworked the Display Sense Status and Subsystem Status ports so that they're not copycats from MAME and instead follow the datasheet.
2024-05-29 20:47:22 +02:00
OBattler
e61c620558 ALi M1543(C): USB IRQ level/edge control. 2024-05-25 20:12:25 +02:00
OBattler
38557b33dc Removed the VM_FLAG access from DRx access again. 2024-05-25 17:24:43 +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
beddf47de8 Fixed the Super I/O chip and keyboard controller firmware identifications for all the boards that use the SM(S)C FDC73C93x family of Super I/O chips and corrected the socket of the Dell Hannibal+. 2024-05-24 19:10:13 +02:00
Miran Grča
4526a996d4 Merge pull request #4486 from usergithub64/master
Fixes for translation not working in the main window
2024-05-24 11:06:17 +02:00
OBattler
b0dc74dbb8 PCI: And make it correctly handle all 4 PIRQ's and zero PIRQ (in which case, do nothing at all). 2024-05-24 11:05:27 +02:00
OBattler
8ced9eba65 PCI: More fixes to the internal IRQ mechanism. 2024-05-24 11:01:58 +02:00
usergithub64
b97cbceb07 Fixes for translation not working in the main window
Also need to add the appropriate translation strings to the language files
2024-05-24 11:50:01 +03:00
OBattler
07f71aab05 PCI: Fix a bug in the internal IRQ mechanism. 2024-05-24 10:37:59 +02:00
OBattler
5ff67132a6 PCI: Add mechanism for internally wired IRQ routings. 2024-05-24 10:14:41 +02:00
OBattler
0a9d71a42b Correct the NVR mask of the two Compaq Presario's, fixes crashes with the 2240. 2024-05-24 03:58:37 +02:00
Alexander Babikov
a07ffdecab Restore the debug register operation on 486+
But put it behind a compile-time option due to performance hits
Also add the DE flag to CPUID on supported CPUs
2024-05-24 03:35:08 +05:00
OBattler
d182f4c553 Merge branch 'master' of https://github.com/86Box/86Box 2024-05-24 00:10:21 +02:00
OBattler
d23c2a613d 286/386 interpreter: reinstall VM_FLAG check on accessin the debug registers. 2024-05-24 00:10:04 +02:00
Miran Grča
29ac8fd28b Fixed line feed in prt_escp.c
Per fix by Patrick-Barry, fixes #4477.
2024-05-22 15:46:53 +02:00
TC1995
5c222f3f6d Non-ESS SB clones fix:
Add sanity checks to prevent segfaults on non-ESS SB clones using the setirq and setdma8 functions.
2024-05-21 22:44:52 +02:00
TC1995
94c30b06f0 Fix Mach64 LFB in some cases.
These few cases where it gets corrupt fonts like in some builds of NT 4.0 and mode changes in Win95's driver.
Hopefully this keeps everything else intact.
2024-05-20 23:54:57 +02:00
OBattler
b9ae4575a2 Removed fdd_json.c/h. 2024-05-20 21:40:36 +02:00
cold-brewed
117f604bf6 fdd: Add support for pcjs json floppy images 2024-05-20 11:07:55 -04:00
OBattler
d07f018e6b Removed the io.c #include from the dummy IOCTL handler and added the handler to the Unix SDL UI as well. 2024-05-20 04:04:13 +02:00
OBattler
1b68770bda Dummy CD-ROM IOCTL handler to fix compiling platforms other than Windows. 2024-05-20 03:52:53 +02:00
OBattler
18736f9c94 Fixed a compile-breaking bug on non-Windows. 2024-05-20 03:07:14 +02:00
Miran Grča
7cef898b7d Merge pull request #4465 from 86Box/tc1995
More S3 changes/fixes.
2024-05-20 02:39:01 +02:00
TC1995
1baae350dc More S3 changes/fixes.
S3 928:
When the pitch is 1280, make sure the proper horizontal resolution is displayed right (in this case, 1280x1024).

S3 Vision864:
Exclude it from the horizontal blank bits due to more issues that are TBD (like the Trio32 and 64 and up), this works around the mode issues under Windows 9x and more as well as fix 32bpp horizontal rendering in said chip.
2024-05-20 02:26:10 +02:00
OBattler
f8b93dc24e And .host as well. 2024-05-20 02:17:36 +02:00
OBattler
7c74a977fa There goes the legacy host_drive. 2024-05-20 02:15:17 +02:00
OBattler
9dc92bc1d4 More IOCTL fixes - audio now works correctly. 2024-05-20 01:57:15 +02:00
OBattler
7d7201f1e7 Merge remote-tracking branch 'origin/master' into feature/cdrom-ioctl 2024-05-19 21:24:19 +02:00
OBattler
0c9887b0ec AT KBC: Revert to old behavior always. 2024-05-19 21:24:04 +02:00
OBattler
641da43f15 IOCTL and CD-ROM changes. 2024-05-19 21:17:57 +02:00
TC1995
9af55412db Make the CD/DVD-ROM passthrough actually work (WIP)
Still WIP, eject/reload in the qt side is a bit broken.
2024-05-18 22:37:49 +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
TC1995
dd9f6f8bd4 Merge branch 'master' into feature/cdrom-ioctl 2024-05-18 19:37:38 +02:00
OBattler
3479965169 Merge branch 'master' of https://github.com/86Box/86Box 2024-05-18 17:43:01 +02:00
OBattler
7cad5b3f40 NEC Mate NX MA30D: The actual board has no AGP slot, closes #4459. 2024-05-18 17:42:54 +02:00
cold-brewed
aaf3ab575e Add new platform functions for global directories 2024-05-17 15:09:04 -04:00
OBattler
0561f65592 Sound Blaster: automatic DRQ clearing. 2024-05-17 01:28:16 +02:00
TC1995
fb6b0458a6 ATI Mach32/64 changes for the better:
1. On both Mach'es: direct linear video memory access is now the default for LFB mapping: fixes Mach64 drivers on NeXTSTEP/OPENSTEP and keeps everything else intact.
2. Mach8/32: minor cleanup to mode change code.
2024-05-16 22:33:50 +02:00
TC1995
a3d5f8e867 XGA 1-2: Pattern and cursor/sprite fixes.
1. Text is no longer glitchy under win95 using XGA.
2. Now there's a better way to handle the cursor/sprite X/Y offsets, should fix remaining Win3.x cursor blackness and other stuff using said cursor.
2024-05-15 21:18:40 +02:00
OBattler
5af50e22ed And the forgotten keyboard.h. 2024-05-14 21:25:54 +02:00
OBattler
1a255693e9 PS/2 KBC: Changed the way the IRQ delay is done, fixes #4451. 2024-05-14 21:25:25 +02:00
OBattler
55e1ca7dc1 PS/2 ASIC KBC: A minor fix. 2024-05-13 02:22:05 +02:00
OBattler
3c3e53e8b0 PS/2 KBC: Different approach to fix the Soyo 4SAW2 - it's only ever seen with ASIC KBC's (Holtek, MB-300E, and VIA VT82C42N), so I have added a Holtek controller that's basically an AMI with an ASIC flag. 2024-05-13 02:03:49 +02:00
TC1995
1856696cd2 Warning fix 2024-05-13 01:02:27 +02:00
TC1995
4e67a4fdd3 DMA speed fixes in place on the 53c400.
See above, so that the CD-ROM speed is accurate enough on both ends (T13B and the MMIO variants) and, at the same time, not timing out abnormally.
2024-05-13 00:57:53 +02:00
OBattler
3cac44a033 PS/2 KBC: Added a 2-cycle wait before clearing the IRQ's, fixes keyboard during NTLDR. 2024-05-13 00:42:35 +02:00