Commit Graph

1509 Commits

Author SHA1 Message Date
OBattler
479ab87f17 EGA Render: Apply the (S)VGA Render blink fix by greasemonkey. 2024-08-08 00:56:19 +02:00
OBattler
6118f7080d Compaq EGA: Put the dot poll timer into the correct time after a timings recalculation, fixes POST errors on non-Compaq machines. 2024-08-07 17:34:09 +02:00
Jasmine Iwanek
493e82f488 Fix mistake in vid_ega.c 2024-08-07 01:29:13 -04:00
Jasmine Iwanek
5b8b5d739b Deal with some magic numbers in vid_ega.c 2024-08-07 01:07:50 -04:00
OBattler
fbfb6849c4 Compaq EGA: Implement C&T behavior where reads in mode 0 return 0xFF if bit 2 of GDC register 4 is set, fixes video memory size detection, fixes #4571. 2024-08-07 05:08:41 +02:00
OBattler
5782f812e0 UYVY format implementation, fixes #4682. 2024-08-03 19:54:39 +02:00
OBattler
c32c685070 vid_svga.c: Allocate 8 bytes more of video memory to avoid segmentation faults. 2024-07-28 03:44:45 +02:00
RichardG867
b19bf7782b MGA: Fix warning with devbranched G100 2024-07-26 16:44:31 -03:00
OBattler
e377e58881 Assorted fixes and Dev branched the Matrox G100 and the PCL printer. 2024-07-26 00:39:11 +02:00
TC1995
b91a0d1a14 Initial implementation of the timed FIFO on the ViRGE
See above.
2024-07-25 21:40:37 +02:00
Miran Grča
4387b3e137 Merge pull request #4626 from jriwanek-forks/qtvideo
Initial underlying code support for more than 2 video cards
2024-07-20 05:47:59 +02:00
Miran Grča
e3c03bc5eb Merge pull request #4628 from jriwanek-forks/device
Less dummy devices
2024-07-20 05:46:59 +02:00
Jasmine Iwanek
322adf1c2b Initial underlying code support for more than 2 video cards 2024-07-19 23:27:21 -04:00
TC1995
3f14c7f590 Chips PCI card fixes (July 20th, 2024)
Cleaned up the code and fixed the reset and LFB accesses. NT 4.0 now works with its v2.47 drivers without a soft reset (it used to only with a soft reset originally and, without it, hang with a blank screen upon reaching the GUI).
2024-07-20 01:09:42 +02:00
Jasmine Iwanek
27c8bdd57e Less dummy devices 2024-07-19 16:57:11 -04:00
RichardG867
7a402649cd C&T 69000: Fix I2C naming oversight 2024-07-17 18:13:10 -03:00
TC1995
541b2ee556 PVGA fixes of the day (July 16th, 2024)
Actually fix it correctly as well as fixing 16 color mode that was made corrupt after the cleanup of the bank commit.
2024-07-16 21:32:21 +02:00
OBattler
ec4fbc60b4 BT48x sanity checking, fixes #4607. 2024-07-14 23:58:29 +02:00
TC1995
b4e049db7e Compile fix on PVGA.
See above.
2024-07-14 20:51:00 +02:00
TC1995
fcc6b78316 PVGA 256 col+ fixes (July 14th, 2024)
Sometimes 256 color+ would still glitch because the generic way of enabling 8bpp mode is triggered instead. This fixes some stuff that relies on it.
2024-07-14 20:19:51 +02:00
RichardG867
44be6a0dbf C&T 69000: Fix PCI slot assignment and internal name 2024-07-13 19:14:12 -03:00
TC1995
1b6fd190fb Video changes of the day (July 8th, 2024)
IBM 8514/A set:
Fixed a one off video bug that was causing the VGA video to not be restored after quitting a 8514/A GUI session (namely on Win2.x' 8514/A's driver).
ATI Mach32:
Fixed another vertical display issue when activated (in 1280x1024 mode, when 1024 was 1022).
All involved:
Apply RG's changedvram fix to 8514/A, Mach8/32 and XGA's changedvram pointers.
2024-07-08 21:21:06 +02:00
RichardG867
357701dbb5 SVGA: Make changedvram 1 page bigger to fix adjacent page checks going OOB when the framebuffer is at top of VRAM (Voodoo 3 drivers) 2024-07-02 17:54:44 -03:00
OBattler
6a0f869d8a Merge branch 'master' of https://github.com/86Box/86Box 2024-06-26 23:08:09 +02:00
OBattler
1df242d9bb MGA: Fix texture filtering completely on G100. 2024-06-26 23:07:59 +02:00
TC1995
bfb4602e85 S3 fixes of the day.
1. Ported the S3 ViRGE reset fix to the Pre-ViRGE cards.
2. Slight cleanup on the acceleration and logs.
3. Unused sequencer register data now return 0xff instead of 0. This fixes Scorched Earth 1.x on DOS using S3 Trio32/64/V+/V2/868/968 cards (on other S3 it works fine as is).
2024-06-26 22:51:34 +02:00
OBattler
049579919e MGA: Fix textures in certain cases. 2024-06-24 15:13:12 +02:00
OBattler
499a4e1d77 MGA: Implement linestyles. 2024-06-22 23:54:14 +02:00
OBattler
8a90de40bc Matrox: Fix MSITUTOR, fixes #4554. 2024-06-22 17:44:45 +02:00
Miran Grča
7664ca1b62 Merge pull request #4537 from 86Box/tc1995
Fix warning.
2024-06-12 20:58:13 +02:00
TC1995
df8830c219 Fix warning. 2024-06-12 20:57:39 +02:00
OBattler
a369bc2d05 Reimplement S3 ViRGE reset and move PCI TRC CPU reset to outside the recompiled block, fixes #2903. 2024-06-12 20:46:27 +02:00
TC1995
9a9d73c159 More fixes to the Paradise/WD VGA cards
Banking no longer goes beyond 0xfffff thanks to masking, fixes possible and in-coming glitches on said cards.
2024-06-12 20:06:29 +02:00
TC1995
eaed7643c0 ET4000 RAMDAC break fix.
This should fix the black screens when returning to text mode after the GUI.
2024-06-11 01:29:00 +02:00
OBattler
27248397d2 ATi Mach 8: Fix a warning. 2024-06-03 04:01:00 +02:00
Jose Phillips
066f153dee Added Machine Motherboard Acer100T 2024-06-01 18:39:40 -05:00
TC1995
eff32906c5 Fix onboard flag for actual onboard ViRGE BIOSes.
So that ViRGE cards can work again without black screening.
2024-05-30 16:35:32 +02:00
TC1995
0897eea7df Plus a compile fix. 2024-05-30 00:43:00 +02:00
TC1995
11d7afd578 Video changes part 3 (minor though)
1. Added an on-board S3 ViRGE DX (375) video card to the Intel AP440FX socket 8-based machine alongside its on-board CS4236B audio.
2. Sanity check for on-board S3 ViRGE devices.
2024-05-30 00:13:29 +02:00
TC1995
e9f19ec32b Fix compile warning.
See above.
2024-05-29 23:54:39 +02:00
TC1995
ff5d5273ed Video changes part 2
1. Added the Diamond Stealth 64 Video VRAM 968-based card.
2. Removed the useless VLB-based Phoenix 868 and 968 cards.
3. The Diamond Stealth 64 Video VRAM specific drivers apparently use 0x83ca-0x83cb as aliases of the RAMDAC ports 0x83c6-0x83c7 (New MMIO mode). This makes the hardware cursor visible in those drivers on win3.1 using the IBM RGB RAMDAC.
4. A few more logs and sanity checks around LFB access and MMIO as well.
2024-05-29 23:45:00 +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
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
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
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
404def23e8 Voodoo 3 1000 and Velocity 200: Hardcoded to 16 MB because our BIOS'es are 16 MB-only BIOS'es with the RAM amount check gutted out, closes #4406. 2024-05-08 03:35:51 +02:00
OBattler
656591d385 The forgotten changes to video/vid_svga.c. 2024-05-03 11:18:28 +02:00
OBattler
3f6126f72d Bochs VBE fixes, fixes #4410. 2024-05-03 01:45:22 +02:00
OBattler
2e4366de8b And the PCI device ID. 2024-04-29 00:06:47 +02:00