Commit Graph

252 Commits

Author SHA1 Message Date
RichardG867
5af0db8075 Fix ROM filename casing 2021-11-21 13:33:22 -03:00
TC1995
6be0cbe304 Changes list 1:
Fixed errors of the Trantor T128 SCSI adapter using the CD-ROM on low speed 386/486 processors.
2021-11-18 22:02:14 +01:00
OBattler
77d73ed3c2 Finished the Intel 450KX, changes to the memory and SMRAM API's, removed the ASUS P/I-P6RP4 from the Dev branch, added the CMD646 PCI IDE controller, and fixed some bugs on the CMD640. 2021-10-26 01:54:35 +02:00
TC1995
54f8ab845b Fixed t128 timings for faster cpu's while remaining compatible with everything else. 2021-09-18 00:52:39 +02:00
TC1995
320c867ea3 Fix T128 timer initialization on reads for faster cpu's. 2021-09-02 14:36:35 +02:00
TC1995
263a8e98c2 Fixed CD Audio on the T128 and made the host buffer limit to be either 512 or less than it if the SCSI buffer length is also less than 512 (T128), same applies to the NCR 53c400, but 128 or less. 2021-08-21 14:18:49 +02:00
TC1995
29b2ac17c0 Fixed timings once again plus a Boot HDD ROM option and another option for logging purposes. 2021-08-19 19:34:28 +02:00
TC1995
62e4245679 Bug fixes to the T128 Pseudo-DMA read routine. 2021-08-17 18:46:45 +02:00
TC1995
250fd9d285 Removed one useless variable and fixed the logging. 2021-08-17 14:29:53 +02:00
TC1995
a4f2d781e8 Initial implementation of the Trantor T128 SCSI adapter, another one using the 5380 chip but with a different undocumented ASIC compared to the rest of the already implemented line of cards. 2021-08-17 14:26:47 +02:00
OBattler
c47e766bc4 The migration of the legacy SCSI controller is now perfectly seamless, thanks, Ryuzaki! 2021-07-23 01:20:14 +02:00
OBattler
729b6d5069 Added support for up to four SCSI controllers, closes #343. 2021-07-22 20:13:44 +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
OBattler
8724e2bfe4 Fix for the on-board NCR 53c810 PCI SCSI controller's slot. 2021-04-06 07:35:52 +02:00
David Hrdlička
dfbbe08a07 rewrite the emulator to use UTF-8 internally 2021-03-30 09:46:49 +02:00
OBattler
bd792b8e7a Added the NCR 53c815 and 53c820, and made sure the 53c810 and the 53c820 do not have the BIOS option as real ones do not have a BIOS BAR, while the 53c815 and 53c825 do (they are basically 53c810 and 53c820, respectively, with own BIOS support);
Roughly implemented the SCSI IDENTIFY message LUN operation, fixes some SCSI controller drivers in some situations;
Added an undocumented CMD640 IDE controller register required by Linux and by a DOS driver.
2021-03-23 06:32:18 +01:00
RichardG867
c8de206251 Skip adding the AHA-1542CP to ISAPnP if the microcode is missing 2021-03-22 21:45:58 -03:00
RichardG867
4f0a888498 Integrate OBattler's AHA-1542CP fixes 2021-03-22 21:24:48 -03:00
RichardG867
9f9f5a1026 Initial attempt at AHA-1542CP 2021-03-20 18:29:58 -03:00
OBattler
c54c4c842c Fixed AHA-154xCF FDC port configuration via EEPROM. 2021-03-20 19:41:07 +01:00
OBattler
d129881783 Fixed the AMD PCSCSI (DC390) BIOS BAR mask. 2021-03-17 18:15:15 +01:00
OBattler
79513c1709 53c8xx PCI SCSI controller BIOS BAR fixes (WIP, more will come later). 2021-02-14 03:37:21 +01:00
TC1995
2d65c82055 Fixed a serious hang bug on 486 cpus using the Rancho bios'es (looks like it's very timing sensible). 2021-01-20 23:33:04 +01:00
TC1995
91b0dd5e83 Tweaked the NCR 5380 timings a bit, should fix more hanging bugs. 2021-01-20 20:34:34 +01:00
TC1995
7ce4bd1a11 Minor fix to the Longshine card, now it formats HDD's as it should. 2021-01-12 20:48:47 +01:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
TC1995
89377b48d2 Fixed the inaccuracy of the 5380. 2021-01-09 15:28:39 +01:00
TC1995
f8e654feb8 BIOS BAR now properly working in the NCR 53c8xx PCI adapters. 2021-01-07 17:43:27 +01:00
TC1995
7fcf1c73fd Workaround for the Rancho RT1000B BIOSes 8.10R and 8.20R to run on any cpu clock while booting from hard disks (the Longshine and Trantor adapters still work though). 2021-01-07 17:30:11 +01:00
OBattler
fa3394c04e Fixed parameter list in data out phase on MODE SELECT (10) command on all ATAPI and SCSI devices, fixes ATAPI and SCSI CD Audio volume control, fixes #1191. 2020-12-26 02:26:45 +01:00
OBattler
57ff5a0441 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-05 09:33:35 +01:00
OBattler
645ed3fdcd The NCR 5380 bus state machine now uses a switch block. 2020-12-05 09:33:07 +01:00
RichardG867
29a0ce48e7 Merge branch 'master' of https://github.com/86Box/86Box 2020-12-03 01:46:04 -03:00
RichardG867
f6be8931ff BusLogic SCSI: fix capitalization in device names 2020-11-30 20:07:30 -03:00
RichardG867
426084bafb NCR SCSI: check GPIO direction as well 2020-11-30 20:07:13 -03:00
Miran Grča
39043ffb9c Merge pull request #1110 from richardg867/master
I2C/SMBus overhaul
2020-11-25 23:14:32 +01:00
RichardG867
d6b1d2c63a I2C overhaul part 5: late, but there's still stuff to do 2020-11-23 14:49:49 -03:00
RichardG867
d5867928d6 I2C overhaul part 3: "we finally figured out NCR NVRAM" edition 2020-11-21 01:36:33 -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
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
Alexander Babikov
62b0c03401 Change the default IRQ for Adaptec and BusLogic SCSI controllers to a less problematic one. 2020-11-13 05:11:00 +05:00
OBattler
795a6017d2 PIC rewrite, proper SMRAM API, complete SiS 471 rewrite and addition of 40x, 460, and 461, changes to mem.c/h, disabled Voodoo memory dumping on exit, bumped SDL Hardware scale quality to 2, bumped IDE/ATAPI drives to ATA-6, finally bumped emulator version to 3.0, redid the bus type ID's to allow for planned ATAPI hard disks, made SST flash set its high mappings to the correct address if the CPU is 16-bit, and added the SiS 401 AMI 486 Clone, AOpen Vi15G, and the Soyo 4SA2 (486 with SiS 496/497 that can boot from CD-ROM), assorted 286+ protected mode fixes (for slightly more accuracy), and fixes to 808x emulation (MS Word 1.0 and 1.10 for DOS now work correctly from floppy). 2020-10-14 23:15:01 +02:00
RichardG867
124866baaa Upgrade IDE maximum to UDMA/100 and add IDENTIFY word 93 (80-conductor cable detection) 2020-10-13 19:20:14 -03:00
TC1995
844f09cdb1 Fixed multiple LUNs with WinXP's DC390/Am53c974 driver. Now only LUN 0 is supported there. 2020-09-20 23:59:25 +02:00
TC1995
549aacba44 Made the SCSI adapter ID selectable from the MCA POS and fixed the double drives bug in WinNT under said architecture. 2020-09-20 16:19:44 +02:00
TC1995
87ea210ee1 Implemented the Tekram DC-390 adapter (Am53c974 + 93cxx), mainly for
CD boot-capable PCI SCSI adapter support.
Begin the process of revamping/separating the EEPROM used by ATI
which is the same as the one as the DC-390 does use.
2020-09-02 17:50:24 +02:00
OBattler
649c084eef Rewrote the CD-ROM TOC handling. 2020-07-20 03:18:56 +02:00
David Hrdlička
23efba22f1 include: move version defines out to version.h 2020-06-26 13:28:10 +02:00
OBattler
d326017233 Added the Acer V30 and a number of IDE and AT keyboard changes needed to make it work, closes #367. 2020-06-19 12:02:17 +02:00