Commit Graph

293 Commits

Author SHA1 Message Date
TC1995
8c8a42a9be ESDI MCA: No longer fatal on default reads, fixes Win3.0 MME installation to hard disk using ESDI MCA. 2022-08-09 23:27:03 +02:00
Jasmine Iwanek
5d999920f5 Move SCSI defines to scsi.h 2022-08-02 22:35:43 -04:00
Adrien Moulin
7aec47583d ESDI MCA: implement HDD timings and fix status icon updating (#2538)
* esdi_mca: clang-format

* esdi_mca: implement hdd timings

* esdi_mca: fix drive status icon updating
2022-07-30 12:14:03 -03:00
Adrien Moulin
e0dfb6d183 ESDI: fix drive status icon updating 2022-07-29 01:17:36 +02:00
Adrien Moulin
6e6436acd7 ESDI: implement HDD timings 2022-07-29 00:47:52 +02:00
OBattler
a064918133 WIN_WRITE_MULTIPLE now correctly fails with command aborted if ide->blocksize = 0, instead of a fatal(). 2022-07-26 00:18:28 +02:00
OBattler
97e33097b2 And in disk/hdd.c 2022-07-19 23:52:18 +02:00
Miran Grča
006a7dcc50 Merge pull request #2471 from elyosh/hddsettings
hdd: make speed preset configurable
2022-07-19 16:56:34 +02:00
Adrien Moulin
46f6540542 hdd: make speed preset configurable
This includes settings UI for Qt
2022-07-19 11:31:06 +02:00
OBattler
37893cd8ab PnP-related IDE fixes. 2022-07-18 23:39:40 +02:00
OBattler
e83d1e7ea3 OPTi 611. 2022-07-16 02:59:15 +02:00
TC1995
121a11f132 Revert to the IBM ESDI MCA roms to prevent a hang into booting some operating systems such as NT.
Remove horrible status hack.
2022-07-15 17:36:06 +02:00
OBattler
dcfbff19b1 Merge branch 'master' of https://github.com/86Box/86Box 2022-07-13 03:33:01 +02:00
OBattler
f47b20a824 Attempt to optimize hard disk timings by reducing if's. 2022-07-13 03:32:42 +02:00
Adrien Moulin
2f9597d13a Fix IDE activity status updating 2022-07-13 01:04:40 +02:00
OBattler
cb54e1f90f Fixed the HDD image code. 2022-07-10 21:49:04 +02:00
Miran Grča
e677158d2e Merge pull request #2441 from elyosh/optim001
Various small performance optimisations
2022-07-10 16:21:40 +02:00
Adrien Moulin
24f11448f2 Optimize hdd_image read/write
About 30-40% speedup
2022-07-10 13:50:01 +02:00
Miran Grča
0ad67f1b82 Merge pull request #2434 from elyosh/hddtiming
Add realistic HDD timing simulation
2022-07-10 00:29:21 +02:00
TC1995
333e99113b IBM ESDI MCA, 8514/A, XGA and Rancho changes:
ESDI MCA: Increased esdi_time from 200 to 512, should fix the timeout that caused the bad attention 03 fatal.
Rancho: Added the Rancho RT1000B-MC MCA SCSI controller, it uses the 8.20R BIOS.
8514/A: Reworked the Outline command to satisfy the manual and the win2.10 (286/386) driver.
XGA: Initial rom len is set to 0x8000 (which, after being configured, is set back to 0x2000) just to not make it hang with POST code 40 25 on most configurations.
2022-07-09 23:19:18 +02:00
Adrien Moulin
4c93710d79 Fix build error 2022-07-07 23:58:02 +02:00
Adrien Moulin
27d31c4d99 Enable HDD timing simulation with IDE 2022-07-07 23:38:45 +02:00
Adrien Moulin
fe3061ff7a Add HDD timing simulation
- realistic seeking and read/write speed
- read-ahead cache
- write cache
- preset system for performance characteristics
2022-07-07 23:35:34 +02:00
David Hrdlička
e60af6c29d Clean up plat.h a bit 2022-04-20 01:03:39 +02:00
Alexander Babikov
1a6d596fea Remove the now-redundant LARGEFILE macro definitions 2022-04-14 07:10:20 +05:00
Miran Grča
cc666e6cc4 Merge pull request #2281 from jriwanek-forks/named-initializers-3
Named initializers part 3
2022-04-12 23:38:32 +02:00
Jasmine Iwanek
c01ab374a4 src/disk 2022-04-12 17:26:06 -04:00
OBattler
b455d8f64d SCSI Bugfix, HDC, and FDC. 2022-04-04 18:19:14 +02:00
Jasmine Iwanek
e54d136e3b Add WD1004 series of XT HDD controllers 2022-03-13 10:29:05 -04:00
Jasmine Iwanek
369f6774f9 src/disk 2022-03-13 09:37:19 -04:00
Cacodemon345
7dc84e0f67 qt: Fix HDD path relativization on Windows 2022-03-04 01:25:34 +06:00
Jasmine Iwanek
801f81fbda clean up device_config_t formatting 2022-02-26 23:31:28 -05:00
OBattler
1801ddd21c Fixed a compile-breaking mistake. 2022-02-23 22:52:23 +01:00
OBattler
4730922c52 SEEK command on ATAPI devices no longer returns READY status bit set, should fix ATAPI device misdetection as hard disk on FreeBSD. 2022-02-23 22:19:39 +01:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Jasmine Iwanek
4287e44824 newlines at end of file 2022-02-18 21:38:51 -05:00
OBattler
37c77cf0cf Added some sanity checks to IDE. 2022-02-13 23:50:27 +01:00
TC1995
971402af2f Ported the SCAMP IDE fix from PCem. 2022-02-11 22:54:54 +01:00
TC1995
74ce65183c Fixed IDE storage class identification. 2022-02-06 22:37:11 +01:00
OBattler
6f2b93923c A lot of fixes - everything now seems to work properly. 2022-02-03 03:10:06 +01:00
Jess Lovelace
e77b9a88ab typo fixed 2022-02-02 18:00:06 -05:00
Jess Lovelace
d12d614632 forgot to refactor hdc table def 2022-02-02 17:57:11 -05:00
Jess Lovelace
4849deb156 added null devices and refactored tables 2022-02-02 17:48:04 -05:00
Jess Lovelace
5398143f42 obsoleting tables for internal names 2022-02-02 16:31:24 -05:00
Jess Lovelace
4402607ce5 cleanup 2022-02-02 16:31:22 -05:00
Jess Lovelace
723d5ac984 continued cleanup 2022-02-02 16:31:22 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
Alexander Babikov
e5e1bc13aa Fix the maximum PIO mode on IDE hard drives 2021-12-22 05:36:16 +05:00
David Hrdlička
52486e121e Convert CMake files to 4 spaces indentation 2021-12-20 15:08:23 +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