Commit Graph

1061 Commits

Author SHA1 Message Date
TC1995
3856f9700c Switched back to the "Graphics Ultra Pro" ISA-based BIOS as we found
the true culprit behind the "brokeness" which is that bit 4 of reg 0xBD of the ATI regs must be set in the reads.
2023-08-15 22:12:30 +02:00
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 2023-08-15 13:28:04 -04:00
Jasmine Iwanek
375f69ed61 Fix more compile warnings 2023-08-15 13:28:04 -04:00
OBattler
f7b5a566cb Added the OPTi 82c602, on-board CL-GD 5430, and also gave the PC87306 Super I/O chip its full NVR capabilities, fixes #2877. 2023-08-15 06:45:02 +02:00
TC1995
684276f48b Compile fix (4).
Please...
2023-08-15 01:58:11 +02:00
TC1995
2df1f38c6e Compile fix (3).
And changed the ATI Mach32 ISA bios to a working one (phew).
2023-08-15 01:47:37 +02:00
TC1995
80c645e821 Compile fix (2), same thing but for the ATI 68875 RAMDAC. 2023-08-15 01:33:17 +02:00
TC1995
9808f62921 Compile fix, now the ATI 68860 RAMDAC is using the proper 8514/A ON flag when needed. 2023-08-15 01:25:28 +02:00
TC1995
59811075db New batch of ATI Mach8/32 changes:
1. Hopefully fixed the passthrough stuff for good and fixed typo's in the IBM 8514/A poll function about the cursor.
2. Eliminated the ibm8514_on global variable in favor of a struct variable to be consistent with XGA.
2023-08-15 00:11:56 +02:00
OBattler
b203b28350 Assorted copyright header fixes. 2023-08-14 21:51:47 +02:00
OBattler
27c56f608d Compaq 386 machine fixes and Compaq EGA palette mux timer, fixes #3494. 2023-08-14 05:00:56 +02:00
Jasmine Iwanek
02e41927e3 Dribs and drabs which have escaped 2023-08-12 13:07:00 -04:00
Miran Grča
9be5d17061 Merge pull request #3549 from 86Box/tc1995
More ATI Mach8/32 changes:
2023-08-12 19:02:22 +02:00
cold-brewed
99cdd3a16a Various warning cleanups 2023-08-12 11:42:11 -04:00
TC1995
81a770001b Shouldn't have separated the 8514/A BPP from the VGA one, dang. 2023-08-12 15:17:54 +02:00
TC1995
a7f23e63c0 More ATI Mach8/32 changes:
1. Separated the 8514/A compatible BPP from the (S)VGA BPP.
2. Corrected clocks, fixes severe dropdown issues in most renderers.
2023-08-12 14:56:34 +02:00
OBattler
33471594f4 First batch of video fixes, also fixes the MDA timings. 2023-08-12 01:16:49 +02:00
TC1995
fea7eb0aad And forgot the ICS2494 updated clocks for the ATI cards. 2023-08-12 00:13:29 +02:00
TC1995
f240e8cb0c Video changes:
1. The passthrough from VGA to 8514/A and/or 8514/A to VGA no longer relies on hackish places where to switch from/to, instead, relying on port 0x3c3 of VGA doing so (though the Mach8/32 still needs some places where to manually switch from/to, mainly the MCA one when configuring the EEPROM).
2. Implemented the MCA behalf of the Mach32 and its corresponding reset function.
3. Properly implemented (more or less) true color, including 24-bit BGR rendering
4. Other fixes such as color patterns and mono patterns being more correct than before in various operating systems and in 24-bit true color.
5. Implemented the onboard Mach32 video of the IBM PS/ValuePoint P60 machine.
6. Made the onboard internal video detect when it's 8514/A compatible or not (CGA/EGA/MDA/VGA/etc.). If the former is selected, then the video monitor flag is used instead (for QT).
7. The TGUI9400 and 9440, if on VLB, now detect the right amount of memory if on 2MB.
8. Initial implementation of the ATI 68875 ramdac used by the Mach32 and made the ATI 68860 8514/A aware when selected with the Mach32AX PCI.
9. Separated the 8514/A ramdac ports from the VGA ramdac ports, allowing seamless transition from/to 8514/A/VGA.
10. Fixed a hdisp problem in the ET4000/W32 cards, where it was doubling the horizontal display in 15bpp+ graphics mode.
11. Removed the 0x3da/0x3ba port hack that was on the Mach8/32 code, relying on the (S)VGA core instead.
12. Reworked and simplified the TGUI9440 pitch register based on logging due to no documentation at all.
2023-08-12 00:00:46 +02:00
OBattler
7e76e8b28d PIC and Hercules Plus compile warning fixes. 2023-08-11 21:02:15 +02:00
OBattler
6a022039bd More Hercules Plus and InColor fixes. 2023-08-11 05:42:08 +02:00
OBattler
4e9d208ce7 Fixed text mode wrapping on the Hercules Plus. 2023-08-11 05:03:26 +02:00
OBattler
a2b7a175a9 Fixed Hercules InColor text mode wraparound, fixes #3520. 2023-08-10 16:47:12 +02:00
OBattler
9f4ae7030e ACPI and Vodoo 3/Banshee PCI/AGP card adding fixes, fixes #3535. 2023-08-10 16:10:59 +02:00
OBattler
5397388a1b Hercules Plus RAM font fixes. 2023-08-10 05:54:09 +02:00
OBattler
3462e563b8 Fixed the reversed PCI card add types in video/vid_mga.c. 2023-08-10 05:14:43 +02:00
Miran Grča
e55b06da4c Merge pull request #3534 from jriwanek-forks/sonarlint
Yet more Sonarlint and a few warning fixes.
2023-08-10 05:13:47 +02:00
Jasmine Iwanek
8d3f5b7b27 Fix a mistake found in vid_mga.c 2023-08-09 20:09:36 -04:00
Jasmine Iwanek
81bb5e564b Better fallthrough annotation macro. 2023-08-09 20:09:36 -04:00
OBattler
dbf9ef66fc Moved Voodoo initialization to the very end to minimize the likelihood of SCSI adapters ending up on the bridge. 2023-08-10 01:37:33 +02:00
Jasmine Iwanek
f023d158b0 sonarlint the ramdacs 2023-08-09 16:52:12 -04:00
Jasmine Iwanek
b52df9e201 sonarlint voodoo stuff 2023-08-09 16:52:12 -04:00
Jasmine Iwanek
b8993e3282 sonarlint generic files in src/video 2023-08-09 16:52:11 -04:00
Jasmine Iwanek
0cc00a6b0f sonarlint vid_tvp3026_ramdac.c 2023-08-09 16:52:11 -04:00
Jasmine Iwanek
90cea6125d sonarlint vid_tkd8001_ramdac.c 2023-08-09 16:44:59 -04:00
Jasmine Iwanek
abf7d55011 sonarlint vid_sdac_ramdac.c 2023-08-09 16:44:59 -04:00
Jasmine Iwanek
b80f43a970 sonarlint vid_sc1502x_ramdac.c 2023-08-09 16:44:58 -04:00
Jasmine Iwanek
060a1761e2 sonarlint the clocks 2023-08-09 16:44:58 -04:00
Jasmine Iwanek
73757d11c6 sonarlint vid_ibm_rgb528_ramdac.c 2023-08-09 16:44:58 -04:00
Jasmine Iwanek
ed20cc741c sonarlint vid_colorplus.c 2023-08-09 16:41:54 -04:00
Jasmine Iwanek
167146a5c4 sonarlint vid_cl54xx.c 2023-08-09 16:41:54 -04:00
OBattler
1a0bebaf4e CGA changes by anikom15. 2023-08-09 18:10:05 +02:00
OBattler
ce5e21f870 More warning and compile fixes. 2023-08-08 15:38:40 +02:00
OBattler
88c12bf4b9 Made the secondary graphics card initialize before the primary one so that the primary one's memory mappings have precedence by virtue of coming last - fixes main output going to the wrong window on some 486 machines. 2023-08-07 03:35:23 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
OBattler
cb24ee27cb Merge branch 'master' of https://github.com/86Box/86Box 2023-08-06 03:37:59 +02:00
OBattler
a8578203cc Virge FIFO waiting fixes - slots limit, and undocumented behavior to make Linux work. 2023-08-06 03:37:35 +02:00
TC1995
c6dab57a22 Mach64 GX/VT2: apparently I was wrong about the reserved aperture bit values...
Always enable the aperture when the linear base is > 0 and valid.
2023-08-04 15:41:47 +02:00
Jasmine Iwanek
cb774d3ce2 sonarlint vid_mda.c 2023-07-31 15:20:30 -04:00
Jasmine Iwanek
02ca9f5766 sonarlint vid_vga.c 2023-07-31 15:20:29 -04:00