Commit Graph

1726 Commits

Author SHA1 Message Date
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
OBattler
88a619fd47 Added more sanity checks to the CGA, EGA, and SVGA polls, fixes #399. 2019-09-26 16:00:43 +02:00
OBattler
552a87ea3d Added the IBM 5161 ISA expansion for PC and XT;
Cleaned up the parallel port emulation, added IRQ support, and made enabling/disabling per port;
Added the Award 430NX and the Intel Classic/PCI (Alfredo, 420TX);
Finished the 586MC1;
Added 8087 emulation;
Moved Cyrix 6x86'es to the Dev branch;
Sanitized/cleaned up memregs.c/h and intel.c/h;
Split the chipsets from machines and sanitized Port 92 emulation;
Added support for the 15bpp mode to the Compaq ATI 28800;
Moved the MR 386DX and 486 machines to the Dev branch;
Ported the new dynamic recompiler from PCem, but it remains in Dev branch until after v2.00;
Ported the new timer code from PCem;
Cleaned up the CPU table of unused stuff and better optimized its structure;
Ported the Open-XT and Open-AT from VARCem, the Open-AT is in the Dev branch;
Ported the XT MFM controller rewrite and adding of more controllers (incl. two RLL ones), from VARCem;
Added the AHA-1540A and the BusTek BT-542B;
Moved the Sumo SCSI-AT to the Dev branch;
Minor IDE, FDC, and floppy drive code clean-ups;
Made NCR 5380/53C400-based cards' BIOS address configurable;
Got rid of the legacy romset variable;
Unified (video) buffer and buffer32 into one and make the unified buffer 32-bit;
Added the Amstead PPC512 per PCem patch by John Elliott;
Switched memory mapping granularity from 16k to 4k (less than 1k not possible due to internal pages);
Rewrote the CL-GD 54xx blitter, fixes Win-OS/2 on the 54x6 among other thing;
Added the Image Manager 1024 and Professional Graphics Controller per PCem patch by John Elliott and work done on VARCem;
Added Headland HT-216, GC-205 and Video 7 VGA 1024i emulation based on PCem commit;
Implemented the fuction keys for the Toshiba T1000/T1200/T3100 enhancement;
Amstrad MegaPC does now works correctly with non-internal graphics card;
The SLiRP code no longer casts a packed struct type to a non-packed struct type;
The Xi8088 and PB410a no longer hang on 86Box when PS/2 mouse is not present;
The S3 Virge on BeOS is no longer broken (was broken by build #1591);
OS/2 2.0 build 6.167 now sees key presses again;
Xi8088 now work on CGA again;
86F images converted from either the old or new variants of the HxC MFM format now work correctly;
Hardware interrupts with a vector of 0xFF are now handled correctly;
OPTi 495SX boards no longer incorrectly have 64 MB maximum RAM when 32 MB is correct;
Fixed VNC keyboard input bugs;
Fixed AT RTC periodic interrupt - Chicago 58s / 73f / 73g  / 81 MIDI play no longer hangs with the build's own VTD driver;
Fixed mouse polling with internal mice - Amstrad and Olivetti mice now work correctly;
Triones ATAPI DMA driver now correctly reads a file at the end of a CD image with a sectors number not divisible by 4;
Compaq Portable now works with all graphics cards;
Fixed various MDSI Genius bugs;
Added segment limit checks and improved page fault checks for several CPU instructions - Memphis 15xx WINSETUP and Chicago 58s WINDISK.CPL no longer issue a GPF, and some S3 drivers that used to have glitches, now work correctly;
Further improved the 808x emulation, also fixes the noticably choppy sound when using 808x CPU's, also fixes #355;
OS/2 installer no logner locks up on splash screen on PS/2 Model 70 and 80, fixes #400.
Fixed several Amstead bugs, GEM no longer crashes on the Amstrad 1640, fixes #391.
Ported John Elliott's Amstrad fixes and improvement from PCem, and fixed the default language so it's correctly Engliish, fixes #278, fixes #389.
Fixed a minor IDE timing bug, fixes #388.
Fixed Toshiba T1000 RAM issues, fixes #379.
Fixed EGA/(S)VGA overscan border handling, fixes #378;
Got rid of the now long useless IDE channel 2 auto-removal, fixes #370;
Fixed the BIOS files used by the AMSTRAD PC1512, fixes #366;
Ported the Unicode CD image file name fix from VARCem, fixes #365;
Fixed high density floppy disks on the Xi8088, fixes #359;
Fixed some bugs in the Hercules emulation, fixes #346, fixes #358;
Fixed the SCSI hard disk mode sense pages, fixes #356;
Removed the AMI Unknown 386SX because of impossibility to identify the chipset, closes #349;
Fixed bugs in the serial mouse emulation, fixes #344;
Compiled 86Box binaries now include all the required .DLL's, fixes #341;
Made some combo boxes in the Settings dialog slightly wider, fixes #276.
2019-09-20 14:02:30 +02:00
driver1998
fecbec13cf Use _M_IX86 and _M_X64 to indicate MSVC x86/x64
_WIN32 is defined on ARM MinGW as well, which breaks current assumptions
2019-03-20 02:00:12 +08:00
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