Commit Graph

220 Commits

Author SHA1 Message Date
OBattler
a16f28fab5 IDE and CMD-64x fixes, including IDE initialization improvements and CMD-648 option ROM support. 2025-08-01 16:39:42 +02:00
OBattler
ca400e11dd Implemented the CMD-648 PCI IDE controller, gave it to the CUBX which has it on-board, and added CMD-646 and CMD-648 as standalone options for PCI tertiary+quaternary controllers. 2025-07-26 20:38:15 +02:00
OBattler
64e85fdfbc Retooled ZIP emulation into more expansible Removable Disk emulation, ZIP 100 and 250 types remain selectable, alongside the new 86Box (ie. generic) option. 2025-07-25 16:30:40 +02:00
Cacodemon345
531e6545be IDE: Report single sector writes properly for 28-bit Write commands 2025-04-23 16:22:53 +06:00
Cacodemon345
b074c28d3d DMA-based IDE writes are now reported properly 2025-04-23 16:07:41 +06:00
Cacodemon345
e703ac760b Write indicators (except for floppy drives) 2025-04-22 17:37:00 +06:00
OBattler
e48d64de45 SCSI CD-ROM/Disk/MO/ZIP: Treat data commands with request length 0 in ATAPI PIO mode as non-data commands, also allow WIN_SRST to go through BSY, fixes the regressions introduced in build 6731 reported by JVERNET. 2025-04-07 01:44:12 +02:00
OBattler
556c74c159 IDE DMA: Properly handle partial transfers, fixes ATAPI DMA in Windows 98 SE. 2025-03-17 20:58:15 +01:00
OBattler
277273c05d ATAPI PIO: Do not prematurely terminate the command if bytes are left to be transferred but all sectors have already been read into the buffer, fixes FreeBSD CD-ROM boot on some machines. 2025-03-17 16:54:41 +01:00
OBattler
bb1b666010 Removed some commented out stuff. 2025-03-17 00:43:18 +01:00
OBattler
4be691afe7 IDE: Correctly terminate ATAPI command on DMA underrun, fixes Windows 9x freezes. 2025-03-06 01:44:02 +01:00
OBattler
1d83f86324 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-17 19:51:04 +01:00
OBattler
45dc381251 Forgot the single-channel VLB controller. 2025-02-17 19:50:53 +01:00
OBattler
5ccb5393a9 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-17 19:49:03 +01:00
OBattler
464253a8cd IDE: Fix device bus flags. 2025-02-17 19:48:31 +01:00
OBattler
c8d88d1dd0 Merge remote-tracking branch 'origin/master' into cdrom_changes 2025-02-14 07:40:18 +01:00
OBattler
2c197000ea Removed the legacy #defines in device.h. 2025-02-14 07:39:21 +01:00
OBattler
1a87aea37a And some more. 2025-02-13 04:32:59 +01:00
OBattler
8a66dbef37 Fixed ATAPI PIO operation and ATAPI DMA timings. 2025-02-13 04:28:05 +01:00
OBattler
9a1ae5997f Fixed ATAPI transfer split by sectors and improved the performance of IOCTL by making it no longer constantly open and close the handle. 2025-02-13 01:44:10 +01:00
OBattler
74e0408201 Current WIP CD-ROM changes. 2025-02-09 20:06:15 +01:00
Jasmine Iwanek
1936c05c88 Fix warnings in ide_sec
Co-Authored-By: Miran Grča <oubattler@gmail.com>
2025-02-09 00:58:57 -05:00
Jasmine Iwanek
0c997cc4eb Add ISA, VLB & PCI second channel IDE devs 2025-02-08 21:22:49 -05:00
Jasmine Iwanek
b86e459e78 A couple of cleanups in hdc_ide.c 2025-02-08 21:22:49 -05:00
Jasmine Iwanek
d5d1d5c449 More cleanups to device structs 2025-02-08 01:28:25 -05:00
Jasmine Iwanek
5f273265ae Assorted warning fixes 2025-02-02 03:24:50 -05:00
Jasmine Iwanek
81b8038bc5 Clean up .available & .poll 2025-02-01 03:38:52 -05:00
OBattler
90e1190c92 The great CD-ROM clean-up and rewrite, fixes #5134. 2025-01-28 16:26:28 +01:00
OBattler
4b24ce53ec A handful of IDE fixes. 2024-12-30 19:01:48 +01:00
Miran Grča
262f2dc605 Merge pull request #4728 from techomancer/grid1520
Add new machine GRiD GRiDcase 1520
2024-12-05 20:36:18 +01:00
RichardG867
d5b0ba9511 hdc_ide: Report image read/write errors 2024-10-29 11:47:47 -03:00
OBattler
3556232c21 IDE: Status now once again returns 0x00 on an absent slave with a present master, fixes #4843. 2024-09-22 05:44:25 +02:00
OBattler
1c03839965 IDE: Restore RAM disk timings to how they were before the timings support was are (non-RAM disk timings are not affected), allows OS/2 Warp 3 to successfully install. 2024-09-21 12:00:05 +02:00
technomancer
5bfbc8352d Add new machine GRiD GRiDcase 1520
AT/286 based early (1988) laptop with indestructible magnesium case.

Also add emulation of 3 specific Conner HDDs as required by stock 1520 BIOS.
It only works with these particular drives and requires them to be somewhat
slow or reads will hang. The alternative is to use RomBuster to patch your
BIOS.

The machine had 3 display options (640x480 plasma or 2 different LCDs).
For now we need to use stock CGA with mono amber monitor to get some of
the plasma feel. Next step is to add Yamaha V6366 video card support.
2024-09-17 20:14:18 -07:00
OBattler
72ff4501f7 IDE: Hard disks now have a valid default configuration, per ATA-2 and later. 2024-05-09 18:02:27 +02:00
OBattler
56f7030c98 IDE clean-ups. 2024-05-03 00:23:08 +02:00
OBattler
9947af00d4 Fixed the FORMAT command on almost every emulated hard disk controller. 2024-04-18 03:47:49 +02: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
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
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
Jasmine Iwanek
61f83f2a3d Better variable name in hdc_ide 2023-12-15 16:21:28 -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
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