diff options
Diffstat (limited to 'src/mess/machine/abc_dos.h')
-rw-r--r-- | src/mess/machine/abc_dos.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/mess/machine/abc_dos.h b/src/mess/machine/abc_dos.h new file mode 100644 index 00000000000..6ce0e4f7b11 --- /dev/null +++ b/src/mess/machine/abc_dos.h @@ -0,0 +1,53 @@ +/********************************************************************** + + Scandia Metric DOS floppy controller emulation + + Copyright MESS Team. + Visit http://mamedev.org for licensing and usage restrictions. + +*********************************************************************/ + +#pragma once + +#ifndef __ABC_DOS__ +#define __ABC_DOS__ + + +#include "emu.h" +#include "machine/abcbus.h" + + + +//************************************************************************** +// TYPE DEFINITIONS +//************************************************************************** + +// ======================> abc_dos_device + +class abc_dos_device : public device_t, + public device_abcbus_card_interface +{ +public: + // construction/destruction + abc_dos_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + + // optional information overrides + virtual const rom_entry *device_rom_region() const; + +protected: + // device-level overrides + virtual void device_start(); + virtual void device_config_complete() { m_shortname = "abc_dos"; } + + // device_abcbus_interface overrides + virtual void abcbus_cs(UINT8 data) { }; + virtual UINT8 abcbus_xmemfl(offs_t offset); +}; + + +// device type definition +extern const device_type ABC_DOS; + + + +#endif |