Commit Graph

464 Commits

Author SHA1 Message Date
OBattler
c1f18d9abc More 808x fixed - fixed (kind of) the 8086 lock ups and the DRAM refresh wait states, also further fixed (and cleaned up) prefetch queue operation, applied a few warning fixes, and fixed the behavior of PUSH SP - anything that uses it to tell 808x apart from 286 is now fixed;
Re-added the higher-clocked 8088's;
Fixed PIT timings for 808x CPU's that don't run off an 14.3 MHz crystal;
Fixed CGA cursor half blink rate setting - fixes insane cursor blinking speed in several cases;
DMA now issues DMA refresh DRAM states on every channel;
Gave the 1982 years to the previously emulated PC and XT's names, and added the 1981 IBM PC and 1986 IBM XT;
Redid the PPI DIP switch redout for the PC/XT keyboard controller;
Fixed a segmentation fault in hdc_ide.c that tended to occur on hard reset after switching machines;
Implemented the port 3B8 color disable on the Hercules, Hercules Plus, and Hercules InColor cards;
Fixed the joystick configuration dialog strings;
Fixed a problem that would have prevented win_sdl.c from compiling with logging enabled.
2019-02-11 01:33:15 +01:00
OBattler
46d0ed2baa Rewritten 808x CPU emulation core based on reenigne's XTCE, VisiOn, SnatchIt, and 8088 MPH now work correctly;
Fixed PC speaker sound volume in PIT mode 0;
A few CPU emulation clean-ups;
Hard disk controller changing redone in a less messy way;
Re-added the long-missing key send delay handling to the XT keyboard handler;
Fixed a bug that was causing SLiRP not to work when compiled with MingW/GCC 7.3.0-2 or newer;
Some serial mouse and port fixes;
A lot of changes to printer emulation, mostly based on DOSBox-X;
Printer PNG writer now uses statically linked libpng;
Added support for the HxC MFM floppy image format and upped 86F format version to 2.12;
Ported various things from PCem and some from VARCem;
Added the S3 86c801/805 emulation (patch from TheCollector1995);
Fixed and renamed the EGA monitor options;
Better synchronized the 808x to the PIT and the CGA;
Fixed the CGA wait state calculation;
Cleaned up some things in mem.c;
Fixed some things in the floppy emulation to make VisiOn get the correct errors from the copy protection disk;
Fixed several renderer-related bugs, including the SDL2 renderer's failure to take screenshots;
The Jenkins builds are now compiled with MingW/GCC 7.4.0-1 and include all the required DLL's.
2019-02-06 03:34:39 +01:00
TC1995
96ccd426ec Applied the bug fix from John Elliot regarding the Sigma Color 400. 2018-11-03 12:45:04 +01:00
OBattler
14e5c4cc09 A small bugfix for the Hercules blend and a variable move. 2018-11-01 10:52:27 +01:00
OBattler
44840a2f79 Small fix in video/video.c - moved a variable to the top. 2018-10-28 08:28:08 +01:00
OBattler
3d9f770603 Implemented the Hercules graphics mode blend. 2018-10-28 08:26:07 +01:00
OBattler
be67f6a9b5 Fixed some graphics modes on all S3 ViRGE's. 2018-10-27 04:47:49 +02:00
OBattler
16480d27ce Fixed the overscan on the Sigma Color 400. 2018-10-23 23:04:11 +02:00
OBattler
14095aab59 Fixed another bug in the Sigma Color 400 - now it no longer ignores sigma->palette. 2018-10-23 01:33:48 +02:00
OBattler
a729b46a02 Fixed the colors on the Sigma Color 400 (was a bug with the adaptation to 86Box) and made it no longer vertically double the screen when the height is more than 250 lines. 2018-10-23 00:08:46 +02:00
OBattler
54aca15a8b Added the Sigma Color 400, ported from PCem patch by John Elliott;
Spread the logging changes to machine files and added a missing log toggle to Makefile.local.
2018-10-22 04:22:00 +02:00
OBattler
86616cd5fb Slight fixes to CL-GD 54xx and generic (S)VGA memory read/write code - fixes E-Ten 24x24 driver (and probably more) on CL-GD and even the Tridents (though the second half of the screen is glitched on Tridents, which is an interlace bug and needs to be looked into). 2018-10-21 20:07:00 +02:00
OBattler
58ea2b549e The BT-48x RAMDAC now AND's the cursor data index with 0xFF if the cursor is 32x32. 2018-10-19 20:37:00 +02:00
OBattler
a8d8897f85 Fixed BT48x RAMDAC cursor reading. 2018-10-19 20:11:14 +02:00
OBattler
cfc626f111 Change to logging - when logging is disabled, the logging functions are now #define'd to nothing, so the compiler ignores the lines that call them completely, seems to slightly speed up the emulator; note that the logging in vid_table.c has not been changed yet, because this file on my local tree currently contains other WIP changes. 2018-10-19 00:39:32 +02:00
OBattler
b8d3992c07 Fixed some CD-ROM-related bugs;
Added sanity checks to the device close functions of the Hercules family graphics cards;
Cleaned up, fixed the bugs in, and reworked the implementation of the Adaptec/BusLogic BIOS command handler;
Removed some scsi_device.c functions that have now become useless;
Removed some excess stuff from pc_init_modules().
2018-10-11 10:34:12 +02:00
OBattler
173b1f7694 Replaced the Hercules, Hercules Plus, and Hercules InColor emulations with VARCem's, fixes Pictionary in Hercules mode. 2018-10-10 22:21:55 +02:00
OBattler
3b8d5f6b87 The TriGem 286M now correctly has IDE;
The TriGem 286M no longer has an internal graphics card - the TriGem Korean VGA card is an ISA card;
Changed the configuration of the AMA-932J's internal OTI-067 to default to 256 kB of memory as that's what the card seems to have.
2018-10-09 05:53:09 +02:00
OBattler
b270d8f87f The AMA-932J's internal OTI-067 now has configurable memory. 2018-10-09 05:30:09 +02:00
OBattler
4d2918276b The OAK OTI-077 now correctly reports 256k memory when 256k is set. 2018-10-08 01:22:37 +02:00
OBattler
5f965ef27d Fixes to the OAK OTi graphics cards' emulation, the 037C and the AMA932J's internal 067 now work. 2018-10-08 00:22:40 +02:00
OBattler
d067ce60aa Added some missing breaks in the BT48x RAMDAC code. 2018-10-06 23:11:42 +02:00
OBattler
f81574b419 Reworked the RAMDAC and clock chip initialization - now they're all device_t's;
Moved the BT48x hardware cursor draw function to the RAMDAC's code where it belongs;
Renamed the BT48x RAMDAC code file to vid_bt48x_ramdac.c (was vid_bt485_ramdac.c);
Fixed BT48x 64x64 hardware cursor bugs (caused by the index variable being uint8_t when it should have been uint16_t) introduced in the previous commit.
2018-10-05 01:54:54 +02:00
OBattler
66c914f2fe And two more. 2018-10-04 03:39:19 +02:00
OBattler
415c396163 Removed hopefully all the remaining excess files. 2018-10-04 03:35:16 +02:00
OBattler
ed92602dad Fixes for the (S)VGA common DAC and some card-specific DAT's (ATi 68860, BT48x family, and the Cirrus Logic DAC), fixes Star Control II among other things. 2018-10-04 01:19:43 +02:00
OBattler
6b938d63c3 More fixes to the BT485 RAM DAC code;
Small changes to the CL-GD 54xx ext. palette handling.
2018-10-03 05:42:10 +02:00
OBattler
988cbe4414 More changes to the BT485 RAM DAC emulation - now emulates the whole family (BT484, BT485, BT485A, and the AT&T clones of the BT484 and BT485). 2018-10-03 04:18:29 +02:00
OBattler
d1badde7df Added BT485A emulation to the BT485 code, in case it's ever needed, and a init function specifiying the RAM DAC's type;
A small change to the ICD2061 code and ability to use it as the ICS9161 which is functionally compatible.
2018-10-03 03:22:48 +02:00
OBattler
647d78e4c2 Removed a lot of useless #include's from a lot of files and reworked the SCSI #include's a bit to resolve the problem of scsi.h being a mess. 2018-10-02 22:54:28 +02:00
OBattler
512afda373 Removed the cpu.h #include from vid_s3.c. 2018-10-02 18:29:47 +02:00
OBattler
f694ab5753 Removed the leftover new_mmio stuff from the now-removed 868;
Changed the 964-based Stealth64 BIOS to use the 1.07h BIOS and report an ID of D0 instead of D1, because the D1 revision appears to have changes that are not documented anywhere.
2018-10-02 18:18:24 +02:00
OBattler
68a5dbd653 Fixed BT485 BPP setting, fixes some Windows 3.1 drivers;
More fixes to BT485 RAM DAC accesses from the Vision964.
2018-10-02 00:06:30 +02:00
OBattler
83b6756b95 Rewrote the BT485 RAM DAC emulation - now it's cleaner and follows the correct (BT485 non-A) datasheet. 2018-10-01 23:36:52 +02:00
OBattler
ff48842acc More fixes to the ICD2061 clock chip - now it writes the correct bits to the control register, and relocks after reciving the 26 data bits, fixes more timings messups. 2018-10-01 16:14:08 +02:00
OBattler
13c1c7b235 Fixed the PCI device class registers for the S3 Vision 864 and 964 cards. 2018-10-01 01:45:31 +02:00
OBattler
7ec356fcf3 Fixed BT485 RAM DAC accesses from the Vision964. 2018-09-30 21:14:41 +02:00
OBattler
eba4ca376e Added the Diamond Stealth 64 VRAM (S3 Vision964) and its Brooktree BT485 RAM DAC;
Removed the ExpertColor S3 Vision868 card;
Rewritten the ICD2061 clock chip and moved the Diamond Stealth 32 back to the main branch as it's now fixed;
Fixed the Y offset of the 64x64 hardware cursor of the Cirrus Logic cards.
2018-09-30 20:29:44 +02:00
TC1995
dcb0b24bbe Minor fixes to the file version (nw). 2018-09-22 18:43:35 +02:00
TC1995
9031ccedfb Minor fixes to the S3 SDAC. 2018-09-22 18:40:29 +02:00
OBattler
162ff483d7 The Paradise Bahamas64 now has the correct C0 (Vision864 non-P) ID. 2018-09-21 15:35:57 +02:00
OBattler
7d6e60d4b8 Fixed the S3 ViRGE new MMIO mapping;
Ported over the September 17th PCem ATi Korean VGA patch from greatpsycho.
2018-09-21 00:39:42 +02:00
OBattler
a91fa57dd1 Fixed the S3 Vision 864/868 4 MB VRAM mode, and made the 868 support 8 MB VRAM again. 2018-09-20 20:42:55 +02:00
OBattler
55afa5e2ac More S3-related bug fixes. 2018-09-20 18:03:07 +02:00
TC1995
2898ed4459 Updated file log. 2018-09-20 16:17:09 +02:00
TC1995
9b55c7e653 Bug fixes to the Vision868 CF55 card and added its "New MMIO" for newer guests like Win95 OSR2.x and others. 2018-09-20 15:54:43 +02:00
OBattler
c7a331a903 Removed the "legacy ID" mess from the video code;
Removed obsolete compatibility stuff from config.c;
Removed the useless gfx_present array.
2018-09-19 20:46:42 +02:00
OBattler
69b57c49b0 Major changes to video code - no more ROM set checks, and type and timings are set in a card's device init function;
Added the ExpertColor DSV3868P CF55 (S3 Vision868).
2018-09-19 20:13:32 +02:00
OBattler
08bf8315cf Removed more ROM set checks and fixed ET4000AX ROM paths. 2018-09-15 16:45:52 +02:00
OBattler
e401ea0e7b Removed ROM set checking from all the emulated Super I/O chips that did it;
Ported over the ET4000AX init function clean-up from VARCem;
Cleaned up the S3 Vision864/Trio32/Trio64 init stuff.
2018-09-15 02:48:54 +02:00