Commit Graph

315 Commits

Author SHA1 Message Date
Jasmine Iwanek
6919451ae4 Fix string offsetting 2022-11-09 23:19:17 -05:00
OBattler
cc9a2de478 Fixed ATAPI device status after the DEVICE DIAGNOSTICS command, fixes CD-ROM detection on FreeBSD 2.x, fixes #1992. 2022-11-06 17:13:37 +01:00
Jasmine Iwanek
113207e27a ADD BIOS-less version of WD1002A_WX1 for olivetti M24 2022-10-30 16:47:07 -04:00
Jasmine Iwanek
0aca93b76d Use correct BIOS for WD1004 series of cards 2022-10-30 16:47:07 -04:00
Jasmine Iwanek
7a14b31fcc Deal with the magic numbers
Also fix a small trivial style issue
2022-10-30 16:47:06 -04:00
OBattler
a20584fee4 Fixed the WIN_SRST command on NEC CDR-260, now TEAC_CDI.SYS (OTI-011 ATAPI 1.7B driver) detects it. 2022-10-29 20:16:12 +02:00
OBattler
a59ec21f23 Fixed a configuration bug and nerfed the modes of the NEC CDR-260. 2022-10-29 18:46:14 +02:00
Miran Grča
c2402daf1e Merge pull request #2755 from jriwanek-forks/tabstospaces
Correct many file headers to show 86box
2022-10-29 17:06:18 +02:00
Jasmine Iwanek
47f6257240 Correct headers for BSD Licensed files 2022-10-29 10:52:49 -04:00
OBattler
4d19b8a1e4 Added the ability to select earlier CD-ROM drive (emulates Chinon CDS-431 for SCSI and NEC CDR-260 for ATAPI) - needs to be ported to QT. 2022-10-29 06:44:30 +02:00
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
OBattler
94e1f6535c Merge branch 'master' of https://github.com/86Box/86Box 2022-10-27 21:55:08 +02:00
OBattler
501b712770 Added the Toshiba T1200 version of the V86P JVC/Ricoh hard disk controller, fixes #2738. 2022-10-27 21:55:00 +02:00
Jasmine Iwanek
06c3bbb39c Remove unnecessary functions 2022-10-27 12:03:17 -04:00
Jasmine Iwanek
fab1632cee Fixes almost all the logging options which were previously broken 2022-10-27 11:23:10 -04:00
OBattler
0d4f67aafe Fixed a compiler-breaking mistake in disk/hdc_ide.c. 2022-10-25 05:45:00 +02:00
OBattler
1b464e9f60 A number of IDE fixes. 2022-10-25 05:25:18 +02:00
Lubomir Rintel
b20e72f37f Add a Victor V86P disk driver
This emulates a JVC-branded controller/drive pair, using RLL encoding,
connected via a small connector electrically compatible with ST-506.

The controller is ST-506 compatible with an extra command for
self-power-off. The option ROM is made by SMS. Commented disassembly is
available for study [1].

The disk is a 3.5" 20MiB "made by Victor", labeled JD3824T100 on the outer
protective casing, JD3824T00-1 on the actual drive. It's 615/2/34
physically, pretends to be a 614/4/17 so that it's type 3 compatible.

[1] https://archive.org/details/v86p-hd
2022-10-23 19:28:36 +02:00
ts-korhonen
0dabf88baf Fix Qt 6.4 builds.
Cast from char* to QVariant was removed, use const char* instead.
2022-10-14 14:44:36 +03:00
OBattler
7a7f87b532 Enabled the LUN check for ATAPI MO, ZIP, and CD-ROM drives. 2022-09-28 04:01:19 +02:00
Jasmine Iwanek
696f6f7e2f clang-format in src/disk/ 2022-09-18 17:19:22 -04:00
Jasmine Iwanek
5e0c1ac209 Gdbstub, Minitrace and more (#2653)
* Fix gdbstub compilation

* Fix minitrace compilation

* Fix many warnings on Linux Builds

* Support DirectInput for Joysticks in QT UI too
2022-08-31 18:35:32 -03:00
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