summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms1000/tms1k_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms1000/tms1k_base.h')
-rw-r--r--src/devices/cpu/tms1000/tms1k_base.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/cpu/tms1000/tms1k_base.h b/src/devices/cpu/tms1000/tms1k_base.h
index b4c8df9ed43..e535e9322c9 100644
--- a/src/devices/cpu/tms1000/tms1k_base.h
+++ b/src/devices/cpu/tms1000/tms1k_base.h
@@ -83,9 +83,12 @@ public:
auto write_pdc() { return m_write_pdc.bind(); }
// Use this if the output PLA is unknown:
- // If the microinstructions (or other) PLA is unknown, try using one from another romset.
void set_output_pla(const u16 *output_pla) { m_output_pla_table = output_pla; }
+ // If the microinstructions PLA is unknown, try using one from another romset.
+ // If that's not possible, use this callback:
+ auto set_decode_micro() { return m_decode_micro.bind(); }
+
u8 debug_peek_o_index() { return m_o_index; } // get output PLA index, for debugging (don't use in emulation)
protected:
@@ -266,6 +269,7 @@ protected:
devcb_read8 m_read_ctl;
devcb_write8 m_write_ctl;
devcb_write_line m_write_pdc;
+ devcb_read32 m_decode_micro;
u32 m_o_mask;
u32 m_r_mask;