Commit graph

11625 commits

Author SHA1 Message Date
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
Alexander Babikov
d07160aef2
Fix a deprecation warning in qt_renderercommon.cpp 2023-11-18 02:31:47 +05:00
Alexander Babikov
af4df47282
Bring some of the the v4.1 machines in line with the latest upstream changes 2023-11-18 02:31:44 +05:00
Alexander Babikov
5fe1049354
Rename the Gateway 2000 Venus machine to all-lowercase internally 2023-11-18 02:31:43 +05:00
Jasmine Iwanek
cf8dea5ed3
Fix win32 makefile builds 2023-11-12 23:55:00 -05:00
OBattler
4e05f211de Fixed saving of the fullscreen icons setting into the config file. 2023-11-12 00:47:22 +01:00
OBattler
0b1d3b6e4e Fixed Hyungai Hyundai 286C initialization. 2023-11-11 22:14:42 +01:00
OBattler
e5cfed2c24 IT86x1F: Move the declaration of effective_ldn outside the case block. 2023-11-11 17:01:56 +01:00
OBattler
fda5cee1f3 And in sound/midi_opl4.c. 2023-11-11 16:58:44 +01:00
OBattler
f9d673708a Fixed warnings in the network code. 2023-11-11 16:57:55 +01:00
Miran Grča
5d1078769d
Merge pull request #3823 from 86Box/version/4.1
Merge Version/4.1 into master since we have decided to just go straight for 4.1
2023-11-11 16:12:16 +01:00
OBattler
8e985de5d2 Merge remote-tracking branch 'origin/master' into version/4.1 2023-11-11 15:47:04 +01:00
OBattler
8637066855 Fixed some newly introduced indentation mess. 2023-11-11 15:42:15 +01:00
Miran Grča
c6f2cb12b7
Merge pull request #3821 from maximus105/maximus105-patch-1
Update qt_mainwindow.cpp
2023-11-11 15:40:38 +01:00
maximus105
6153c84b8f
Update qt_mainwindow.cpp
This commit fixes issue #3485
2023-11-11 14:02:56 +02:00
OBattler
f35a042f42 Moved the sanity checks to the correct place. 2023-11-10 22:53:56 +01:00
OBattler
c8ef85c249 Stop the initialization of a ZIP or Magneto-Optical drive if its task file structure pointer is NULL. 2023-11-10 22:42:36 +01:00
RichardG867
9bcece63fc Fix some random comments which have been bugging me 2023-11-10 17:27:30 -03:00
Miran Grča
4f468a73f6
Merge pull request #3819 from lemondrops/master
Fix ATAPI HDDs not being displayed in the status bar
2023-11-10 20:12:26 +01:00
Alexander Babikov
ad9da9bd4a
Fix ATAPI HDDs not being displayed in the status bar 2023-11-10 23:23:18 +05:00
Miran Grča
aee584bf2a
Merge pull request #3816 from 86Box/tc1995
Forgot to apply the correction to the ATI 68860 ramdac, should clear the compile warnings
2023-11-10 00:03:06 +01:00
TC1995
45f0ecc87e Forgot to apply the correction to the ATI 68860 ramdac, should clear the compile warnings. 2023-11-09 23:58:58 +01:00
OBattler
849c3f27f8 The option to show status icons in full screen now calls config_save() on toggle, fixes #3815. 2023-11-09 16:51:48 +01:00
Miran Grča
4788ed8aa6
Merge pull request #3814 from 86Box/tc1995
More and more video changes and fixes (8514/A and compatibles):
2023-11-09 00:15:34 +01:00
TC1995
6c356df9e7 More and more video changes and fixes (8514/A and compatibles):
1. Made the 8514/A mode switch to VGA and viceversa (including ATI mode) actually usable and eliminating the last bugs related to them. Fixes 8514/A mode in OS/2 1.x/2.x (both IBM and Microsoft).
2. More sanity checks to the 8514/A and XGA pointers. Should fix emulator crashes on hard resets.
2023-11-08 23:47:16 +01:00
Miran Grča
726aa688c4
Merge pull request #2129 from Cacodemon345/fullscreenstaticonqt
qt: Add fullscreen status icons support and option
2023-11-08 07:09:00 +01:00