Commit Graph

148 Commits

Author SHA1 Message Date
Jasmine Iwanek
21adfd4d50 Next round of sonarlint cleanups 2023-06-26 18:28:13 -04:00
Jasmine Iwanek
ed1b369abd Yet more sonarlint fixes 2023-05-29 06:21:17 -04:00
OBattler
5c26d3d4b3 IDE features register is no longer written to both devices at once, fixes CD-ROM boot on the AMI Apollo. 2023-05-18 00:20:23 +02:00
Jasmine Iwanek
0a453b9697 Fix missing stdbool.h includes in src/disk 2023-04-12 06:40:11 -04:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
OBattler
d5291233f7 Reintroduced IDE bit 7 pulldown, this time properly. 2023-02-15 21:16:51 +01:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
TC1995
d05d988e34 IDE/ATAPI: Don't overwrite data in packet writes during Phase Data In. Fixes Solaris 2.6 CD installation on ide/atapi. 2022-11-30 16:01:33 +01:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
Jasmine Iwanek
bd75bc141a Header cleanups
Tabs to spaces
Consistency
2022-11-13 21:15:47 -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
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
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
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
Jasmine Iwanek
696f6f7e2f clang-format in src/disk/ 2022-09-18 17:19:22 -04: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
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
Adrien Moulin
2f9597d13a Fix IDE activity status updating 2022-07-13 01:04:40 +02:00
Adrien Moulin
27d31c4d99 Enable HDD timing simulation with IDE 2022-07-07 23:38:45 +02:00
Alexander Babikov
1a6d596fea Remove the now-redundant LARGEFILE macro definitions 2022-04-14 07:10:20 +05:00
Jasmine Iwanek
c01ab374a4 src/disk 2022-04-12 17:26:06 -04:00
Jasmine Iwanek
369f6774f9 src/disk 2022-03-13 09:37:19 -04: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
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
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
Miran Grča
77a5cf6891 Merge pull request #1581 from 86Box/master
Bring the branch up to par with master.
2021-08-04 09:15:08 +02:00
RichardG867
f0176ceab6 Sound Blaster PnP/IDE overhaul, closes 86Box#1578 2021-08-03 16:44:09 -03:00
Miran Grča
8ca1328c7e Merge pull request #1571 from 86Box/master
Bring the branch up to par with master.
2021-08-02 06:58:22 +02:00
OBattler
e1837929f0 IDE no longer pulls down status bit 7 when nothing is attached - fixes delays on most AMI BIOS'es. 2021-07-19 08:49:14 +02:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
RichardG867
756e1dfc83 Fix quaternary IDE PnP ROM 2021-06-03 16:26:04 -03:00
OBattler
936c5bfb90 IDE PNP fixes for 64-bit builds. 2021-04-30 19:22:48 +02:00
OBattler
99ca313565 Fixed the IDE hard disk busy status setting on reset. 2021-04-07 23:55:19 +02:00
OBattler
200528443f And fixed the fix. 2021-04-07 00:52:55 +02:00
OBattler
bc2fd285c4 Made the IDE RESET BUSY status setting only apply when IDE is in ATA-3 mode. 2021-04-07 00:52:28 +02:00
Miran Grča
32205e10b8 Merge pull request #1350 from richardg867/master
More ISAPnP stuff
2021-04-04 07:29:14 +02:00
OBattler
c0a70b400b IDE drives now return BUSY status in reset mode, and AT MFM and ESDI controllers now return the READY bit in the status register set also for the first sector of the WRITE command, fixes #1281. 2021-04-03 23:26:30 +02:00