Commit Graph

146 Commits

Author SHA1 Message Date
TC1995
d17d13e3b8 ATI Mach8/32 mode changes and cleanup:
1. Cleanups and moving the mach8/32 struct to a dedicated header so that would allow for future 8514/A add-on clones (in paper).
2. Mach8/32's port 0x4ae8/9 and shadow set ports (0x5aee and 0x46ee) now account to the mode changes seriously, should fix most of the horizontal/vertical coordinates while entering GUI modes of various stuff.
3. Horizontal/Vertical window coordinates can only be modified if the display enable bit of port 0x22e8 is set as well as bit 0 of port 0x4aee, fixes most problems noted above.
4. Implemented horizontal blanking stuff a la VGA but actually for 8514/A and clones (like ATI).
5. Added some comments regarding the current situation.
6. The Mach8 was actually a 8514/A clone co-processor, not a single solution card of its own. The ATI Graphics Ultra was a single solution card that is actually a Mach8 + ATI 28800-6 in one, so renaming it accordingly.
7. Fixed garbled/distorted acceleration when device bitmap acceleration is enabled in the ATI Mach8 3.0 Win3.1 drivers.
2024-01-15 21:43:33 +01:00
Cacodemon345
bd1a5e03b0 Somewhat-working Matrox Productiva G100 2023-12-31 02:19:11 +06:00
OBattler
b93b6d6f2b Added the Cardex S3 Trio64V+. 2023-12-29 11:12:45 +01:00
Cacodemon345
277581daea Non-working Millennium II 2023-12-29 02:13:40 +06:00
Miran Grča
1f37e27687 Merge pull request #3927 from jriwanek-forks/mystique
Un-dev matrox mystique
2023-12-23 20:49:05 +01:00
Cacodemon345
70d6d5954b MGA: Implement gamma correction for 24+ bpp modes 2023-12-24 01:46:10 +06:00
Jasmine Iwanek
933f402cc9 Un-dev matrox mystique 2023-12-23 13:27:25 -05:00
TC1995
d38ad2eb23 ATI EGA Wonder 800+ fixes.
1. Reverted the migration from ATI 18800 as the EGA code had the proper palette.
2. Add support for the 800x600 resolution required by said card.
2023-12-19 19:03:54 +01:00
TC1995
6eb05e14d5 ATI EGA Wonder 800+ and 18800 refactoring:
1. Proper cleanup of the code.
2. Migrate the card in question to the VGA class list as it's actually a rebadged VGA Edge (thus 18800).
3. Some VGA only features are not supported on this card and are documented in the recalctimings.
2023-12-18 23:43:37 +01:00
Jasmine Iwanek
7d9b10d556 Correct undevbranching of the Matrox Millenium 2023-12-16 14:35:52 -05:00
TC1995
e4696aa2e9 Undev branch the Matrox Millennium since it is now mostly usable. 2023-12-16 20:17:55 +01:00
TC1995
38e63ec9c6 Compaq Plasma fixes:
Fixed the blinking/test cursor of said built-in video on Portable III/386.
2023-10-14 20:15:04 +02:00
OBattler
7ec58da46f Config clean-ups, auto-pause, 4:3 integer scale, and more parameters. 2023-10-13 23:30:31 +02:00
Miran Grča
7f06e697cb Merge pull request #3623 from jriwanek-forks/cleaning
Latest round of sonarlint work
2023-08-23 20:42:39 +02:00
OBattler
2bff7c3910 The IBM PC330 on-board CL-GD 5430 is now correctly VLB and not PCI. 2023-08-23 18:05:58 +02:00
Jasmine Iwanek
3a0ddc2087 More linting in src/include/86box 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
Jasmine Iwanek
bd6508350b Yet more tabs to spaces 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
1907026518 Update video.h
Fixes a possible conflict.
2023-08-12 00:22:54 +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
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
TC1995
cb06b9e78f Video features and fixes:
Added the Mach8 and Mach32 ISA/VLB/PCI cards (initial implementation and MCA coming soon for the Mach32) and their corresponding EEPROM's.
Added INMOS XGA ISA card and updated the SVGA core to reflect its mapping as well as the Mach8/32 mapping when in 8514 monitor mode.
Mark the XGA button as already checked and locked when a standalone XGA BIOS card is present like the INMOS one. (QT only)
Same concept as above, but applies to the Mach8 and 32 for the 8514 option as well. (QT only)
2023-07-14 23:38:04 +02:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
Jasmine Iwanek
a7236a9022 Make dual video card code use array 2023-02-06 07:29:18 -05:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -05:00
Jasmine Iwanek
b6466ba266 Voodoo3 3500 SI 2022-11-10 18:10:17 -05:00
Jasmine Iwanek
7c2c1e985d Falcon Northwest Voodoo3 3500 SE 2022-11-10 18:10:10 -05:00
Jasmine Iwanek
5a462053fd Compaq Voodoo 3 3500 2022-11-10 18:10:10 -05:00
Jasmine Iwanek
7176d7c66c Velocity 200 AGP 2022-11-10 17:03:13 -05:00
Jasmine Iwanek
381f9d11fc Voodoo 3 3500 TV 2022-11-10 17:03:13 -05:00
Jasmine Iwanek
6f031c34df Voodoo 3 1000 2022-11-10 15:49:20 -05:00
OBattler
8f13bae92c Removal of vid_blit_memtoscreen_8(). 2022-10-30 17:13:40 +01:00
OBattler
934f6dd500 Beginning of the process to remove vid_blit_memtoscreen_8() to get rid of the flickering on QT. 2022-10-30 16:49:38 +01:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
Cacodemon345
a6c9af3064 Add NEC SV9000 (Trident TVGA9000B) 2022-10-02 01:38:56 +06:00
Jasmine Iwanek
a75aa6f412 Expose agpgart_t (#2655) 2022-08-31 19:23:38 -03:00
Cacodemon345
012db280e2 qt: Remember maximized state of monitor windows if enabled 2022-08-14 12:32:29 +06:00
Cacodemon345
dd23397854 qt: Add option to apply fullscreen stretching modes when maximized 2022-08-10 01:27:54 +06:00
Jasmine Iwanek
43339bd44a Add orchid varients of the GD5430 and 5434 2022-07-29 00:40:49 -04:00
Miran Grča
7b96ac8c84 Merge pull request #2521 from jriwanek-forks/boca-4610
Boca Reseach 4610
2022-07-28 03:03:41 +02:00
Jasmine Iwanek
ac68a2e5ee Boca Reseach 4610 2022-07-27 19:09:42 -04:00
Jasmine Iwanek
a04710b517 clang-format in src/win and other misc places 2022-07-27 17:27:51 -04:00
OBattler
df0a285a2e Merge branch 'master' of https://github.com/86Box/86Box 2022-07-26 22:32:10 +02:00
OBattler
87cf281035 DECpc LPV fixes and implementation of the on-board S3 805 with the AT&T 490 RAMDAC, fixes #2349. 2022-07-26 22:32:01 +02:00
Cacodemon345
3d9f0b560c Add Reply Video Adapter for MCA (Cirrus CL-GD5426) 2022-07-26 01:06:40 +06:00
Miran Grča
9cca54986f Merge pull request #2451 from Cacodemon345/multimonitor-take2-ui
qt: Fix performance regression
2022-07-12 14:31:20 +02:00
Cacodemon345
8f24c972e7 qt: tidy up header 2022-07-12 15:28:33 +06:00