Commit Graph

1688 Commits

Author SHA1 Message Date
Jasmine Iwanek
bb155ea9ef Cleanups in vid_s3_virge.c 2025-03-10 05:41:27 -04:00
Jasmine Iwanek
fc639750ac Fix three warnings 2025-03-10 05:28:11 -04:00
TC1995
dad0a37ab3 Mach32 LFB changes (March 8th, 2025)
The Byte Write access of the LFB of the Mach32 was not correctly taking account of the subtraction of the address, this fixes possible graphics bugs using the LFB (Linear Aperture).
2025-03-08 20:58:49 +01:00
TC1995
f8517d05ef XGA/VGA changes of the evening (March 8th, 2025)
Workaround xga/vga toggle bug in the inmos card so that it switches from xga to vga and viceversa on ami bioses.
2025-03-08 20:49:28 +01:00
TC1995
5f833a0963 Mach32 LFB changes of the day (March 8th, 2025)
Do not subtract from the linear base when it's not in the range, should fix NT 3.x graphics bugs using the LFB.
2025-03-08 14:45:41 +01:00
TC1995
5c78fa5203 8514/A compatible changes of the day (March 6th, 2025)
1. Follow the Mach32 manual more closely regarding vblank support.
2. The subsystem status now takes account of the other bits more accurately.
3. The Mach32 PCI, when used with the ATI 68860 ramdac, has its own bpp's when in accelerator mode, separate from the VGA compatible side, so fix this accordingly.
4. Reset the vram when a mapping change occurs, should clear the messups in the ATI Mach8/32 accel video mode tests.
2025-03-06 16:03:11 +01:00
Cacodemon345
74368bfe7a Don't include cpu.h in timer.h
Change the name of the define used to indicate SVGA multi-monitor-capable cards
2025-03-06 19:26:11 +06:00
Akamaki
dc65ced36e Merge pull request #5 from 86Box/master
Rebase to master
2025-03-05 13:10:55 +09:00
Akamaki
1a60f5aac4 remove video timing modification 2025-03-05 13:01:58 +09:00
Akamaki
5b7766bb7a disable debug logging, update comments 2025-03-05 12:45:52 +09:00
Akamaki
6c92eb61bf fix a screen glitch in OS/2 DOS MODE 1
fix a glitch in OS/2 DOS MODE 1 (monochrome graphics)
2025-03-05 07:12:15 +09:00
Cacodemon345
92d69475f4 Only retain the newer IRQ updating code 2025-03-05 02:18:01 +06:00
Cacodemon345
73576bb61e Revert "S3 ViRGE: Make IRQs happen in main thread"
This reverts commit fae26729f1.
2025-03-05 02:18:01 +06:00
Akamaki
5a77092a71 add support for 2nd sbcs in videomode 03 2025-03-05 00:38:39 +09:00
Akamaki
e798030022 modify bit mask alignment, added delay for vidsel
for Win 3.1.
And added delay for switching video selector
2025-03-04 11:38:31 +09:00
Akamaki
6f53e69efe added bit mask reset and alignment
for compatibility with OS/2 J2.1 (beta), Windows 3.1 and Multitool Chart K3.1 in J-DOS.
2025-03-04 07:47:15 +09:00
OBattler
a9653e5a99 TGUI9440: Fix two newly introduced warnings. 2025-03-03 21:21:02 +01:00
Cacodemon345
21f5415328 Trident TGUI: Use a significantly faster version of the ROP code
At least 30%-40% performance improvement seen
2025-03-04 01:31:19 +06:00
Cacodemon345
e24c9d5163 S3 ViRGE: Use a significantly faster version of the ROP code
DirectDraw tests now run significantly faster, and Direct3D tests also now run smoothly.
2025-03-03 23:22:24 +06:00
Cacodemon345
fae26729f1 S3 ViRGE: Make IRQs happen in main thread
FIFO is also no longer immediately woken up upon writes
2025-03-03 22:03:52 +06:00
Akamaki
31d05b3e45 modify blank render 2025-03-01 23:58:31 +09:00
Akamaki
726ce6c574 modify video memory mask and screen updating 2025-02-28 10:29:17 +09:00
Cacodemon345
86342bfffe OS/2 3.0 icon backgrounds are now drawn properly 2025-02-27 23:28:43 +06:00
Akamaki
95f12bc206 fix glitch in Bitblt's line drawing function
fix a line glitch issue occurs in MS Paint and QEMM Manifest apps.
2025-02-28 00:50:01 +09:00
Akamaki
e49be34d30 fix an issue when loading bitblt data in async 2025-02-27 11:15:57 +09:00
Akamaki
3cde104ff6 add inversion ROPs (still in debug) 2025-02-27 08:29:06 +09:00
Akamaki
813afb8562 change bitblt exec speed slower
probably the real machine is slower than this
2025-02-26 04:16:36 +09:00
Akamaki
e9b8bbd0be add bit invert operation in bitblt 2025-02-25 11:59:46 +09:00
Akamaki
50300a1d9a Add line drawing function (incomplete)
remains a bug that the second hand doesn't appear in the Clock app of Windows 3.1.
2025-02-25 10:08:12 +09:00
Akamaki
4bc47894de safety read/write vram memory 2025-02-24 05:53:34 +09:00
Akamaki
d70f43828c replace magic numbers with predifined macros 2025-02-24 05:12:54 +09:00
Akamaki
4042fd15fb DA2 skip recalctimings if output is disabled 2025-02-22 22:03:39 +09:00
OBattler
9801e8b149 IBM PS/55 Display Adapter II: Use calloc instead of malloc, fixes incorrect operation when heap protection is enabled. 2025-02-21 19:37:53 +01:00
Miran Grča
1e6009f535 Merge pull request #5240 from 86Box/tc1995
Mach32 changes of the day (February 20th, 2025)
2025-02-21 00:28:19 +01:00
RichardG867
6c933dd157 Voodoo: Implement missing AGP CMDFIFO features
Note that the reproduction cases for command 6 currently appear to be a result of CMDFIFO corruption instead of actual usage.
2025-02-20 18:24:38 -03:00
TC1995
71c9e69456 Mach32 changes of the day (February 20th, 2025)
1. Actually fix the LFB access by subtracting the linear base address from the current address when LFB/MMIO is on. This fixes blankness of certain Mach32 drivers on Win3.1x.
2. Apply a minor but important fix to the fonts used by said Win3.1x driver when the dpconfig activates bit 2 without bit 12 set (e.g.: 0x2255), ergo, issuing host data as monochrome without swapping it.
2025-02-20 15:35:56 +01:00
OBattler
baae4c15d6 Fixed a compile-breaking error in vid_p55da2.c as well. 2025-02-19 12:58:40 +01:00
OBattler
c7d9b4c5e7 PS/55: Fix some warnings and compile-breaking errors. 2025-02-19 11:21:50 +01:00
Akamaki
2d115e9b84 added patch for font rom, cleanup
* Added magic code for OS/2 J1.3 to disable BitBlt's text drawing function that is not implemented yet.
* Added comments
* Cleanup
2025-02-19 11:02:28 +09:00
Akamaki
61acd44736 added comment 2025-02-19 00:16:18 +09:00
Akamaki
244f766558 fix unexpected write to null fp in rel build 2025-02-18 23:45:16 +09:00
Akamaki
983c7d7891 Merge pull request #2 from 86Box/master
rebase to master
2025-02-18 22:50:55 +09:00
Akamaki
2c78e7bb2f added comments 2025-02-18 22:46:18 +09:00
OBattler
a6a377757f Paradise VGA: Override the horizontal skew handling, fixes #5228. 2025-02-17 04:57:49 +01:00
Akamaki
58c5d9606e fixed some drawing issues in Win 3.1.
* Changed bitblt execution. This fixes a mouse cursor color issue in Windows 3.1.
* Fixed splash graphics broken in A-Train IV.
2025-02-16 23:47:10 +09:00
Akamaki
3f3d77310e cleanup format 2025-02-16 12:21:16 +09:00
OBattler
4768b3b6fb Fixed some bus checks in some (S)VGA graphics cards, fixes #5229. 2025-02-15 20:02:05 +01:00
Akamaki
bbc237866b changed palette initialization method 2025-02-15 23:14:07 +09:00
Akamaki
6c5e8897de update comments 2025-02-15 19:49:03 +09:00
Akamaki
1c7a8e5bbb updated comments, modified format 2025-02-15 18:32:12 +09:00