From 1fc48ce120a376c288daeeed98daccecf1b60d7b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 30 Sep 2015 17:21:14 +0200 Subject: move mess into mame (nw) --- src/mess/includes/pc1251.h | 62 ---------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 src/mess/includes/pc1251.h (limited to 'src/mess/includes/pc1251.h') diff --git a/src/mess/includes/pc1251.h b/src/mess/includes/pc1251.h deleted file mode 100644 index d03a4524bf5..00000000000 --- a/src/mess/includes/pc1251.h +++ /dev/null @@ -1,62 +0,0 @@ -// license:GPL-2.0+ -// copyright-holders:Peter Trauner -/***************************************************************************** - * - * includes/pc1251.h - * - * Pocket Computer 1251 - * - ****************************************************************************/ - -#ifndef PC1251_H_ -#define PC1251_H_ - -#include "pocketc.h" -#include "cpu/sc61860/sc61860.h" -#include "machine/nvram.h" - -#define PC1251_CONTRAST (ioport("DSW0")->read() & 0x07) - - -class pc1251_state : public pocketc_state -{ -public: - enum - { - TIMER_POWER_UP - }; - - pc1251_state(const machine_config &mconfig, device_type type, const char *tag) - : pocketc_state(mconfig, type, tag), - m_maincpu(*this, "maincpu"), - m_gfxdecode(*this, "gfxdecode"), - m_palette(*this, "palette") { } - - UINT8 m_outa; - UINT8 m_outb; - int m_power; - UINT8 m_reg[0x100]; - - DECLARE_DRIVER_INIT(pc1251); - UINT32 screen_update_pc1251(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); - DECLARE_WRITE8_MEMBER(pc1251_outa); - DECLARE_WRITE8_MEMBER(pc1251_outb); - DECLARE_WRITE8_MEMBER(pc1251_outc); - - DECLARE_READ_LINE_MEMBER(pc1251_reset); - DECLARE_READ_LINE_MEMBER(pc1251_brk); - DECLARE_READ8_MEMBER(pc1251_ina); - DECLARE_READ8_MEMBER(pc1251_inb); - DECLARE_READ8_MEMBER(pc1251_lcd_read); - DECLARE_WRITE8_MEMBER(pc1251_lcd_write); - virtual void machine_start(); - DECLARE_MACHINE_START(pc1260); - required_device m_maincpu; - required_device m_gfxdecode; - required_device m_palette; - -protected: - virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr); -}; - -#endif /* PC1251_H_ */ -- cgit v1.2.3-70-g09d2