Commit Graph

317 Commits

Author SHA1 Message Date
OBattler
bde65cb5ce More Matrox clean-ups, fixed the interlaced modes (1920x resolutions now work), and added the Matrox Mystique 220. 2020-01-18 04:33:57 +01:00
OBattler
6ec5d9bcbc Cleaned up the Matrox code, added a dummy ILOAD FILTER opcode to make AMIDIAG no longer hang, added the 8 MB memory option, and fixed 32-bit blits with 8 MB is set. 2020-01-18 02:47:57 +01:00
OBattler
7f94aed206 Added the Mystique to video/vid_table.c. 2020-01-17 21:03:26 +01:00
TC1995
7c15df1fd7 Added Matrox MGA (Mystique) emulation from PCem. 2020-01-17 00:24:18 +01:00
OBattler
e44e60c660 Fixed the fourth batch of problems. 2020-01-15 05:24:33 +01:00
OBattler
932ad5595a Fixed the third batch of problems. 2020-01-15 04:58:28 +01:00
OBattler
af023ff5dd Fixed the second batch of problems 2020-01-15 03:48:33 +01:00
OBattler
fab0a368f1 Fixed a newly introduced bug. 2020-01-15 03:06:16 +01:00
OBattler
8749776144 Fixed the first batch of problems. 2020-01-15 03:04:59 +01:00
OBattler
a2867e6978 Added fall-through comments to several fall-throughs. 2020-01-15 02:43:25 +01:00
OBattler
e60b74e33b Added a sanity check to the video code. 2020-01-15 02:37:36 +01:00
OBattler
772a628278 Added a sanity check to the PGC code. 2020-01-15 02:34:50 +01:00
OBattler
dfc4347e9a Fixed a potential overrun in the ATi EEPROM code. 2020-01-15 00:34:28 +01:00
OBattler
7787c638bb Fixed another resource leak in the Image Manager 1024 code. 2020-01-14 23:10:03 +01:00
OBattler
a8a67364d8 Fixed resource leaks in the Image Manager 1024 code. 2020-01-14 23:04:38 +01:00
OBattler
6217904ac9 Fixed another resource leak in the PGC code. 2020-01-14 22:41:37 +01:00
OBattler
e0218694a3 Fixed a bug with ET4000/W32p linear base address. 2020-01-14 22:14:08 +01:00
OBattler
94fee31e52 Fixed a resource leak in the PGC code. 2020-01-14 22:12:02 +01:00
OBattler
e883577069 Removed a useless unsigned compare from the ATi 28800 code. 2020-01-14 21:01:46 +01:00
OBattler
41ba2e4e34 Removed a piece of dead code from the CL-GD 54xx code. 2020-01-14 20:56:08 +01:00
OBattler
0371dc9664 The OAK OTi graphic card code no longer loads the ROM if the ROM file name pointer is NULL. 2020-01-14 20:51:06 +01:00
OBattler
c09acf597d Fixed the size of the bitmap_t.line array, fixes out-of-bounds acceses. 2020-01-14 19:42:11 +01:00
OBattler
4076f4b671 Fixed a mistake in the Cirrus Logic CL-GD 54xx code that was preventing the CL-GD 5446 from working on NT 5.x. 2020-01-11 22:33:34 +01:00
OBattler
f12d9c14db Ported the (S)VGA linear read latch fix from PCem. 2019-12-28 05:51:22 +01:00
OBattler
1d41f99dcf Fixed the ATi Mach64 hardware cursor. 2019-12-28 05:50:22 +01:00
OBattler
88b9978fae Introduced video double-buffering (so that the render buffer is no longer the same as the interim buffer) and made SDL (Hardware) auto-hint the renderer per the suggestion and code by Agetian. 2019-12-06 03:50:54 +01:00
OBattler
66af1dde7e Fixed the MDA flickering. 2019-12-06 02:58:23 +01:00
OBattler
e121515458 Fixed the Video 7 / HT-2xx code so that it compiles again. 2019-12-04 07:36:08 +01:00
OBattler
70cfb9d79f Various (S)VGA and Cirrus Logic fixes. 2019-12-04 07:20:58 +01:00
OBattler
ac0a1ee327 Fixed EGA and (S)VGA pel panning, fixes games like Supaplex. 2019-11-19 19:18:44 +01:00
OBattler
d3bdee4ae1 Fixed the video RAM addresses in the text modes on the Sigma Color 400. 2019-11-08 23:45:05 +01:00
OBattler
1a9b46b829 Removed the empty config structures for the PGC and the Image Manager 1024. 2019-11-04 22:18:13 +01:00
OBattler
ca58ed4456 Fixed a bug in the PGC/Image Manager 1024 text modes. 2019-11-04 22:14:47 +01:00
OBattler
6f1c838496 The S3 cards now no longer do mixing or ROP's for PIX_TRANS reads. 2019-10-31 18:14:04 +01:00
OBattler
39a635d6e1 Fixed S3 through the plane PIX_TRANS reads. 2019-10-30 01:27:34 +01:00
OBattler
995fbaa66a (S)VGA 16-bit and 32-bit linear reads now correctly use the read bank and not the write bank. 2019-10-21 21:19:23 +02:00
OBattler
af420d19d3 The screenshot code now only decreases the queue counter if buffer32 is NULL. 2019-10-20 22:09:08 +02:00
OBattler
9c42abf2bf Fixed EGA graphics modes and ported EGA 2bpp/4bpp word mode and 4bpp odd/even functionality to (S)VGA which should also support it. 2019-10-20 17:25:30 +02:00
OBattler
a495faec59 Direct3D in full-screen mode now transfers control of input to the full screen window, fixes #429;
Unified screenshot code and moved it to video.c, it is now independent of both renderer and platform;
The EGA/(S)VGA overscan now also works for CGA, PCjr, Tandy, and CGA-using Amstrads;
Fixed EGA/(S)VGA overscan operation so it works correctly with scrolling and panning;
Fixed 320x200x32K and 320x200x64K modes on the ET4000/W32p;
Fixed the Video 7 1024i chip ID and video memory options, fixes #431;
Fixed a banking bug in the S3 cards, fixes Windows 9x and NeoPaint.
2019-10-20 15:09:38 +02:00
OBattler
2636ff2abf Fixed the Hercules memory mapping, fixes #419. 2019-10-02 21:19:46 +02:00
OBattler
2c2554061c Removed an unused array and its initialization from video/video.c. 2019-10-01 22:15:25 +02:00
OBattler
8d28b9e0c5 Changed the Toshiba T1000/T1200 init function to load fonts in full 2048-byte mode, fixes #420. 2019-10-01 21:36:27 +02:00
OBattler
c7b676dfef Fixed some newly introduced Cirrus Logic bugs. 2019-10-01 16:21:35 +02:00
OBattler
09142d0365 Removed the non-working standalone HT-216 that should not have been there. 2019-10-01 15:50:30 +02:00
OBattler
591cd2e019 The Cirrus Logic graphics cards now support the 8-byte latches, fixes 16 colors drivers;
The Cirrus Logic graphics cards now support the 15 bpp/palette mix, 8 bpp grayscale, and 8 bpp 3:3:2 RGB modes;
The makefiles now do -funroll_loops.
2019-10-01 15:14:51 +02:00
OBattler
a2755f0461 Fixed Cirrus Logic video to CPU (mem sys dest) blits and the operation of non-DWORD-granularity color expand CPU to video (mem sys src) blit, fixes OS/2 on the CL-GD 5426/28. 2019-09-30 14:14:22 +02:00
OBattler
ce907f89e3 The Cirrus Logic graphics cards now correctly disable MMIO if bit 0 of sequencer register 7 is clear, fixes #352. 2019-09-29 17:45:29 +02:00
OBattler
33094a164d Fixed EGA display broken by an earlier commit, fixes #417. 2019-09-29 10:32:03 +02:00
OBattler
984db93947 Implemented video to CPU (mem sys dest) blits on the Cirrus Logic CL-GD 54xx graphic card, fixes #329. 2019-09-29 08:37:33 +02:00
OBattler
6627282efb Implemented software-requested DMA block transfers, fixes #405, and also fixes UMBPCI's DMACHK ISA DMA tests;
Reworked a few things and re-implemented memory write protection in the SCAT emulation, to require less unusual mappings;
Removed two files that should not be there;
Made sure all graphics cards' memory mappings are mapped as MEM_MAPPING_EXTERNAL;
Added MEM_MAPPING_ROMCS flag to signal that a mapping responds to MEMCS* and made the BIOS and Intel flash mappings use it.
2019-09-28 17:32:05 +02:00