diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-09-30 17:21:14 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-09-30 17:21:14 +0200 |
commit | 1fc48ce120a376c288daeeed98daccecf1b60d7b (patch) | |
tree | 72cefcede17f3a27fa8256b43bfac9756db82312 /src/mess/includes/dragon.h | |
parent | 87a576c55501bd7125b51ca786a010229669df0e (diff) |
move mess into mame (nw)
Diffstat (limited to 'src/mess/includes/dragon.h')
-rw-r--r-- | src/mess/includes/dragon.h | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/src/mess/includes/dragon.h b/src/mess/includes/dragon.h deleted file mode 100644 index 7006d37e68d..00000000000 --- a/src/mess/includes/dragon.h +++ /dev/null @@ -1,72 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Nathan Woods -/*************************************************************************** - - dragon.h - - Dragon Family - -***************************************************************************/ - -#pragma once - -#ifndef __DRAGON__ -#define __DRAGON__ - - -#include "includes/coco12.h" -#include "imagedev/printer.h" -#include "machine/mos6551.h" - - - -//************************************************************************** -// MACROS / CONSTANTS -//************************************************************************** - -#define PRINTER_TAG "printer" -#define ACIA_TAG "acia" - - - -//************************************************************************** -// TYPE DEFINITIONS -//************************************************************************** - -class dragon_state : public coco12_state -{ -public: - dragon_state(const machine_config &mconfig, device_type type, const char *tag) - : coco12_state(mconfig, type, tag), - m_printer(*this, PRINTER_TAG) - { - } - - required_device<printer_image_device> m_printer; - -protected: - virtual void pia1_pa_changed(UINT8 data); -}; - - -/* dragon64 has an ACIA chip */ -class dragon64_state : public dragon_state -{ -public: - dragon64_state(const machine_config &mconfig, device_type type, const char *tag) - : dragon_state(mconfig, type, tag), - m_acia(*this, ACIA_TAG) - { - } - - required_device<mos6551_device> m_acia; - -protected: - virtual DECLARE_READ8_MEMBER( ff00_read ); - virtual DECLARE_WRITE8_MEMBER( ff00_write ); - - virtual void pia1_pb_changed(UINT8 data); - void page_rom(bool romswitch); -}; - -#endif /* __DRAGON__ */ |