diff options
author | 2012-11-26 16:01:51 +0000 | |
---|---|---|
committer | 2012-11-26 16:01:51 +0000 | |
commit | c3e6a4bc889cb03feb90709a7e5b3f908436c94f (patch) | |
tree | 8abc7b8424be676d31685b91d4782d131da28010 /src/mess/machine/sa1403d.h | |
parent | cbcc76b36ca448177e10dafabf68807a05bb5c98 (diff) |
(MESS) Added skeleton for Shugart SA1403D Winchester controller. (nw)
Diffstat (limited to 'src/mess/machine/sa1403d.h')
-rw-r--r-- | src/mess/machine/sa1403d.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/mess/machine/sa1403d.h b/src/mess/machine/sa1403d.h new file mode 100644 index 00000000000..286a3ef4fa4 --- /dev/null +++ b/src/mess/machine/sa1403d.h @@ -0,0 +1,42 @@ +/********************************************************************** + + Shugart SA1403D Winchester Disk Controller emulation + + Copyright MESS Team. + Visit http://mamedev.org for licensing and usage restrictions. + +**********************************************************************/ + +#pragma once + +#ifndef __SA1403D__ +#define __SA1403D__ + +#include "emu.h" +#include "imagedev/harddriv.h" +#include "machine/scsihd.h" + +class sa1403d_device : public scsihd_device +{ +public: + // construction/destruction + sa1403d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + + // optional information overrides + virtual const rom_entry *device_rom_region() const; + virtual machine_config_constructor device_mconfig_additions() const; + virtual ioport_constructor device_input_ports() const; + + virtual void ExecCommand( int *transferLength ); + virtual void WriteData( UINT8 *data, int dataLength ); + +protected: + // device-level overrides + virtual void device_config_complete() { m_shortname = "sa1403d"; } +}; + + +// device type definition +extern const device_type SA1403D; + +#endif |