summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fromanc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/fromanc2.h')
-rw-r--r--src/mame/includes/fromanc2.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h
index 6e4c1e3c69e..6d6b29bee27 100644
--- a/src/mame/includes/fromanc2.h
+++ b/src/mame/includes/fromanc2.h
@@ -3,6 +3,7 @@
#include "machine/gen_latch.h"
#include "machine/eepromser.h"
+#include "machine/ins8250.h"
class fromanc2_state : public driver_device
{
@@ -17,7 +18,8 @@ public:
m_lpalette(*this, "lpalette"),
m_rpalette(*this, "rpalette"),
m_soundlatch(*this, "soundlatch"),
- m_soundlatch2(*this, "soundlatch2") { }
+ m_soundlatch2(*this, "soundlatch2"),
+ m_uart(*this, "uart") { }
/* memory pointers */
std::unique_ptr<uint16_t[]> m_videoram[2][4];
@@ -48,6 +50,7 @@ public:
required_device<palette_device> m_rpalette;
required_device<generic_latch_8_device> m_soundlatch;
required_device<generic_latch_8_device> m_soundlatch2;
+ optional_device<ns16550_device> m_uart;
DECLARE_WRITE16_MEMBER(fromanc2_sndcmd_w);
DECLARE_WRITE16_MEMBER(fromanc2_portselect_w);
@@ -62,6 +65,7 @@ public:
DECLARE_WRITE8_MEMBER(fromanc2_subcpu_nmi_clr);
DECLARE_READ8_MEMBER(fromanc2_sndcpu_nmi_clr);
DECLARE_WRITE8_MEMBER(fromanc2_subcpu_rombank_w);
+ DECLARE_WRITE16_MEMBER(uart_w);
DECLARE_WRITE16_MEMBER(fromanc2_videoram_0_w);
DECLARE_WRITE16_MEMBER(fromanc2_videoram_1_w);
DECLARE_WRITE16_MEMBER(fromanc2_videoram_2_w);