summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/idectrl.c
Commit message (Collapse)AuthorAgeFilesLines
* Added support for 8 bit data transfers using the set features command, ↵ smf-2014-01-211-2/+2
| | | | instead of using mem_mask as ATA doesn't work that way. [smf]
* asserted copyright (nw) smf-2013-11-021-0/+2
|
* added IDE_CONTROLLER_32 for systems that have 32 bit prefetch (nw) smf-2013-06-231-66/+144
|
* changed rest of devices (except cpu cores) to have shortname and sourcefile (nw) Miodrag Milanovic2013-06-211-4/+4
|
* Added vt83c461, which is currently implemented as a 32 bit chip. This allows ↵ smf-2013-06-191-87/+2
| | | | hooking up to the jaguar driver without any glue, but primal rage 2 does as the io bus it's connected to is only 16 bit. (nw)
* Added ata_interface_device, ide_controller_device is now only for pc ↵ smf-2013-06-191-280/+39
| | | | register mapping. Renamed ide_mass_storage_device to ata_mass_storage_device. Changed ide_hdd_device so it only picks up it's image from the harddisk_image_device, which does a lookup to see if there is a region itself. (nw)
* Changed "features" to "identify device". Don't set DRDY immediately when ↵ smf-2013-06-161-2/+2
| | | | executing identify device as a timer is fired that will set it and trigger an interrupt anyway. Diagnostics fail if no identify device response is available. Set correct register contents at reset. Added edge detection to reset. Clear irq as soon as reset is triggered. Don't clear DRDY when resetting. Only call update_irq if something changed. Removed some places that were setting sector count. Added some #defines for masking bit fields. (nw)
* Fixed ct486 booting with two chd's loaded. Moved the GNET protection command ↵ smf-2013-06-151-1/+1
| | | | processing to ataflash.c (nw)
* simplified status flags & fixed ct486 booting in mess (nw) smf-2013-06-151-1/+1
|
* Renamed some #defines to match up closer to the ATA specification. Added ↵ smf-2013-06-141-1/+16
| | | | validation to register access, switching Primal Rage 2 away from using the DMA interface in it's DMA handler as the game only executes normal read commands (nw)
* simplified ide_device_interface part 2 (nw) smf-2013-06-131-2/+2
|
* ata flash device derives from ide hdd device and adds pccard interface, ↵ smf-2013-06-131-5/+0
| | | | instead of using an ide controller. [smf]
* Split hard drive emulation from the ide controller. [smf] smf-2013-06-131-1075/+118
|
* moved the reset timer across (nw) smf-2013-06-131-8/+1
|
* moved the status timer across (nw) smf-2013-06-131-5/+4
|
* moved the status and command across (nw) smf-2013-06-131-86/+78
|
* error register moved across (nw) smf-2013-06-131-24/+17
|
* area 51 site 4 doesn't like the same value as fishing frenzy, maybe there is ↵ smf-2013-06-131-19/+23
| | | | a difference between the value you get for no drives at all and no current drive (nw)
* Allow more than one ide controller on the same device [smf] smf-2013-06-121-2/+5
|
* fishing frenzy has no hard drive at all and prefers this value. (nw) smf-2013-06-121-3/+3
|
* fixed crash if no disk (nw) smf-2013-06-121-7/+3
|
* a couple more over the fence (nw) smf-2013-06-121-24/+22
|
* moved a couple more variables (nw) smf-2013-06-121-23/+18
|
* either I misunderstand the spec or the code but judge dredd doesn't like ↵ smf-2013-06-121-2/+2
| | | | this change (nw)
* moved block_count to the device, renamed some ide commands to make them ↵ smf-2013-06-121-27/+24
| | | | closer to the spec & also use the block count for triggering the first irq on read/write multiple (nw)
* moved password fields off the ide controller (nw) smf-2013-06-121-35/+20
|
* moved more state from idectrl.h (nw) smf-2013-06-121-45/+40
|
* moved the buffer from the ide controller to the device (nw) smf-2013-06-111-37/+42
|
* If there is no drive selected then there is nothing to read from, although ↵ smf-2013-06-111-8/+7
| | | | I'm not sure what value you'd expect to receive. (nw)
* Cleanups and version bumpmame0149 Miodrag Milanovic2013-06-111-7/+7
|
* converted to device_timer() (nw) smf-2013-06-101-58/+50
|
* Decoupled the IDE bus master emulation from the hard drive emulation [smf] smf-2013-06-101-366/+316
|
* Started to separate the bus master dma from the drive emulation (nw) smf-2013-06-091-70/+115
|
* created a new device for the bus master ide controller, but the ↵ smf-2013-06-091-119/+109
| | | | implementation is still in the ide controller. (nw)
* First pass at tidying up ide interface. It no longer tries to force ↵ smf-2013-06-081-237/+206
| | | | everything to act as a PC. A copy of the VIA VT83C461 datasheet would be useful to remove some of the hacks added to make the games using it work again. [smf]
* moved handlers into the ide_controller_device (nw) smf-2013-06-061-43/+31
|
* moved where cur_drive is updated & changed pcmcia trampoline definition to ↵ smf-2013-06-051-3/+11
| | | | 16 bit. (nw)
* Merge the mame and mess ide hd device (nw) smf-2013-06-051-4/+0
|
* Started to split ide hd from ide controller [smf] smf-2013-06-051-415/+57
|
* changed i/o to 8/16 bit & removed the flash trampolines in the driver.(nw) smf-2013-05-161-9/+9
|
* Expanded device_t constructor with parameters for short name and source file ↵ Miodrag Milanovic2013-03-261-4/+4
| | | | location [Miodrag Milanovic]
* Chihiro.c [Samuele Zannoli] Scott Stone2013-03-041-0/+27
| | | | | * Implentation of nvidia register combiners. * Fix for ide_controller_device class for most uninitialized variables.
* idectrl: words 57/58 of IDENTIFY DEVICE are total sectors, not sectors per ↵ R. Belmont2013-02-201-6/+5
| | | | | | | | | | | | track [R. Belmont] As commented, this is the case for ATA-1, -2, -3, -4, and -5. The CFFA2 Apple II IDE card firmware relies on this value being as documented in the standards to properly detect the drive size, and none of the usual sensitive Atari/Midway games are broken by the change. (This field is unused in ATA-6 and later).
* idectrl.c: [Peter Ferrie] Scott Stone2013-02-061-1/+4
| | | | - Fix regression in Fishin' Frenzy without breaking Area 51 Site 4.
* output of new srcclean changes that are relatively small [smf] smf-2013-01-111-1/+0
|
* Cleanups and version bumpmame0148 Miodrag Milanovic2013-01-111-149/+148
|
* idectrl.c - fix phantom slave drive detection problem. [Peter Ferrie] Scott Stone2013-01-091-0/+4
|
* Revert of a portion of r20073: Scott Stone2013-01-051-21/+6
| | | | | | | | | idectrl.c [Peter Ferrie] - correct status flags for multi-sector reads - implement more correct controller reset values - fix phantom slave drive detection problem Causes problems noted with many MAME games such as Area 51: Site 4, Primal Rage 2, All Viper.c games among others that are either not starting or constantly RE-starting looking for proper IDE communications.
* 8042kbdc.c [Peter Ferrie] Scott Stone2013-01-051-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | - add support for keyboard enable command - add support for keyboard reset command idectrl.c [Peter Ferrie] - correct status flags for multi-sector reads - implement more correct controller reset values - fix phantom slave drive detection problem calchase.c [Peter Ferrie] - corrected memory map to 64kb blocks - corrected access to PAM register - removed execution hack queen.c [Peter Ferrie] - split BIOS region into 64kb blocks - implement missing PAM registers - remove unused PAM regions savquest.c [Peter Ferrie] - split BIOS region into 16kb blocks - implement missing PAM registers - correct slave_ack configuration member declaration
* cleaned up the ide controller enough to change the irq to a DEVCB2 [smf] smf-2012-10-261-653/+504
|