Commit Graph

98 Commits

Author SHA1 Message Date
TC1995
76271ddd08 Fixed 256 color modes in the Oak OTI cards.
Made the New MMIO-capable S3 cards behave like the ViRGE for the double word/packed chain-4 addressing.
2021-06-05 20:50:38 +02:00
TC1995
d63ce5ab82 Port of the reworked svga memory addressing, normal chain4 mapping and ma13/14 mapping for non-CGA modes.
Fixed ET4000/W32 (without letters) hardware cursor.
Fixed non-interlaced 1280x1024x8bpp Cirrus mode in the 5434.
Added a note regarding the Radius (HT209) 8bpp render.
Reworked the TGUI9440, but still WIP.
2021-05-30 01:52:43 +02:00
TC1995
ee9dd9ab3f Fixed 1280x1024x8/16bpp and 1600x1200x8/16bpp video modes in the S3 trio class cards.
The 1990 Spock BIOS uses ID 6 for the boot drive.
2021-05-24 23:13:30 +02:00
TC1995
d2c6452ff5 Reworked the HTVGA/Video7 clocks. Fixes the HT209 2401 error on MCA.
Fixed 16 color in the Realtek 3106 card.
Reworked the Sierra 1148x for the second time.
Registers that only exist on 928/80x and up are not used by the 911/924 anymore.
2021-05-20 20:57:54 +02:00
TC1995
1b642b4aba Port 0x105 on the ISA-based HT209 is only initialized from port 0x46e8 to avoid conflicts with the IBM PS/1 2011 and 2121's already existing initialization of the ports.
Reworked the Sierra SC1148x and AT&T49x ramdacs to use the RS2 signal when available.
Added the Realtek RTG3106 video card.
2021-05-12 18:51:02 +02:00
TC1995
0fa19c3387 Made the 868 properly recognize itself as a true 868, instead of 866 (should also fix NT 4.0's graphical bugs with it) 2021-04-26 22:48:42 +02:00
TC1995
3edf20b48b Fix accidental horizontal bug in the 8bpp portion of the S3 recalc timing function using the 80x (1280x1024x8bpp). 2021-04-15 16:42:40 +02:00
TC1995
cf67dc4fc5 Fixed "purple pixels" under Win95 using the built-in S3 928 driver. 2021-04-15 02:28:32 +02:00
RichardG867
d344fce4d4 S3 DPMS shouldn't engage if both hsync and vsync are high 2021-04-14 16:08:45 -03:00
RichardG867
94eae848a3 Add DPMS support to S3 chips 2021-04-13 15:21:55 -03:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
283908df11 Fixed warnings in vid_s3.c. 2021-03-25 02:17:39 +01:00
TC1995
95976a2b26 Added Tseng specific variants of the GenDAC ramdac (ICS 53x1).
Fixed (at least in a more correct way) software cursor under OS/2 Warp with the s3 trio/vision drivers.
Implemented 128x128 sprite/hwcursor on the et4000w32 cards per manual.
2021-03-24 03:51:56 +01:00
TC1995
9d700ce8d2 Fixed 1280x1024x8bpp mode in the 928.
Added the Tseng ET4000/W32 and its blitter.
Brought back the Tseng ET4000/W32i from the old days of being unused.
2021-03-16 16:48:24 +01:00
David Hrdlička
57d0c7d5ae Remove non-standard d suffix for double literals 2020-12-27 02:58:19 +01:00
OBattler
c68a36c2bb Renamed the RGB525 DAC file to the correct RGB528 name and remove excess pclog lines. 2020-12-22 14:58:28 +01:00
TC1995
eeabeeb2bb Added the latest fixes to support the 868/968 video engine and the 868 itself. 2020-12-22 14:17:22 +01:00
OBattler
2dc7b95496 Fix conflict. 2020-12-19 16:25:44 +01:00
OBattler
7733bc826d Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 16:23:47 +01:00
OBattler
fd044440b3 S3 Vision968 work. 2020-12-19 16:22:51 +01:00
OBattler
a00b82cdf8 Fixed S3 linear mapping on Vision964 and earlier. 2020-12-19 16:09:32 +01:00
OBattler
13689ca958 Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 16:09:32 +01:00
OBattler
645429e5f2 S3 Vision968 work. 2020-12-19 16:09:32 +01:00
OBattler
d0bdee2d69 Fixed S3 linear mapping on Vision964 and earlier. 2020-12-19 12:40:23 +01:00
OBattler
2c0a7113c3 Fixed the new MMIO mapping size of the S3 Virge968, Paintbrush no longer hangs but does not display correctly, pending the implementation of the Video engine. 2020-12-19 12:40:23 +01:00
OBattler
0626c0a698 S3 Vision968 work. 2020-12-19 12:40:23 +01:00
Miran Grča
39043ffb9c Merge pull request #1110 from richardg867/master
I2C/SMBus overhaul
2020-11-25 23:14:32 +01:00
RichardG867
64249d50a3 I2C overhaul part 7: S3 Trio and Cirrus Logic 2020-11-25 00:16:42 -03:00
TC1995
e492ca52d3 Eliminated s3->busy completely, fixes S3 928 drivers without FIFO under NT 3.1 while keeping everything else intact.
Moved the DC390 timer initialization to the Flush write command, where it takes a higher priority, fixes NT 3.1 DC390 specific drivers while keeping the AMD branded drivers intact.
2020-11-20 05:41:06 +01:00
TC1995
9e4acc08b8 Fixed busy status on the S3 family of chips using the fifo. 2020-11-18 13:35:30 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
TC1995
816af7e843 Added the Diamond Stealth VRAM (911), SE (Trio32) cards plus a generic S3 ViRGE 325 card.
Updated the Trio64V+ bios.
2020-11-13 21:14:09 +01:00
TC1995
15f9759534 Cleaned up and fixed some hanging regressions in the S3 Pre-Vision/Vision/Trio32/64 code. 2020-10-19 20:54:51 +02:00
OBattler
f2938551fa Improved 32x32 cursor support. 2020-10-18 01:18:46 +02:00
OBattler
8d1092688a Fixed a warning in video/vid_s3.c. 2020-10-15 23:55:29 +02:00
TC1995
1c3f3e3c00 S3 Vision/Trio emulation cleanup. 2020-10-15 01:41:50 +02:00
TC1995
6ed78ae5d8 Ported twilen's S3 ViRGE and Trio/Vision fixes to 86box. 2020-10-10 15:14:19 +02:00
TC1995
64fa9a9526 Added the Phoenix S3 Trio64V+ card. 2020-10-04 19:56:03 +02:00
TC1995
54b89569ec Re-added the S3 928 card.
Added the Trio64V2/DX and its streams processor and Trio3D/2X cards with their respective VBE 2.0 bioses.
2020-09-29 22:31:38 +02:00
OBattler
24926d4b2f Removed a temporary thing from sound/snd_sb.c, removed the unused opl_emu variable from the Sound Blaster struct, and added the AMI S3 86c924 with its ICS2494AN-305 clock chip. 2020-07-26 01:53:46 +02:00
TC1995
a72d1d728b Fix horizontal screen bug in 15bpp mode of the 928. 2020-07-11 19:55:45 +02:00
TC1995
9059ffa6dd Fixed compile failure. 2020-06-26 14:29:46 +02:00
TC1995
c0891644f7 Fixed the SVGA/MMIO under Win3.1/NT and added more documentation. 2020-06-26 00:41:52 +02:00
TC1995
a9f01c4814 Fixed the svga mapping on 80x and 928 cards. 2020-06-25 17:18:25 +02:00
TC1995
41529d2d46 Evidently pixel cntl 0x80 (CPU data determines mix register) isn't handled right on the S3 911 or is not fully documented. Fixed the S3 911/924 8-bit drivers running on Win3.x. 2020-06-25 16:54:10 +02:00
TC1995
d62d7a692a Fixed a bug. 2020-06-25 13:20:10 +02:00
TC1995
ba89af057c Added the Sierra SC11483 and SC11487 ramdac's.
Made the S3 911 use the SC11483 plus a few minor changes to the S3 code itself.
2020-06-25 13:18:29 +02:00
OBattler
3027422e88 PCI graphics cards now correctly use PCI timings instead of VLB timings. 2020-05-06 00:23:07 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
nerd73
a14429dbee Machine table revisions
- Fixes maximum RAM amounts on some motherboards
- Adds finalized 430TX roster
- Removes VLB from all PCI boards as none of our emulated PCI boards have VLB
2020-03-25 21:10:14 -06:00