Commit Graph

84 Commits

Author SHA1 Message Date
OBattler
3a8bd15b9d Extensive rework of SCSI and ATAPI devices and numerous bug fixes and cleanups;
Extensive rework of CD-ROM image handling;
The settings save code now forces some devices' (SCSI disk, CD-ROM, etc.) pointers to NULL before resetting the machine - fixes segmentation faults after changing settings;
Added the NCR 53c825A and 53c875 SCSI controllers;
Fixed IDE/ATAPI DMA;
Slight changed to PCI IDE bus master operation.
2018-10-30 13:32:25 +01: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
1f273d1469 Removed the WIP Video7 files from the makefile, should fix compiling. 2018-10-19 00:51:26 +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
c663147d11 Imported CD-ROM-related changes from VARCem;
Removed cdrom_null.c/h;
Some changes to logging (will be spread to everything else soon).
2018-10-17 05:29:48 +02:00
OBattler
09168610a4 The absolute path is now passed to plat_dir_create() instead of the relative path;
The makefile now support passing a number of jobs to flto.
2018-10-12 23:54:23 +02:00
OBattler
6155802b59 Split generic CD-ROM from SCSI-style CD-ROM;
Redid the way SCSI and ATAPI devices are handled;
Slight timings change in the NCR 5380;
Devices are now closed by device_close_all() in the reverse order of the one in which they were started;
Slight changes to some code in win/;
Added the WM_HARDRESET and WM_SHUTDOWN window messages for configuration manager purposes.
2018-10-10 22:33:24 +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
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
OBattler
7f26f64882 Removed scsi/scsi_bus.c as it's no longer needed. 2018-09-15 19:58:24 +02:00
OBattler
4b64212b35 Added the Jetway J656VXD (430VX-based Award PCI machine);
Moved the IBM PS/2 Model 70 Type 4 to the DEV branch.
2018-09-12 14:42:13 +02:00
OBattler
be2bc61f78 Fixed the makefile so that non-debug builds are non-debug again. 2018-09-09 19:38:11 +02:00
TC1995
0d2ee0a57d Ported the ISA RTC and Memory expansion cards from VARCem's.
Bunch of improvements in the device, memory and MMU handling.
Re-worked the NEAT 286 chipset (ported from VARCem).
Re-worked the ATI 28800 a bit, added Sierra SC1502x ramdac to VGA Wonder XL (Compaq) since it supports such.
Top 384K memory handling improvements (256K top memory too)
Added MCA version of MPU-401 (not tested much, however).
Re-worked the SCAT 286 chipset.
2018-09-03 13:55:09 +02:00
OBattler
3a05287b45 Removed the (never finished) Nvidia emulation code. 2018-08-01 02:48:32 +02:00
David Hrdlička
65aedbbcee win_d2d: moved to dev branch and made optional + fixes 2018-07-28 23:41:16 +02:00
TC1995
2fecef0741 Preliminary 186 emulation.
Added MCA variant of the ET4000 VGA card.
Added NE/2 Netware card.
Corrected timings of the NCR 5380-based cards.
Added the WD8003E (8-bit ISA), WD8013EBT (16-bit ISA) and WD8013EP/A
(MCA) network cards.
2018-07-19 16:01:31 +02:00
David Hrdlička
7ea15090d9 Added a Direct2D 1.0 renderer. 2018-07-19 04:39:27 +02:00
OBattler
0c95de1075 Some bugfixes and C++ files are now optimized;
Jenkins builds now also have build number in the title bar.
2018-07-17 22:48:46 +02:00
OBattler
950ce8f5aa Added the 3Com 3C503 Network card;
Several bug fixes;
Preliminar addition of the SDL 2 renderer (does not yet work correctly in full screen mode);
SCSI devices no longer have configurable LUN's (this matches the configurability of real SCSI devices);
SCSI LUN's are now handed by the device's handler;
Removed all unused strings;
Removed some unused code files;
Significantly rewrote the bus mouse emulation.
2018-07-15 01:41:53 +02:00
OBattler
22d387c156 Fixed the Dev branch. 2018-05-21 19:34:51 +02:00
OBattler
5d8deea63b Changes to logging - nothing (other than some parts of pc.c) uses the global pclog anymore (and logs will be almost empty (until the base set logging flags is agreed upon);
Fixes to various hard disk controllers;
Added the Packard Bell PB640;
Fixed the InPort mouse emulation - now it works correctly on Windows NT 3.1;
Removed the status window and the associated variables;
Completely removed the Green B 486 machine;
Fixed the MDSI Genius;
Fixed the single-sided 5.25" floppy drive;
Ported a CPU-related commit from VARCem.
2018-05-21 19:04:05 +02:00
Melissa Goad
f8d0b2de95 Start over on nvidia 2018-04-26 10:19:57 -05:00
OBattler
16a7b1cef2 Removed win_status.c and the related stuff as it was not updated for a while and no longer displayed useful information. 2018-04-26 13:33:29 +02:00
OBattler
a412ceb4d9 Applied all relevant PCem commits;
Extensively cleaned up and changed the CD-ROM code;
Removed CD-ROM IOCTTL (it was causing performance and stability issues);
Turned a lot of things into device_t's;
Added the PS/1 Model 2011 XTA and standalone XTA hard disk controllers, ported from Varcem;
Numerous FDC fixes for the PS/1 Model 2121;
NVR changes ported from Varcem;
The PCap code no longer requires libpcap to be compiled;
Numerous fixes to various SCSI controllers;
Updated NukedOPL to 1.8;
Fixes to OpenAL initialization and closing, should give less Audio issues now;
Revorked parts of the common (S)VGA code (also based on code from QEMU);
Removed the Removable SCSI hard disks (they were a never finished experiment so there was no need to keep them there);
Cleaned up the SCSI hard disk and Iomega ZIP code (but more cleanups of that are coming in the future);
In some occasions (IDE hard disks in multiple sector mode and SCSI hard disks) the status bar icon is no longer updated, should improve performance a bit;
Redid the way the tertiary and quaternary IDE controllers are configured (and they are now device_t's);
Extensively reworked the IDE code and fixed quite a few bugs;
Fixes to XT MFM, AT MFM, and AT ESDI code;
Some changes to XTIDE and MCA ESDI code;
Some fixes to the CD-ROM image handler.
2018-04-25 23:51:13 +02:00
OBattler
d2b5bf9200 Removed the old LZF files;
The 86F handler now only allocates the track surface descriptor data if the inserted image is an 86F and such data is present in the image.
2018-03-19 01:36:56 +01:00
OBattler
86a3941093 The DirectDraw renderer now also saves screenshots as PNG (using libpng). 2018-03-16 15:46:41 +01:00
OBattler
ddcb901421 Ported over the VARCem NVR commit. 2018-03-13 03:46:10 +01:00
OBattler
574f633a62 Fixed the makefile's header revision and date. 2018-03-07 20:17:04 +01:00
Daniel Gurney
7b8bee2752 Remove useless W5500 if condition and fix nonexistent -O level in Makefile.mingw 2018-03-07 20:10:19 +02:00
OBattler
9356ae8bed Moved the MR Intel Advanced/ATX to the Dev branch. 2018-03-06 00:51:48 +01:00
OBattler
651bdf3931 Fixed the makefile so Dev builds are compiled correctly. 2018-03-05 20:47:48 +01:00
OBattler
ab97eb923d Dev build modules are now optionally disablable. 2018-03-05 19:55:27 +01:00
OBattler
99d22c3c03 Added the Xi8088. 2018-03-02 20:47:18 +01:00
OBattler
6e823e6232 Added the Toshiba T1000 and T1200. 2018-03-02 19:33:02 +01:00
TC1995
36232ce6a1 Added Oak OTI-037c video card with modifications to the generic SVGA handler to conform its specific registers. 2018-02-24 15:56:48 +01:00
OBattler
e441601cd9 Some minor fixes in the AHA/BusLogic code;
Added the Cirrus Logic CL-GD 5428 ISA, 5430 VLB, and 5430 PCI;
The makefile now makes the compiler use the -flto flag only if OPTIM=y.
2018-02-19 12:32:54 +01:00
OBattler
1405d9b10b Moved the AMD K5 and K6 CPU's and the ATi VGA Wonder XL24 to the Dev branch;
Turned the char arrays in gameport.h into const char pointers;
The makefile no longer links in the (unfinished) PIIX4 emulation code (which is currently not used by anything even in the Dev branch).
2018-02-18 13:43:49 +01:00
OBattler
e0a9de85c9 Changed several char arrays all around the code to const char pointers, debloats the executable file from 8.7 MB to 5.6 MB;
Replaced the Cirrus Logic code with the latest code from TheCollector1995 - the CL-GD 5428 is now fully working, as is the CL-GD 5429;
Minor clean-up in the AHA/BusLogic BIOS commands code;
Slightly rewritten mem_readb_phys_dma() and mem_writeb_phys_dma().
2018-02-18 10:32:51 +01:00
OBattler
ede82ec9f0 Fixed a bug in vid_et4000w32.c;
Removed the old PCem-X-era Cirrus stuff from the Dev branch.
2018-02-11 21:35:09 +01:00
OBattler
678f0a71f7 Added the option to disable updating status bar icons (doing so gains performance during disk I/O);
Reduced sound gain options to one (because the per-source gain does not work right);
Added the Diamond SpeedStar PRO (CL-GD 5428), per patch from TheCollector1995.
2018-02-11 20:51:42 +01:00
OBattler
f18cd3d89e Removed excess memset()'s from hdd_image.c and did a few other optimizations there, also fixed incorrect zero'ing of the buffer in hdd_image_write_ex();
Did a tweak to mmutranslate() in mem.c, should increase performance again;
Added the ATi VGA Wonder and ATi VGA-88, made the ATi VGA Edge-16 use the correct BIOS.
2018-02-07 19:01:39 +01:00
OBattler
8a161b2094 Properly moved the crash dump code to the Dev branch. 2018-01-28 18:18:06 +01:00
OBattler
cc7579b898 Moved the two Laser XT machines to the Dev branch. 2018-01-28 17:56:32 +01:00
OBattler
97cc1774f6 Updated the headers of net_ne2000.c/h to reflect the fact the NE1000 is no longer in the Dev branch and removed the NE1000-related things from the makefile. 2018-01-28 12:15:57 +01:00
OBattler
410ecb1f22 Added Iomega ZIP emulation. 2018-01-26 22:17:09 +01:00
OBattler
6856a77e2d Re-added the Cardex Tseng ET4000/W32p (which works better than the Diamond Stealth32), and moved the Diamond Stealth32 to the Dev branch;
Re-added the ATi Mach64GX ISA, this time with a working BIOS;
Fixed some CGA/EGA/(S)VGA timing mess-ups.
2018-01-25 19:35:23 +01:00
OBattler
8e6497f01d Added the "New Floppy Image" functionality with its own dialog box, can create 86F, Japanese FDI, and IMG images;
The settings dialog now keeps track of MFM/XTIDE/ESDI/IDE channels and SCSI ID's and LUN's;
The IBM PS/2 Model 50 now installs a Model 80-style memory expansion card (MCA ID FCFF) when more than 2 MB RAM is selected, and now supports a maximum of 10 MB RAM.
2018-01-19 15:39:13 +01:00
OBattler
5318bc08d8 The FDC is now a device_t, and the FDC code has been cleaned up;
Merged floppy.c and fdd.c and renamed floppy_*.c (the floppy image format handlers) to fdd_*.c;
Reading the AT or PS/2 keyboard controller status no longer clears the transmit timeout bit, fixes error 8601 (mouse error) on the IBM PS/2 Model 80;
MMU translate and DMA physical reads and writes now go through _mem_exec instead of directly to ram[], should fix the last remaining problems with remapped mappings;
Implemented the Sound gain dialog;
Added the resource for the "New floppy image" dialog and the needed functions for the functionality of exporting the currently mounted floppy image as 86F, both of which should be finished in the next commit;
Applied the CD-ROM fixes from the PCem commit;
Added the "Keep ratio" option for full screen stretch.
2018-01-17 18:43:36 +01:00
OBattler
aa8cc394b6 Fixed another mistake in the makefile. 2018-01-01 04:48:25 +01:00
OBattler
d38949d304 Fixed a compile-breaking mistake in the makefile. 2018-01-01 04:44:12 +01:00