diff options
author | 2012-08-21 10:41:19 +0000 | |
---|---|---|
committer | 2012-08-21 10:41:19 +0000 | |
commit | 7285b359d259b2ae0fdf85096571c386ec8c991a (patch) | |
tree | a027aff57f1a255f9ec6cfd3b68cabe4b6683998 /src/mess/machine/isa_ide.h | |
parent | 67c425e90757876a6716b7867df30c0149912e74 (diff) |
Merge of MESS sources (no whatsnew)
Diffstat (limited to 'src/mess/machine/isa_ide.h')
-rw-r--r-- | src/mess/machine/isa_ide.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mess/machine/isa_ide.h b/src/mess/machine/isa_ide.h new file mode 100644 index 00000000000..5b269327739 --- /dev/null +++ b/src/mess/machine/isa_ide.h @@ -0,0 +1,42 @@ +#pragma once + +#ifndef __ISA_IDE_H__ +#define __ISA_IDE_H__ + +#include "emu.h" +#include "machine/isa.h" + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> isa16_ide_device + +class isa16_ide_device : + public device_t, + public device_isa16_card_interface +{ +public: + // construction/destruction + isa16_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + + // optional information overrides + virtual machine_config_constructor device_mconfig_additions() const; + virtual ioport_constructor device_input_ports() const; + + bool is_primary() { return m_is_primary; } +protected: + // device-level overrides + virtual void device_start(); + virtual void device_reset(); + virtual void device_config_complete() { m_shortname = "isa_ide"; } +private: + // internal state + bool m_is_primary; +}; + + +// device type definition +extern const device_type ISA16_IDE; + +#endif /* __ISA_IDE_H__ */ |