Commit graph

11550 commits

Author SHA1 Message Date
OBattler
63ba53573a Made do_pause_ack also volatile, fixes hard freezes on 64-bit binaries. 2023-12-11 20:15:55 +01:00
Miran Grča
0ca5ba0841
Merge pull request #3874 from jriwanek-forks/codeql
Fix codeql runs
2023-12-10 09:22:04 +01:00
Jasmine Iwanek
6c0bd91e4f Fix codeql runs 2023-12-10 03:13:10 -05:00
Miran Grča
2b8a96418d
Merge pull request #3866 from jriwanek-forks/gha
Update Github Actions to macos 12
2023-12-08 10:24:51 +01:00
Jasmine Iwanek
3a0f1ace60 Update GHA to macos 12 2023-12-08 04:00:33 -05: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
Miran Grča
a5901cb016
Merge pull request #3861 from 86Box/tc1995
Cirrus, ATI Mach8/32 and XGA fixes.
2023-12-06 15:03:47 +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
Miran Grča
cd3d2681a8
Merge pull request #3859 from iamgreaser/gm/vga-optimisation-20231206-001
Rework and optimise the (S)VGA pixel renderer
2023-12-06 10:30:20 +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
Miran Grča
0525964783
Merge pull request #3848 from iamgreaser/gm/banshee-8bit-ramdac
Handle SVGA 8bit RAMDAC for Voodoo Banshee cards
2023-11-26 00:02:54 +01: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
Miran Grča
8c80274bf7
Merge pull request #3847 from 86Box/tc1995
DEC/Tulip/Intel 21140/21143 fixes:
2023-11-24 21:42:23 +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
Miran Grča
fbbd290c8e
Merge pull request #3844 from iamgreaser/gm/vga-updates-20231122-001
(S)VGA updates and fixes, 2023-11-22 edition
2023-11-22 22:54:29 +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
Miran Grča
0740f0f1cd
Merge pull request #3842 from jgilje/set-wmclass-instance-from-vmname
update WM_CLASS instance name from vm_name
2023-11-22 18:13:30 +01: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
Miran Grča
0186304550
Merge pull request #3841 from 86Box/tc1995
8-bit renderer fix about the Tseng cards:
2023-11-21 20:29:17 +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
Miran Grča
b90a353a18
Merge pull request #3839 from iamgreaser/gm/vga-renderer-merge-and-fixup-3836
(S)VGA paletted renderer rewrite
2023-11-21 08:49:10 +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
Miran Grča
2cccdc409b
Merge pull request #3832 from lemondrops/master
Consistency cleanups and warning fixes
2023-11-17 22:51:30 +01:00
Alexander Babikov
ad51c62451
Remove a redundant and pointless #ifdef in midi_fluidsynth.c 2023-11-18 02:31:49 +05:00
Alexander Babikov
f83a63daf2
Fix a warning in net_eeprom_nmc93cxx.c 2023-11-18 02:31:48 +05:00