Commit Graph

405 Commits

Author SHA1 Message Date
OBattler
10c7ee2aef Fixed some warnings. 2024-03-09 11:38:18 +01:00
OBattler
01d066ce4c MiniVHD: Some initialization sanitizations. 2024-03-08 22:37:18 +01:00
OBattler
a45d268070 LBA Enhancer: Coding style. 2024-03-08 22:36:48 +01:00
Cacodemon345
6d1c91c8ce Add Vision Systems LBA Enhancer 2024-03-06 15:14:56 +06:00
Miran Grča
25da1f1bae Merge pull request #4233 from 86Box/tc1995
IDE/ATAPI port/irq changes for MCA:
2024-03-02 15:49:46 +01:00
TC1995
8c6d544d5d IDE/ATAPI port/irq changes for MCA:
The ADF is a bit misleading, for pos3 and pos4, the right bits are bits 5-4, not 6-5. Fixes IRQ and added the secondary addresses without conflicting with the FDC, now ATAPI drives work fine.
2024-03-02 15:46:12 +01:00
OBattler
12e367fac6 Fixed a warning in disk/hdc_ide.c. 2024-03-02 12:51:50 +01:00
TC1995
af786bec0a IDE changes (now for MCA).
Added McIDE (MCA IDE) controller for MCA machines that don't have it (PS/2 models 50+).
2024-03-01 22:54:31 +01:00
TC1995
ff6964f73d ESDI/MFM AT changes:
Make sure they IRQ activations are more IDE-like and correct.
2024-03-01 19:26:32 +01:00
OBattler
58a0c840c1 Added SiS 550x, 558x, 559x, (5)600, UMC UM8890, UMC UM8663 Super I/O Chips, UMC UM8673F and Winbond W83769F IDE Contollers, and a number of machines, and fixes to the UM888x 486 chipset. 2024-02-22 00:52:20 +01:00
Alexander Babikov
fb335a754a Merge the XTIDE XT/XT+ and AT/386 BIOS variations 2024-02-05 03:18:24 +05:00
OBattler
b607d191f4 Fix the WD1004A-WX1 BIOS and jumpers. 2024-01-22 15:35:32 +01:00
OBattler
009139c902 IDE: Reset the reset flag to 0 for all affected devices in ide_board_callback(), fixes #4014. 2024-01-10 00:43:17 +01:00
OBattler
ce342400eb Fixed IDE sector advancement, fixes #4012. 2024-01-09 23:49:09 +01:00
OBattler
1d15d48ee7 Broke out the ALi M5213 IDE from the ALi M1489 code (it turns out the ALi M1489 on-chip IDE is for all intents and purposes identical to the M5213) and made the Acer A1G use it. 2024-01-08 23:58:30 +01:00
OBattler
3a62aa4ea7 First batch of Acer A1G fixes, fixes #3992. 2024-01-08 22:27:09 +01:00
OBattler
7f92d71bf1 Removed some accidentally excess logging from disk/hdc_ide.c. 2024-01-08 02:40:45 +01:00
OBattler
215c507634 Soft reset on IDE device 1 causes the assertion of PDIAG- which causes the error register of device 0 to also be set to 1, indicating diagnostics passed successfully (+ a PIIX3 fix), fixes #4002. 2024-01-08 02:35:03 +01:00
OBattler
e7f15d87e1 And the warning in disk/zip.c. 2023-12-16 20:47:11 +01:00
Jasmine Iwanek
61f83f2a3d Better variable name in hdc_ide 2023-12-15 16:21:28 -05:00
Jasmine Iwanek
fc19a4698b Several fixes to compile with logging enabled 2023-12-14 15:52:04 -05:00
OBattler
5221a77dbf IDE/ATAPI SRST fixes - fixes ATAPI CD-ROM detection on the Nec PowerMate V. 2023-12-14 21:19:58 +01:00
RichardG867
3053f15efd ZIP/MO: Temporary fix for uninitialized IDE channel crashes 2023-11-25 22:54:07 -03:00
OBattler
f35a042f42 Moved the sanity checks to the correct place. 2023-11-10 22:53:56 +01:00
OBattler
c8ef85c249 Stop the initialization of a ZIP or Magneto-Optical drive if its task file structure pointer is NULL. 2023-11-10 22:42:36 +01:00
OBattler
33afe6e014 Improved the fix. 2023-11-05 22:33:19 +01:00
OBattler
70a2ba0581 Do not attempt to free the task file of shadowed IDE devices, fixes potential crashes when shutting down the emulator. 2023-11-05 22:31:21 +01:00
OBattler
85f358b7f5 Removed the recently introduced IDE reset change - fixes CD-ROM detection on Windows 95 on Phoenix BIOS'es. 2023-11-04 23:16:08 +01:00
OBattler
bb515c3c05 Fixed the accidentally broken LBA mode on IDE hard disks. 2023-11-04 04:12:09 +01:00
OBattler
058391e148 More IDE clean-ups and properly implemented task file ownership, fixes OS/2 Warp 3.0 booting from IDE hard disks. 2023-11-04 03:28:42 +01:00
OBattler
2a5a8f7431 Assorted IDE fixes and the PCI IDE bus master now also resets ATAPI hard disks. 2023-11-03 05:54:30 +01:00
OBattler
3d3e7f5cf3 Fixed a signedness mess-up in disk/hdd.c, fixes SCSI disk hangs when using non-RAM disk timings. 2023-10-30 20:09:55 +01:00
OBattler
40d724cf20 Fixed SCSI/ATAPI hard disk timings and IDE hard disk recalibrate command timing. 2023-10-30 04:48:29 +01:00
OBattler
8107343f96 Fixed IDE IRQ's on non-bus mastering IDE controllers. 2023-10-29 01:43:58 +02:00
OBattler
237c792795 Removed a commented-out line from disk/hdc_ide.c. 2023-10-28 22:28:36 +02:00
OBattler
b474e3d056 Massive IDE clean-ups, and finally implemented ATAPI hard disks. 2023-10-28 22:00:23 +02:00
OBattler
b329b5cc5f Fixed a bug with ATAPI PIO requests, fixes some crashes with ATAPI drives on tertiary and quaternary IDE controllers. 2023-10-20 19:39:04 +02:00
OBattler
88934ab0ca IDE fixes and finished the SiS 5511. 2023-10-20 02:57:50 +02:00
OBattler
7013949310 Made sure the dummy "None"/"Internal" devices never get initialized and fixed some PCI AGP bridge mess (including AGP-less 440BX/ZX/GX erroneously initializing the 440LX/EX AGP bridge), fixes #3696. 2023-10-14 06:45:45 +02:00
Jasmine Iwanek
859c7b781b Correct comments in hdc_ide.c 2023-10-05 11:35:22 -04:00
Jasmine Iwanek
a5a2bb12b8 Swap addresses and IRQ's according to Linux Documentation 2023-10-04 15:12:56 -04:00
Jasmine Iwanek
54dfee24ed Minor cleanups to third and fourth IDE controller 2023-10-04 15:12:55 -04:00
OBattler
0ea7f3b2b2 Fixed includes in disk/hdc_st506_xt.c. 2023-08-24 01:10:41 +02:00
OBattler
c548910ce7 Unmarked fallthroughs: disk/hdc_st506_xt.c. 2023-08-24 00:57:10 +02:00
Jasmine Iwanek
7342c0a77a More linting in src/disk 2023-08-22 23:54:06 -04:00
OBattler
5ac598378f XTA fixes for both the regular and IBM PS/1 variants. 2023-08-20 17:26:52 +02:00
OBattler
250b756af7 Changed the IDE status return on empty slave with non-empty master, fixes Award BIOS excess waits. 2023-08-18 23:43:08 +02:00
Alexander Babikov
b10a6b201d Fix broken VHD handling 2023-08-16 02:48:26 +05:00
Jasmine Iwanek
375f69ed61 Fix more compile warnings 2023-08-15 13:28:04 -04:00
cold-brewed
99cdd3a16a Various warning cleanups 2023-08-12 11:42:11 -04:00