Commit Graph

741 Commits

Author SHA1 Message Date
David Hrdlička
7381ab6928 Minor changes to threading
- Renamed `cpp11_thread.cpp` to `thread.cpp`
- Removed features that are only supported by Win32 threads (`thread_wait` with timeout and mutex with spinlock)
- Fixed formatting in `thread.cpp`
2021-12-17 19:59:25 +01:00
OBattler
ce8f66bc07 Reduced the texture size back 2048x2048. 2021-12-17 03:30:13 +01:00
OBattler
6661ff5dcc Abstracted away the machine bus'es and flags in order to make the rest of the emulator agnostic as to how they're stored. 2021-12-13 01:23:06 +01:00
OBattler
2c599321de Some small EGA fixes. 2021-12-08 22:43:23 +01:00
TC1995
03cae5c668 Removed excess logs of the tgui9440/96x0. 2021-12-01 18:49:53 +01:00
OBattler
82c2522f42 Fixed graphics mode on Hercules Plus, fixes #1832. 2021-11-30 13:04:30 +01:00
TC1995
0264c31e8b Fixed text mode of the Sigma video card. 2021-11-26 23:14:20 +01:00
RichardG867
5af0db8075 Fix ROM filename casing 2021-11-21 13:33:22 -03:00
RichardG867
447269eb39 Machine table and ROM fixes and cleanups 2021-11-21 13:17:30 -03:00
OBattler
3cdcf010f2 Fixed the Commodore 386X-25 on-board CL-GD 5402 ROM path. 2021-11-19 15:26:32 +01:00
TC1995
e29dafa17a Changes list 5:
Added the AT&T 2xc498 Precision RAMDAC.
Added 1MB configurations to the Cirrus Logic GD5434 as well as re-organized the memory size options of the other Cirrus cards.
Separated the et4000w32/i blitter from the standard et4000w32p blitter and properly implemented the X/Y Count route.
Added several Diamond Cirrus cards.
Added Number Nine S3 cards (868 and 968-based).
Fixed the WD90c30 1MB modes.
Re-organized the video card names.
2021-11-18 23:58:04 +01:00
TC1995
89233d0fbb Changes list 4:
Fixed Diamond Stealth 3D 4000 specific drivers' hang.
2021-11-18 23:27:31 +01:00
TC1995
2eb16b4cd7 Changes list 3:
Reverted one major change of the ATI 28800 cards that caused glitches.
2021-11-18 22:16:18 +01:00
RichardG867
0de137daf7 Merge branch 'master' of https://github.com/86Box/86Box into cleanup30
# Conflicts:
#	src/include/86box/machine.h
#	src/machine/m_at_socket7.c
#	src/machine/machine_table.c
#	src/video/vid_tgui9440.c
#	src/win/win.c
2021-11-14 13:45:37 -03:00
Jasmine Iwanek
41dccb5f6b EGA also supported 32K
lines 194-205 appear to cover the memory window setting.
2021-11-13 18:02:56 -05:00
OBattler
11431213ed Also reverted all the video changes. 2021-11-13 23:25:07 +01:00
OBattler
3730117a37 Conflict resolution. 2021-11-13 22:49:19 +01:00
RichardG867
d95f7cb8d2 Disable AGP GART logging 2021-11-11 22:48:21 -03:00
RichardG867
6ed9e52e0f Revert some Voodoo Banshee stuff that shouldn't have shipped 2021-11-11 22:01:41 -03:00
RichardG867
724accd167 Add AGP GART implementation 2021-11-10 21:14:54 -03:00
RichardG867
485403ac65 Fix TGUI DDC read bug 2021-11-10 15:37:12 -03:00
RichardG867
a34ebbc44c Reintroduce TGUI DDC 2021-11-05 20:45:34 -03:00
TC1995
7bf6fc3844 Video changes (ET4000W32/i):
Bit 1 is of 0x3DA (read only) is apparently required to make the OS/2 Tseng ET4000W32/i drivers work fine, fixes hangs upon reaching the GUI with said drivers.
Avoid division by zero in the blitter of the ET4000W32/i under OS/2.

Video changes (PVGA):
Fixes mode changes of the PVGA1a, including the built-in video card of the Amstrad 2086/3086.
2021-10-31 19:06:16 +01:00
OBattler
b905dc2b7e Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-26 03:09:45 +02:00
OBattler
355c26efa8 S3 fixes. 2021-10-26 03:09:20 +02:00
OBattler
bad67c4f4d Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-26 01:59:08 +02:00
TC1995
61273f5c1f Video changes:
Improved the banking of the ATI 28800-5 cards (VGA Charger and VGA Wonder XL).
Improved the skew and horizontal display of some of the ET4000W32P cards as well as the cursor.
Made the Oak OTI 077 and PVGA WD90c30 cards use the Sierra 11487 (actually a clone is used in the real cards).
For the WD90c30, changed the way the hack is involved.
Reverted some changes of the S3 Vision/Trio that originally made glitches, now the glitches are gone and the accelerator renders fine.
Re-organized the Sierra 1148x RAMDAC's and added the 11486 (Mark 1).
MCA SVGA cards use the full 32-bit mapping.
2021-10-24 19:06:05 +02:00
OBattler
c626b1c5c3 Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-07 15:45:46 +02:00
OBattler
3d5096753d Fixed the Cirrus Logic CL-GD 54xx reset handler to avoid excess mapping disables on non-PCI cards. 2021-10-07 15:44:56 +02:00
OBattler
d3540b7dc5 Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-07 01:15:45 +02:00
OBattler
66db0f11a4 Implemented reset handlers for Cirrus, S3, and S3 ViRGE cards. 2021-10-07 01:15:02 +02:00
OBattler
6ee1fb490a Made the video_copy stuff Unix-friendly. 2021-10-06 23:18:33 +02:00
OBattler
2825131722 Conflict resolution. 2021-10-06 18:16:56 +02:00
OBattler
b7f5d4a773 Video 7 fixes, fixes RAMDAC 6-bit/8-bit switching on the Radius SVGA MultiView. 2021-10-06 18:12:22 +02:00
OBattler
f30577255f Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-06 02:27:19 +02:00
OBattler
46807540ed Rewritten renderer blitting, fixes flickering when inversion or grayscale is used. 2021-10-06 02:26:30 +02:00
OBattler
f1e6668086 Conflict resolution. 2021-10-05 23:15:41 +02:00
TC1995
8572739a55 S3 changes part 8:
Properly fixed text/graphics mode of the S3 pre-ViRGE cards.
PIX TRANS cleanups.
Added a sanity check to banking, per bit 0 of CRTC31.
Initial implementation of Enhanced 4-bit mode.
911/924 chips use CRTC43 bit 3 for enabling 15/16bpp mode.
fb_only variable used correctly as of now (depending if on 4bit or 8bit+ modes).

S3 ViRGE changes part 2:
Made the Trio3D/2X AGP use the PCI_ADD_AGP part accordingly

RAMDAC changes:
Sierra 11483 and 11487 don't have an RS2 signal so the four times reading scheme of 0x3c6 is used instead, per documentation.
Fixed AT&T 49x bpp selection.

Other changes:
Fixed remaining rendering issues with the Radius SVGA HT209 card.
2021-10-05 22:24:26 +02:00
OBattler
5231ab4e44 Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-09-26 22:52:33 +02:00
TC1995
23083b48e8 S3 changes part 7:
Added dword addressing to pix trans reads.
Added VRAM masking to the hardware cursor.
Properly fixed the FIFO slots.
Width set to 1024 by default in the 911 and 924 chips.
2021-09-26 21:29:51 +02:00
TC1995
3bfcfc01a3 S3 ViRGE changes:
Added a timer to improve perfomance of the 3D engine.
Made the Trio3D/2X available for all.
Reserved bit 2 of CR33 is now always set to make sure Win95's Trio3d/2X drivers work along with a workaround for the memory size.
Added preliminary DMA bus master capabilities.
2021-09-26 21:13:47 +02:00
OBattler
b5f7e9bec3 Conflict resolution. 2021-09-25 14:24:29 +02:00
OBattler
52e7b9b772 Fixed S3 and ViRGE hardware cursor clipping, fixes #1733. 2021-09-25 14:21:43 +02:00
OBattler
e42fdbfcdd Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-09-18 15:25:37 +02:00
TC1995
1ae65f25e2 S3 changes part 6:
Reintroduced dword mode for chips before Trio64V+.
The Trio64V+ and Trio64V2 chips now have svga->fb_only (which is strongly required by the mapping and the modes) and packed_chain4 set, just like the ViRGE.
2021-09-18 14:11:30 +02:00
OBattler
73404e1b92 Conflict resolution. 2021-09-18 00:51:49 +02:00
TC1995
c4038f48f3 S3 changes part 5:
Rewritten non-threaded FIFO to be sure that it won't hang any OS (especially OS/2) and won't cause any more glitches on Windows 3.1 86x/96x drivers.
Fixed the decode mask of the Vision868 (8MB instead of 4MB).
Fixed 16bpp cursor using the MiroCRYSTAL 10SD specific drivers for OS/2 (including seamless Win-OS/2)
2021-09-18 00:36:54 +02:00
TC1995
20d7bb00b2 S3 changes part 4.
Fixed Chicago 73x (73f/g and 81)'s width/pitch in 15bpp mode using its built-in drivers at 800x600 using the 928.
Vastly improved implementation of the Short Stroke Vectors.
Removed threading for FIFO mode in the cards using the 964 chips and up.
Implementation of the non-threaded FIFO for cards using the 964 chips and up. Should fix most remaining wallpaper issues with those chips.
Improved recalctimings when 256+ mode Enhanced Mode is issued.
Added the MiroCRYSTAL 8S VLB card (805, SDAC).
2021-09-16 23:49:16 +02:00
Miran Grča
be2005dea4 Merge pull request #1690 from 86Box/master
Bring the branch up to par with master.
2021-09-14 22:34:42 +02:00
OBattler
0e8348f0e2 Fixed the red and blue swap in screenshots. 2021-09-14 21:24:12 +02:00