Commit Graph

135 Commits

Author SHA1 Message Date
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
Cacodemon345
27e4124574 qt: Fix performance regression 2022-07-12 14:41:38 +06:00
David Hrdlička
ec6f6f4f9e Set MONITORS_NUM to 2
There is no reason to declare more monitor instances than we support
2022-07-12 10:18:52 +02:00
Cacodemon345
a2c9dc5dbb Make screenshots thread-safe 2022-07-11 21:34:58 +06:00
Cacodemon345
c0c873151b qt: Add Show non-primary monitors option 2022-07-10 11:41:02 +06:00
Cacodemon345
90ba53e4e8 Finish multi-monitor support 2022-07-07 14:34:59 +06:00
Cacodemon345
07663ceb7e Preparation for monochrome video selection 2022-07-06 17:44:43 +06:00
Cacodemon345
20d3f0971c Use atomic_bool instead of atomic_flag for doresizes
atomic_flag seems to be broken on Windows for clearing them outside the
thread they were tested and set in
2022-07-06 01:25:39 +06:00
Cacodemon345
b588f163c6 Implement per-monitor window geometry settings 2022-07-05 14:09:14 +06:00
Cacodemon345
554cd27121 Monitor load/save code (not hooked up yet) 2022-07-05 01:41:13 +06:00
Cacodemon345
e8ffc699ba qt: Implement per-monitor resizing 2022-07-04 17:54:38 +06:00
Cacodemon345
7ab71cafd3 Working multimonitor 2022-07-04 01:50:42 +06:00