Commit Graph

1045 Commits

Author SHA1 Message Date
TC1995
d2b0d0c3c2 XGA: 16bpp mode in accelerated mode no longer shows inverted colors in various parts of some stuff (e.g.: Win3.1x, OS/2). 2023-07-27 16:01:20 +02:00
Jasmine Iwanek
d2f42198fd Fix clang build failure 2023-07-26 12:41:18 -04:00
Jasmine Iwanek
db66543959 Apple build fix 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
OBattler
fb65dab835 Merge branch 'master' of https://github.com/86Box/86Box 2023-07-22 04:58:55 +02:00
OBattler
f4423bcf17 Fixed a warning in video/vid_8514a.c. 2023-07-22 04:58:47 +02:00
Jasmine Iwanek
54c52fb55c Fix several instances of uninitialized variables. 2023-07-21 13:46:08 -04:00
OBattler
e7d150b2c6 And a newly-introduced compile-breaking bug in the Mach8/32 code. 2023-07-16 03:50:49 +02:00
OBattler
7e9045e6b1 And a warning in the XGA code. 2023-07-16 03:50:00 +02:00
OBattler
1d62a8dc9a And another warning in the Mach8/32 code. 2023-07-16 03:49:05 +02:00
OBattler
2b5d1e19c1 And some unused variables in the Mach32 PCI code. 2023-07-16 03:48:04 +02:00
OBattler
4de80ab93e Fixed some indentation mess in the Mach64 code. 2023-07-16 03:47:31 +02:00
OBattler
38fb084124 Fixed a bug in the Mach8/32 code. 2023-07-16 03:46:54 +02:00
TC1995
5d07468a67 S3 ViRGE change:
Attempt at fixing a small but breaking bug reported by a Discord user.
2023-07-15 00:06:57 +02:00
TC1995
ac762f6a86 S3 Pre-ViRGE changes:
Cosmetic cleanups and fixed the 512KB and 1MB settings of the 864/964+ chips, thus no longer thinking they were 2MB.
2023-07-14 23:57:50 +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
TC1995
92db594d6b ATI Mach64GX/VT2: Corrected the 24bpp accelerated mode in terms of colors and bitblt so that it could be glitchless.
Corrected 8bpp mode under Win2000 as well so that it no longer glitches.
VT2 is PCI only, so use its PCI timings only.
Small cosmetic fixes in the if's of the linear apertures of said card.
24bpp mode will be unthreaded while the rest of the bpp's is left intact, this is due to desyncing in 24bpp mode in NT 3.1's 24bpp drivers.
2023-07-14 21:14:19 +02:00
TC1995
01c05781e2 Tseng ET4000W32/i: corrected (in the best possible way) the mouse cursor shape (under NT) when it's at the top edges while not affecting the proper shape in other operating systems. 2023-07-14 20:46:12 +02:00
OBattler
979bd75acb Merge branch 'master' of https://github.com/86Box/86Box 2023-07-06 19:59:54 +02:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
OBattler
95c900a5dc Fixed off-by-one error in video/vid_ics2494.c. 2023-06-19 00:12:19 +02:00
OBattler
eb677b3d5a Fixed array out of bound accesses in video/vid_herculesplus.c. 2023-06-19 00:11:03 +02:00
OBattler
e4d860c025 Replaced calls to flushmmucache_cr3() to direct calls to flushmmucache_nopc() and removed the #define. 2023-06-11 22:12:18 +02:00
OBattler
f4c59e907d Removed mmu_invalidate(). 2023-06-11 22:07:32 +02:00
GreaseMonkey
078651d273 (mostly) Fix EGA split screen - fix done by @cons-cinnabar
Closes: #3386
2023-06-11 13:28:13 +12:00
Jasmine Iwanek
3cc036b7cd Fix reports by CodeQL scanning 2023-06-05 00:41:00 -04:00
Jasmine Iwanek
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
TC1995
cf49686957 Accelerator fixes part 2: 8514/A.
Mix patterns are drawn at the correct position now instead of backwards.
Better handling of subsys/subcntl side.
As usual, better handling of the VGA on/off passthrough.
Better handling of the accelerator pitch (TODO: need a way to properly identify 640x480x256 in the pitch side).
2023-05-05 19:55:27 +02:00
TC1995
a77271cfa6 Accelerator fixes part 1:
XGA: Fix crash when (S)VGA cards not selected as the primary display (e.g.: EGA, CGA. etc).
Better handling of the VGA on/off passthrough (vga_on variable).
MCA side: to avoid lfb issues, bit 0 of POS4 will be always enabled regardless of the ram size (most software uses the >16MB memory method).
Better handling of the BIOS ROM mapping and Memory Mapped I/O during the MCA PS/2 POST and resets, fixes 40 25 hang (once and for all).
Re-organized the ROM loading in ISA mode.
2023-05-05 19:08:49 +02:00
Jasmine Iwanek
927c26f496 Fix some variant type comparisons 2023-05-02 02:18:17 -04:00
OBattler
c289872cd6 Allow 8 MB VRAM on the Number Nine 771 since it turns out it correctly supports that much. 2023-05-01 16:19:02 +02:00
OBattler
018c9ca39b Fixed the VRAM size on the Reply MCA Cirrus Logic card. 2023-04-16 23:44:45 +02:00
RichardG867
2e3b89fb85 vid_ddc: Upgrade to EDID 1.4 with proper physical size so that Xorg doesn't try to use the highest resolution 2023-04-11 13:00:15 -03:00
Ben Russell
8fe70b0a6e vid_ega: Make the read-write CRTC registers readable
This fixes a lockup that happens when returning from QBASIC under many screen modes, including SCREEN 0.
2023-03-24 21:50:06 +00:00
Ben Russell
9e758ca0b0 vid_ega: Implement graphics blinking required for 640x350 mono graphics modes 2023-03-23 20:09:13 +13:00
Ben Russell
935d49da6c vid_ega: Hoist out + name chip register flags in renderers; Tweak graphics char writing loop 2023-03-23 20:03:21 +13:00
Ben Russell
240ecdfe5f vid_ega: Mask ma correctly in the text renderer
It was already masked correctly in the 4bpp graphics renderers, but now we get to mask it correctly in the text renderer
2023-03-23 17:10:45 +13:00
Ben Russell
0bed201e87 vid_ega: Merge text renderers together 2023-03-23 17:06:12 +13:00
Ben Russell
69c18755a4 vid_ega: Extend 4bpp renderer to handle CGA 2bpp chunky graphics; Remove 2bpp renderer
This also lets planes 2 and 3 be used.
2023-03-23 15:28:25 +13:00
Ben Russell
212e494328 vid_ega: Merge 4bpp graphics renderers together 2023-03-23 14:51:35 +13:00
TC1995
247c5df801 ET4000w32/i (and non-i): Mouse cursor shape is now alright by being forced to be 128x128 and if the cursor regs (0xe2 and 0xe6) have a non-0 value in the non-i chip (or if on 15/16bpp, forcing it to 128x128 anyway).
Also fixed are the blitter patterns in 8/15/16bpp modes by re-ordering (if it's the right term) the pixels of the Y pattern coordinates (code lines are from 1165 to 1183).
And properly implemented X/Y Count control routing blitters, fixes anything that uses software Bresenham and/or polygon stuff.
2023-03-21 23:49:28 +01:00
Ben Russell
2a395efbc9 vid_ega: Fix address decoding for Odd/Even modes for the 4bpp gfx renderers
This, combined with the Odd/Even fixes from a previous commit, gets the 64KB 640x350 2bpp modes working correctly.
Relevant issue: #2944
2023-03-20 20:07:39 +00:00
Ben Russell
77ba033fd9 vid_ega: Fix CCLK/2 rendering in 4bpp graphics modes
Required for 64KB-variant 640x350 2bpp modes (BIOS modes 0x0F, 0x10).
This does need some address decoding fixes to break the 16K-word barrier, though - those are coming.
2023-03-20 19:36:38 +00:00
Miran Grča
1484a70ebb Merge pull request #3180 from Cacodemon345/banshee-filter-fix
vid_voodoo_banshee: Extend screen filter buffers to 2048 * 3 bytes
2023-03-07 20:18:18 +01:00
Cacodemon345
03a578708c vid_mga: Make Matrox Millennium multi-monitor compatible 2023-03-07 22:03:04 +06:00
Cacodemon345
8e54488f22 vid_voodoo_banshee: Extend screen filter buffers to 2048 * 3 bytes
Fixes crashes when screen filtering is enabled and AmigaSport V3.0 drivers for Windows XP are used.
2023-03-07 14:30:33 +06:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
Marek Knápek
4248d80040 Port PR#199 from pcem to 86Box.
Source: https://github.com/sarah-walker-pcem/pcem/pull/199
2023-02-19 18:47:43 +01:00
Miran Grča
ad93741b89 Merge pull request #3115 from luennix/infinia7200
Add Toshiba Infinia 7200 (TC430HX OEM) and add TC430HX's on-board S3 ViRGE/DX
2023-02-18 04:44:28 +01:00