Commit Graph

166 Commits

Author SHA1 Message Date
OBattler
59822c6c0e Overhauled DMA bus master reads and writes and cleaned up the AMD PCnet code a bit (network queue implementation is pending). 2020-04-28 01:01:39 +02:00
OBattler
e6ccbd2406 Bumped maximum UDMA mode from 2 (ATA 33) to 4 (ATA 66) so it can be used where supported. 2020-04-25 22:37:07 +02:00
OBattler
8b8ba3d5a7 IDE sector and sector count now return 0xFF (noise) on an unassigned IDE device, fixed TC430HX hanging with empty IDE channels. 2020-04-23 15:11:32 +02:00
OBattler
600bb09f17 Added PS/2 Intel AMI keyboard controller type that always returns bit 6 of the input port as 1, fixes Intel Advanced/EV and Advanced/ZP SMM errors (with high-low beeps), and also IDE not found error behavior to fix IDE with some i686 BIOS'es. 2020-04-18 18:03:02 +02:00
OBattler
44d3eb42de Slightly changed the fixes. 2020-04-17 01:45:24 +02:00
OBattler
f69941a462 Also applied the fixes to the AT MFM/RLL and AT ESDI controllers. 2020-04-17 01:40:10 +02:00
OBattler
ef42bb7e58 Some slight PIIX and IDE fixes. 2020-04-17 01:38:42 +02:00
OBattler
275dd5a2f7 ACPI, SMM, and PIIX fixes, fixes quite a few boards, also fixed the Via Apollo series northbridge ID's, some CPU instructions on both 808x and 286+, and added SMM to 486's (Intel and AMD), WinChip and WinChip 2, and VIA Cyrix III, also removed the TC430HX and the Toshiba machine from the Dev branch. 2020-04-16 21:56:19 +02:00
OBattler
61f0ae7954 Better ACPI implementation (currently only on PIIX4/PIIX4E/SMSC southbridges), finished the SMSC southbridge (but the Atrend BIOS still hangs, need to figure out why), and fixed Tandy EEPROM saving. 2020-04-13 20:01:47 +02:00
David Hrdlička
9acb489a1d MSVC and Windows SDK compatibility 2020-04-04 12:45:47 +02:00
TC1995
254e43fb64 Added Magneto-Optical disk emulation, though the UI settings for it are to be done later. 2020-04-01 19:04:53 +02:00
OBattler
b8b198a56a Fixed SMM, overhauled the emulation of the VIA northbridges, and added the Via Apollo VP3. 2020-04-01 08:59:29 +02:00
David Hrdlička
a505894a10 Move all include files to src/include
- 86Box's own headers go to /86box
- munt's public interface goes to /mt32emu
- all slirp headers go to /slirp (might want to consider using only its public inteface)
- single file headers from other projects go in include root
2020-03-29 19:53:29 +02:00
OBattler
ab4ecb902e Fix ZIP drive identify itself as MMC drive when EVPD pages are sent (patch from claunia's fork of VARCem). 2020-03-29 06:42:26 +02:00
TC1995
dfb55bddfa Compile fix. 2020-03-25 01:39:29 +01:00
Daniel Gurney
0c509fd551 Remove version tree-wide 2020-03-25 00:46:02 +02:00
OBattler
937befa4e7 Fixed in IDE and 4x0 code. 2020-03-24 02:24:49 +01:00
OBattler
3502a68919 IDE hard disks no longer error when SPECIFY has not been initialized if used in LBA mode. 2020-03-24 02:02:40 +01:00
OBattler
103bdacfaa IDE changes and ported the IDE commit from PCem. 2020-03-23 09:00:44 +01:00
OBattler
6a111545a1 ZIP and (SCSI) CD-ROM code now round the maximum transfer size to the nearest sector size for disk access commands, fixes CD-ROM booting on later ASUS BIOS'es. 2020-03-22 23:12:02 +01:00
OBattler
490c04fcae Current WIP code. 2020-02-29 19:12:23 +01:00
David Hrdlička
a575bd7e8b fix more issues reported by coverity 2020-01-15 18:48:22 +01:00
Melissa Goad
94ba8ec38c Fix XTIDE ROM loading (#547) 2020-01-15 16:42:14 +01:00
OBattler
e44e60c660 Fixed the fourth batch of problems. 2020-01-15 05:24:33 +01:00
OBattler
932ad5595a Fixed the third batch of problems. 2020-01-15 04:58:28 +01:00
OBattler
af023ff5dd Fixed the second batch of problems 2020-01-15 03:48:33 +01:00
OBattler
8749776144 Fixed the first batch of problems. 2020-01-15 03:04:59 +01:00
OBattler
a2867e6978 Added fall-through comments to several fall-throughs. 2020-01-15 02:43:25 +01:00
OBattler
1464c0631b Fixed potential NULL pointer dereferences in the CD-ROM and Iomega ZIP codes. 2020-01-15 02:18:28 +01:00
OBattler
7d551af78b Fixed a bug in the IDE code. 2020-01-15 00:52:14 +01:00
OBattler
2b94cd2b96 Fixed potential SCSI ID overruns in the SCSI hard diks, CD-ROM, and Iomega ZIP codes. 2020-01-15 00:49:42 +01:00
OBattler
34bf074e8d Fixed a resource leak in the VHD part of the hard disk image code. 2020-01-15 00:45:15 +01:00
OBattler
2058c12e03 Removed a useless if block from the XTA code. 2020-01-15 00:19:47 +01:00
OBattler
11097eb621 Added a sanity check to the XT ST-506 code. 2020-01-15 00:17:46 +01:00
OBattler
84659f6b01 Fixed a resource leak in the hard disk image code. 2020-01-14 23:08:13 +01:00
OBattler
a2f8162500 Removed a useless if block from the XTA code. 2020-01-14 23:05:10 +01:00
OBattler
a502e44f17 Added a sanity check to the Iomega ZIP code. 2020-01-14 21:05:15 +01:00
OBattler
1a770142bd And another one. 2020-01-14 21:00:45 +01:00
OBattler
f45419d796 Added another sanity fatal() to the hard disk image code. 2020-01-14 20:59:54 +01:00
OBattler
19345158a6 Added a sanity fatal() to the hard disk image code. 2020-01-14 20:55:13 +01:00
OBattler
f04983f1dd Added some sanity check to the CD-ROM bus speed code. 2020-01-14 20:08:23 +01:00
OBattler
c3a440e19b Fixed a hard-coding of the hard disk bus speed that should not have been there. 2020-01-14 19:44:10 +01:00
OBattler
c7cfc06285 Added a NULL pointer check to zip_bus_speed(). 2020-01-14 19:18:18 +01:00
OBattler
d9461a3fce Moved PCI IDE Bus Master slot, etc. initialization from reset() to init(), should fix them being reset to invalid values on the VIA chipset. 2020-01-14 03:00:35 +01:00
OBattler
da82e6a5eb Finished the VIA machine. 2020-01-14 02:14:39 +01:00
OBattler
e4408bc84d Fixed CD-ROM timings on the NCR 53x8xx SCSI controllers, the IDE_TIME, CDROM_TIME, and ZIP_TIME values, and the delay added to the CD-ROM READ SUBCHANNEL command, fixes slowdowns on several games that use CD Audio, such as Tomb Raider II. 2019-11-19 04:35:54 +01:00
OBattler
9c8c9361a6 IDE now updates IRQ when needed. 2019-11-06 05:15:17 +01:00
OBattler
3b209c3015 Reimplemented IDE reset and DRIVE DIAGNOSTICS command in accordance with the ATA-3 specification and changed their callback timings, fixes IDE on the SPC-4200P. 2019-11-06 05:04:44 +01:00
OBattler
b6ae1098d7 Fixed IDE status readout on an absent device 1 with a present device 0, fixes hangs with AMI BIOS'es on hard disk detection in such cases. 2019-11-01 20:47:52 +01:00
OBattler
8b7ab32416 Deleted leftovers of the old implementation of the WIN_DRIVE_DIAGNOSTICS IDE command. 2019-11-01 03:45:54 +01:00