Commit Graph

9619 Commits

Author SHA1 Message Date
TC1995
d3fbd93848 Fixed warning in vid_mga.c. 2023-12-16 20:36:34 +01: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
TC1995
a3fa181b01 8-bit renderer fix about the Tseng cards:
Seems the Tseng cards are as incompatible as the S3 cards in terms of pure IBM VGA emulation, especially the chain4 stuff, so accomodate the fix to the renderer. Fixes 8bpp rendering on Tseng cards when invoked.
2023-11-21 20:06:12 +01:00
GreaseMonkey
35eb025c50 Remove some nonexistent function prototypes
I was going to use the existing 8bpp renderers as-is for the S3 stuff but then found out how to make it work on the new generic renderer.
2023-11-21 19:40:15 +13:00
GreaseMonkey
9903e12e69 (S)VGA: Update graphics mode blink behaviour to match something more feasible 2023-11-21 19:39:30 +13:00
GreaseMonkey
220d5fa237 (S)VGA: Do redraws if blink is enabled in graphics mode too
Easy test case in QBASIC:

    SCREEN 10
    PSET (2,0),2

There should be a blinking pixel in the top-left.
2023-11-21 19:32:43 +13:00
GreaseMonkey
81b8150a6b (S)VGA: Increment CRTC address just before it needs to be used
This gives more likely behaviour when one loads more often than the address is incremented.
The behaviour matches an Intel GMA 4500MHD (2008) which is the earliest hardware I'm able to test right now.
2023-11-21 19:25:26 +13:00
GreaseMonkey
2166ae0fb7 Get S3 Trio working in mode 13h + Mode-X again
Outside of that, we're now using the remappers properly.
2023-11-21 16:55:54 +13:00
GreaseMonkey
cfda3e1cce Add 8bpp support to the 4bpp renderer (breaks S3 Trio)
It appears that the S3 Trio does something weird with its 8bpp modes.
Specifically, it seems to ignore some of the flags needed for dword mode.

I will keep looking into that and see if I can find a good solution.
2023-11-21 15:40:44 +13:00
GreaseMonkey
9703ccec45 Initial merge of VGA 2bpp/4bpp lo/hi res renderers
About half of it was taken from the EGA renderer.

Also, the "force_old_addr" hack is kept here for now.
2023-11-21 11:33:04 +13:00
GreaseMonkey
1f5d00fe55 Generate CGA-to-EGA tables in video.c; Remove redundant table generation in vid_ega.c 2023-11-21 10:26:13 +13:00
OBattler
f890257237 Added the Virtual PC DEC Tulip 21140. 2023-11-19 02:12:33 +01:00
OBattler
942be26bdc And the RTL8139. 2023-11-19 02:09:39 +01:00
OBattler
76bfbb6ec0 DEC Tulip PCI fixes and added proper MAC address generation. 2023-11-19 01:35:25 +01:00
OBattler
3c37ef2eef Do not delay port 61h I/O on 386 and lower, fixes #3831 . 2023-11-18 05:04:02 +01:00
Alexander Babikov
ad51c62451 Remove a redundant and pointless #ifdef in midi_fluidsynth.c 2023-11-18 02:31:49 +05:00