summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/fidelz80.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/includes/fidelz80.h')
-rw-r--r--src/mess/includes/fidelz80.h79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/mess/includes/fidelz80.h b/src/mess/includes/fidelz80.h
deleted file mode 100644
index 64f47809e4c..00000000000
--- a/src/mess/includes/fidelz80.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Kevin Horton,Jonathan Gevaryahu,Sandro Ronco
-/***************************************************************************
-
- fidelz80.h
-
-****************************************************************************/
-
-#pragma once
-
-#ifndef _FIDELZ80_H_
-#define _FIDELZ80_H_
-
-#include "sound/beep.h"
-#include "sound/s14001a.h"
-
-class fidelz80_state : public driver_device
-{
-public:
- fidelz80_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_speech(*this, "speech"),
- m_beep(*this, "beeper"),
- m_i8041(*this, "mcu"),
- m_i8243(*this, "i8243")
- { }
-
- required_device<cpu_device> m_maincpu;
- optional_device<s14001a_device> m_speech;
- optional_device<beep_device> m_beep;
- optional_device<i8041_device> m_i8041;
- optional_device<i8243_device> m_i8243;
-
- UINT16 m_kp_matrix; // keypad/leds matrix
- UINT8 m_led_data; // data for the two individual leds, in 0bxxxx12xx format
- UINT8 m_led_selected; // 5 bit selects for 7 seg leds and for common other leds, bits are (7seg leds are 0 1 2 3, common other leds are C) 0bxx3210xc
- UINT16 m_digit_data; // data for seg leds
- UINT8 m_digit_line_status[4]; // prevent overwrite of m_digit_data
-
- virtual void machine_reset();
-
- //model VCC/UVC
- void update_display();
- DECLARE_READ8_MEMBER( fidelz80_portc_r );
- DECLARE_WRITE8_MEMBER( fidelz80_portb_w );
- DECLARE_WRITE8_MEMBER( fidelz80_portc_w );
- DECLARE_WRITE8_MEMBER( cc10_porta_w );
- DECLARE_READ8_MEMBER( vcc_portb_r );
- DECLARE_WRITE8_MEMBER( vcc_porta_w );
-
- //model 7014 and VBC
- DECLARE_WRITE8_MEMBER(bridgec_speech_w );
- DECLARE_WRITE8_MEMBER(kp_matrix_w);
- DECLARE_READ8_MEMBER(unknown_r);
- DECLARE_READ8_MEMBER(unknown2_r);
- DECLARE_READ8_MEMBER(exp_i8243_p2_r);
- DECLARE_WRITE8_MEMBER(exp_i8243_p2_w);
- DECLARE_WRITE8_MEMBER(mcu_data_w);
- DECLARE_WRITE8_MEMBER(mcu_command_w);
- DECLARE_READ8_MEMBER(mcu_data_r);
- DECLARE_READ8_MEMBER(mcu_status_r);
- DECLARE_INPUT_CHANGED_MEMBER(bridgec_trigger_reset);
-
- //model VSC
- DECLARE_WRITE8_MEMBER(vsc_porta_w);
- DECLARE_WRITE8_MEMBER(vsc_portb_w);
- DECLARE_WRITE8_MEMBER(vsc_portc_w);
- DECLARE_READ8_MEMBER(vsc_pio_porta_r);
- DECLARE_READ8_MEMBER(vsc_pio_portb_r);
- DECLARE_WRITE8_MEMBER(vsc_pio_portb_w);
- DECLARE_INPUT_CHANGED_MEMBER(fidelz80_trigger_reset);
- TIMER_DEVICE_CALLBACK_MEMBER(nmi_timer);
-
- DECLARE_WRITE8_MEMBER(digit_w);
-};
-
-
-#endif // _FIDELZ80_H_