mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
55 lines
1.3 KiB
C++
55 lines
1.3 KiB
C++
/**********************************************************************
|
|
|
|
Morrow Designs Disk Jockey/DMA floppy controller board emulation
|
|
|
|
Copyright MESS Team.
|
|
Visit http://mamedev.org for licensing and usage restrictions.
|
|
|
|
**********************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#ifndef __S100_DJDMA__
|
|
#define __S100_DJDMA__
|
|
|
|
|
|
#include "emu.h"
|
|
#include "cpu/z80/z80.h"
|
|
#include "machine/s100.h"
|
|
|
|
|
|
|
|
//**************************************************************************
|
|
// TYPE DEFINITIONS
|
|
//**************************************************************************
|
|
|
|
// ======================> s100_djdma_device
|
|
|
|
class s100_djdma_device : public device_t,
|
|
public device_s100_card_interface
|
|
{
|
|
public:
|
|
// construction/destruction
|
|
s100_djdma_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 const rom_entry *device_rom_region() const;
|
|
|
|
protected:
|
|
// device-level overrides
|
|
virtual void device_start();
|
|
virtual void device_reset();
|
|
virtual void device_config_complete() { m_shortname = "djdma"; }
|
|
|
|
private:
|
|
// internal state
|
|
};
|
|
|
|
|
|
// device type definition
|
|
extern const device_type S100_DJDMA;
|
|
|
|
|
|
#endif
|