summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/st2xxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/st2xxx.h')
-rw-r--r--src/devices/cpu/m6502/st2xxx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/st2xxx.h b/src/devices/cpu/m6502/st2xxx.h
index a895a95f24a..618d8e01d02 100644
--- a/src/devices/cpu/m6502/st2xxx.h
+++ b/src/devices/cpu/m6502/st2xxx.h
@@ -57,6 +57,8 @@ public:
ST_LFRA,
ST_LAC,
ST_LPWM,
+ ST_UCTR,
+ ST_USTR,
ST_BCTR,
ST_BRS,
ST_BDIV
@@ -103,6 +105,7 @@ protected:
virtual u8 st2xxx_lckr_mask() const = 0;
virtual u8 st2xxx_lpwm_mask() const = 0;
virtual unsigned st2xxx_lfr_clocks() const = 0;
+ virtual u8 st2xxx_uctr_mask() const = 0;
virtual u8 st2xxx_bctr_mask() const = 0;
class mi_st2xxx : public memory_interface {
@@ -212,6 +215,12 @@ protected:
void lac_w(u8 data);
u8 lpwm_r();
void lpwm_w(u8 data);
+
+ u8 uctr_r();
+ void uctr_w(u8 data);
+ u8 ustr_r();
+ void ustr_trg_w(u8 data);
+ void ustr_clr_w(u8 data);
u8 bctr_r();
void bctr_w(u8 data);
u8 brs_r();
@@ -270,6 +279,8 @@ protected:
u16 m_lcd_ireq;
emu_timer *m_lcd_timer;
+ u8 m_uctr;
+ u8 m_ustr;
u8 m_bctr;
u8 m_brs;
u8 m_bdiv;