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/coco3.h | |
parent | 87a576c55501bd7125b51ca786a010229669df0e (diff) |
move mess into mame (nw)
Diffstat (limited to 'src/mess/includes/coco3.h')
-rw-r--r-- | src/mess/includes/coco3.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/mess/includes/coco3.h b/src/mess/includes/coco3.h deleted file mode 100644 index 8ac863fa6b3..00000000000 --- a/src/mess/includes/coco3.h +++ /dev/null @@ -1,67 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Nathan Woods -/*************************************************************************** - - coco3.h - - TRS-80 Radio Shack Color Computer 1/2 Family - -***************************************************************************/ - -#pragma once - -#ifndef __COCO3__ -#define __COCO3__ - - -#include "includes/coco.h" -#include "video/gime.h" - - - -//************************************************************************** -// MACROS / CONSTANTS -//************************************************************************** - -#define GIME_TAG "gime" -#define VDG_TAG "vdg" -#define COMPOSITE_SCREEN_TAG "composite" -#define RGB_SCREEN_TAG "rgb" - - - -//************************************************************************** -// TYPE DEFINITIONS -//************************************************************************** - -class coco3_state : public coco_state -{ -public: - coco3_state(const machine_config &mconfig, device_type type, const char *tag) - : coco_state(mconfig, type, tag), - m_gime(*this, GIME_TAG) { } - - required_device<gime_base_device> m_gime; - - virtual DECLARE_WRITE8_MEMBER( ff20_write ); - virtual DECLARE_READ8_MEMBER( ff40_read ); - virtual DECLARE_WRITE8_MEMBER( ff40_write ); - - DECLARE_WRITE_LINE_MEMBER(gime_firq_w) { recalculate_firq(); } - DECLARE_WRITE_LINE_MEMBER(gime_irq_w) { recalculate_irq(); } - - UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); - -protected: - virtual void update_cart_base(UINT8 *cart_base); - - /* interrupts */ - virtual bool firq_get_line(void); - virtual bool irq_get_line(void); - - /* miscellaneous */ - virtual void update_keyboard_input(UINT8 value, UINT8 z); - virtual void cart_w(bool line); -}; - -#endif // __COCO3__ |