summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/hd63450.h
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2014-03-18 11:46:44 +0000
committer Curt Coder <curtcoder@mail.com>2014-03-18 11:46:44 +0000
commitf65e037141714318cfd32ecf988a7993f6cd9b3f (patch)
tree4c9a58e4b763733d3e2e80a409da026626978cc7 /src/mess/machine/hd63450.h
parent15b2c80c62e9eddad3a6322fdef9c22039ce1eaa (diff)
(MESS) Moved common machine and video chips to emu. (nw)
Diffstat (limited to 'src/mess/machine/hd63450.h')
-rw-r--r--src/mess/machine/hd63450.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/mess/machine/hd63450.h b/src/mess/machine/hd63450.h
deleted file mode 100644
index e732608ec9e..00000000000
--- a/src/mess/machine/hd63450.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- Hitachi HD63450 DMA Controller
-*/
-
-#include "emu.h"
-
-struct hd63450_intf
-{
- const char *cpu_tag;
- attotime clock[4];
- attotime burst_clock[4];
- void (*dma_end)(running_machine &machine,int channel,int irq); // called when the DMA transfer ends
- void (*dma_error)(running_machine &machine,int channel, int irq); // called when a DMA transfer error occurs
- int (*dma_read[4])(running_machine &machine,int addr); // special read / write handlers for each channel
- void (*dma_write[4])(running_machine &machine,int addr,int data);
-};
-
-int hd63450_read(device_t* device, int offset, UINT16 mem_mask);
-void hd63450_write(device_t* device,int offset, int data, UINT16 mem_mask);
-void hd63450_single_transfer(device_t* device, int x);
-void hd63450_set_timer(device_t* device, int channel, attotime tm);
-
-int hd63450_get_vector(device_t* device, int channel);
-int hd63450_get_error_vector(device_t* device, int channel);
-
-class hd63450_device : public device_t
-{
-public:
- hd63450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- ~hd63450_device();
-
- // access to legacy token
- struct hd63450_t *token() const { assert(m_token != NULL); return m_token; }
-protected:
- // device-level overrides
- virtual void device_config_complete();
- virtual void device_start();
-private:
- // internal state
- struct hd63450_t *m_token;
-};
-
-extern const device_type HD63450;
-
-
-#define MCFG_HD63450_ADD(_tag, _config) \
- MCFG_DEVICE_ADD(_tag, HD63450, 0) \
- MCFG_DEVICE_CONFIG(_config)
-
-DECLARE_READ16_DEVICE_HANDLER( hd63450_r );
-DECLARE_WRITE16_DEVICE_HANDLER( hd63450_w );