diff options
author | 2015-06-04 23:21:16 +0200 | |
---|---|---|
committer | 2015-06-04 23:21:16 +0200 | |
commit | cacb9bb1b5c45d4ec3bd885917fca04a298ba340 (patch) | |
tree | a1a717ed53db8d76ae369824284fe8fb05a8f1a9 /src/emu/cpu/hmcs40/hmcs40.h | |
parent | 3a9f5f622a4799d67410f620b4c7fbbde1422fd5 (diff) |
added HLT line (it's used by alpha denshi protection mcu)
Diffstat (limited to 'src/emu/cpu/hmcs40/hmcs40.h')
-rw-r--r-- | src/emu/cpu/hmcs40/hmcs40.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/emu/cpu/hmcs40/hmcs40.h b/src/emu/cpu/hmcs40/hmcs40.h index 9e722f595a6..8b912739541 100644 --- a/src/emu/cpu/hmcs40/hmcs40.h +++ b/src/emu/cpu/hmcs40/hmcs40.h @@ -26,7 +26,6 @@ #define MCFG_HMCS40_WRITE_D_CB(_devcb) \ hmcs40_cpu_device::set_write_d_callback(*device, DEVCB_##_devcb); - enum { HMCS40_PORT_R0X = 0, @@ -39,6 +38,13 @@ enum HMCS40_PORT_R7X }; +enum +{ + HMCS40_INPUT_LINE_INT0 = 0, + HMCS40_INPUT_LINE_INT1, + HMCS40_INPUT_LINE_HLT +}; + // pinout reference @@ -181,6 +187,8 @@ protected: UINT8 m_i; // 4-bit immediate opcode param int m_eint_line; // which input_line caused an interrupt emu_timer *m_timer; + int m_halt; // internal HLT state + attotime m_timer_halted_remain; int m_icount; UINT16 m_pc; // Program Counter |