diff options
author | 2020-01-09 09:11:47 -0500 | |
---|---|---|
committer | 2020-01-09 09:12:29 -0500 | |
commit | 962a05c2a1ab52c26c63eea9dd60042d8d41d7cb (patch) | |
tree | d5dab1631f674b432dd488269f22f21072676610 /src/devices/cpu/rx01/rx01.h | |
parent | c55bc974bead4e128a9ed44f0d6f6f1ee75cb5c1 (diff) |
rx01_cpu: Add the other flags, with a somewhat awkward display (nw)
Diffstat (limited to 'src/devices/cpu/rx01/rx01.h')
-rw-r--r-- | src/devices/cpu/rx01/rx01.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/devices/cpu/rx01/rx01.h b/src/devices/cpu/rx01/rx01.h index 83389077517..2c6e2714964 100644 --- a/src/devices/cpu/rx01/rx01.h +++ b/src/devices/cpu/rx01/rx01.h @@ -15,7 +15,20 @@ public: RX01_R0, RX01_R1, RX01_R2, RX01_R3, RX01_R4, RX01_R5, RX01_R6, RX01_R7, RX01_R8, RX01_R9, RX01_R10, RX01_R11, RX01_R12, RX01_R13, RX01_R14, RX01_R15, RX01_BAR, - RX01_CRC + RX01_CRC, + RX01_UNIT, RX01_LDHD + }; + + enum : u16 { + FF_IOB0 = 1 << 0, + FF_IOB1 = 1 << 1, + FF_IOB2 = 1 << 2, + FF_IOB3 = 1 << 3, + FF_IOB4 = 1 << 4, + FF_IOB5 = 1 << 5, + FF_IOB6 = 1 << 6, + FF_WRTBUF = 1 << 7, + FF_FLAG = 1 << 8 }; // device type constructor @@ -48,6 +61,7 @@ private: bool sep_data(); bool test_condition(); void shift_crc(bool data); + void set_flag(bool j, bool k); // address spaces address_space_config m_inst_config; @@ -67,7 +81,9 @@ private: u8 m_spar; u16 m_bar; u16 m_crc; - bool m_flag; + u16 m_flags; + bool m_unit; + bool m_load_head; s32 m_icount; }; |