Commit Graph

9633 Commits

Author SHA1 Message Date
TC1995
f5642ab1c3 MGA fixes 2:
1. Reverted the packed chain4 and fb_only sides to 1 when extended mode is set, but with the call to svga_recalctimings removed from port 0x3df due to mode issues, this should fix all the MGA mode issues I know.
2. Cleaned up the rendering order in svga_recalctimings, especially 4bpp and 8bpp.
2023-12-18 13:42:32 +01:00
TC1995
9573d37364 And warning fixes. 2023-12-18 00:41:51 +01:00
TC1995
c1ba150e3c Oops, they actually can mix together, but not with plain (non-packed) chain4 stuff enabled, should fix more mode issues in the MGA Millennium card. 2023-12-18 00:40:31 +01:00
TC1995
c62182cd2e MGA Fixes:
1. LFB access is now done properly through the right svga_read/write linear calls.
2. Lowres 8bpp mode and Packed/Extended 8bpp+ mode don't mix together, fixes Debian Woody matroxfb module when testing the modes while keeping other compatibility intact (basically enable packed stuff only when gdcreg5 bits 5-6 are 0 when extended mode is set).
3. Small cleanup in the line accel stuff.
2023-12-18 00:08:51 +01:00
OBattler
aa0b4dfab7 ALi M1543(c) ACPI and SMBUS PCI BAR's now correctly return all 0x00's when locked, as documented by the M1543 datasheet, fixes the PCI error found by Dizzy on the ASUS P5A with Debian Lenny. 2023-12-17 12:43:07 +01:00
RichardG867
4b402c22cd vid_mga: Implement DDC on the Millennium 2023-12-16 18:26:39 -03:00
Miran Grča
b57b87953d Merge pull request #3893 from iamgreaser/gm/mga-8bpp-blink-disable
Disable blink in 8bpp modes on MGA; Re-instate main 8bpp hires renderer
2023-12-16 20:59:55 +01:00
OBattler
a76e3890b2 And the one in sio/sio_um8669f.c. 2023-12-16 20:57:58 +01:00
OBattler
c2a89f64b2 Fixed the warnings in sio/sio_it86x1f.c. 2023-12-16 20:56:45 +01:00
OBattler
e7f15d87e1 And the warning in disk/zip.c. 2023-12-16 20:47:11 +01:00
GreaseMonkey
0848f4a38e Disable blink in 8bpp modes on MGA; Re-instate main 8bpp hires renderer
I don't actually know if 8bpp blink is a thing on a Matrox Millennium, but the video BIOS seems to act like it's not.
2023-12-17 08:46:12 +13:00
OBattler
48513fe6aa Fixed two warnings in codegen_new/codegen_backend_x86-64.c. 2023-12-16 20:45:03 +01:00
Miran Grča
f900bdb63c Merge pull request #3892 from 86Box/tc1995
Fixed warning in vid_mga.c.
2023-12-16 20:40:47 +01:00
TC1995
d3fbd93848 Fixed warning in vid_mga.c. 2023-12-16 20:36:34 +01:00
Jasmine Iwanek
7d9b10d556 Correct undevbranching of the Matrox Millenium 2023-12-16 14:35:52 -05:00
TC1995
1df37c2440 Temporarily added the older 8bpp highres render for the Matrox Millennium. 2023-12-16 20:21:57 +01:00
TC1995
e4696aa2e9 Undev branch the Matrox Millennium since it is now mostly usable. 2023-12-16 20:17:55 +01:00
TC1995
ecd67950d4 SCSI CD-ROM Toshiba fixes.
Data track is not audio, fixes anything that wants to play data track as audio.
2023-12-16 14:03:42 +01:00
Jasmine Iwanek
86e07aa598 Fix compile error with logging enabled in vid_compaq_cga 2023-12-15 16:21:29 -05:00
Jasmine Iwanek
61f83f2a3d Better variable name in hdc_ide 2023-12-15 16:21:28 -05:00
Miran Grča
cd7264ddfd Merge pull request #3884 from 86Box/tc1995
Fix the initialization of the color cursor regs (ATI Mach32)
2023-12-14 21:59:12 +01:00
TC1995
3c654af286 dang it... 2023-12-14 21:57:48 +01:00
TC1995
ea9348d104 Actually initialize the cursor color regs of the ATI Mach32 card. 2023-12-14 21:56:17 +01:00
Miran Grča
a1bb5a6a86 Merge pull request #3883 from jriwanek-forks/logfixes
Several fixes to compile with logging enabled
2023-12-14 21:53:33 +01:00
Jasmine Iwanek
fc19a4698b Several fixes to compile with logging enabled 2023-12-14 15:52:04 -05:00
TC1995
15c6d9e5fa Mach8/32 fixes (again):
1. Fixed wrong setting of highres and lowres mode of 8bpp, makes Transport Tycoon run properly on these ATI cards again.
2. 32-bit (RGBA) True Color is actually supported on the Mach32, but barely used, and the original code was wrong. This fix makes 32-bit True Color render the right colors.
2023-12-14 21:47:10 +01:00
OBattler
5221a77dbf IDE/ATAPI SRST fixes - fixes ATAPI CD-ROM detection on the Nec PowerMate V. 2023-12-14 21:19:58 +01:00
OBattler
2a2432207a More fixes, the hard freeze is truly gone now. 2023-12-11 20:32:51 +01:00
OBattler
63ba53573a Made do_pause_ack also volatile, fixes hard freezes on 64-bit binaries. 2023-12-11 20:15:55 +01:00
OBattler
ac63ea6614 Commented out excess logging in scsi/scsi_disk.c. 2023-12-06 16:06:40 +01:00
OBattler
52470d4910 Fixed an off by 1 error in scsi/scsi_disk.c, fixes NetBSD 7 hang when probing a SCSI hard disk. 2023-12-06 16:05:43 +01:00
TC1995
ce0b6e1da1 Cirrus, ATI Mach8/32 and XGA fixes.
1. Update svga->fast to account for packed chain mode toggles, fixes issues on Descent II for DOS using the Cirrus cards.
2. Re-organized ATI Mach8/32 LFB access as well as 8514/A/ATI mode toggles, should end the video mode issues once and for all.
3. Fixed a small but major pattern issue with IBM OS/2 1.30.1's XGA driver (not .2, which is fine as is).
2023-12-06 15:00:31 +01:00
GreaseMonkey
44d70ab943 Rework (S)VGA renderer to be internally chunky + attempt to optimise for speed 2023-12-06 15:25:17 +13:00
OBattler
cf36889bd2 Unix SDL fixes, per suggestion by svenska. 2023-12-03 14:19:00 +01:00
OBattler
f22dea8209 Disabled undocumented Sound Blaster mixer register FFh's for even more cards, fixes #3835. 2023-12-01 15:06:12 +01:00
OBattler
6871e279dd Merge branch 'master' of https://github.com/86Box/86Box 2023-11-26 22:15:36 +01:00
OBattler
7b4a6a3388 Clean-ups and made the ET4000AX use the old way to check for 8 bpp modes, fixes the Windows 3.0 driver. 2023-11-26 22:15:28 +01:00
RichardG867
3053f15efd ZIP/MO: Temporary fix for uninitialized IDE channel crashes 2023-11-25 22:54:07 -03:00
RichardG867
8497e33559 Voodoo: Attempt fix for a rare FIFO deadlock on hard reset 2023-11-25 22:49:27 -03:00
GreaseMonkey
d3897b57e8 Handle SVGA 8bit RAMDAC for Voodoo Banshee cards 2023-11-26 11:54:01 +13:00
OBattler
6f218b6360 Fixed some left-over network warnings. 2023-11-24 21:49:56 +01:00
TC1995
97bdf1bdc0 DEC/Tulip/Intel 21140/21143 fixes:
Corrected serial ROM defaults, fixes NT 3.x's driver of the NIC while keeping compatibility with the other guests.
2023-11-24 21:17:15 +01:00
Miran Grča
38aebdebf7 Merge pull request #3845 from iamgreaser/gm/issue-3447-blinking
Implement 4bpp graphics mode blink properly on VGA
2023-11-23 08:28:46 +01:00
GreaseMonkey
c8c9fa2f91 Implement 4bpp graphics mode blink properly on VGA
Closes #3447
2023-11-23 13:12:09 +13:00
OBattler
a25a17bc62 Default PIT to slow on 286 and 386. 2023-11-22 23:01:11 +01:00
GreaseMonkey
7de7ea3fe1 Clean up unused variable 2023-11-23 10:08:52 +13:00
GreaseMonkey
81d285b883 Force 8bpp highres SVGA modes to "bypass" the shifter entirely
The current implementation still uses the shifter forced to Shift 256 mode to keep things generic, but we can always opt for a separate scanline renderer.
2023-11-23 10:04:04 +13:00
GreaseMonkey
d19fe700f5 Use 8bpp renderer when attrregs.0x10.6 is set instead of when gdcreg.0x05.6 is set
This allows correct emulation of the 4bpp chunky mode which is supported by many but not all chipsets.
See discussion #3840 on GitHub.
2023-11-23 09:58:16 +13:00
Joakim L. Gilje
bea98c0e2c added Q_OS_UNIX to ifdef guard around set_wm_class 2023-11-22 08:22:46 +01:00
Joakim L. Gilje
aeb44f1c5c update WM_CLASS instance name from vm_name 2023-11-21 23:44:12 +01:00