diff options
Diffstat (limited to 'src/mess/drivers/tsispch.c')
-rw-r--r-- | src/mess/drivers/tsispch.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mess/drivers/tsispch.c b/src/mess/drivers/tsispch.c index 5dd23b3a16c..4a4e9918be0 100644 --- a/src/mess/drivers/tsispch.c +++ b/src/mess/drivers/tsispch.c @@ -207,10 +207,9 @@ WRITE8_MEMBER( tsispch_state::peripheral_w ) and (probably) the p0-to-ir0 masking of the upd77p20; there are two unknown and seemingly unused bits as well. see the top of the file for more info. - */ - tsispch_state *state = machine().driver_data<tsispch_state>(); - state->m_paramReg = data; - machine().device("dsp")->execute().set_input_line(INPUT_LINE_RESET, BIT(data,6)?CLEAR_LINE:ASSERT_LINE); + */ + m_paramReg = data; + m_dsp->set_input_line(INPUT_LINE_RESET, BIT(data,6)?CLEAR_LINE:ASSERT_LINE); #ifdef DEBUG_PARAM //fprintf(stderr,"8086: Parameter Reg written: UNK7: %d, DSPRST6: %d; UNK5: %d; LED4: %d; LED3: %d; LED2: %d; LED1: %d; DSPIRQMASK: %d\n", BIT(data,7), BIT(data,6), BIT(data,5), BIT(data,4), BIT(data,3), BIT(data,2), BIT(data,1), BIT(data,0)); logerror("8086: Parameter Reg written: UNK7: %d, DSPRST6: %d; UNK5: %d; LED4: %d; LED3: %d; LED2: %d; LED1: %d; DSPIRQMASK: %d\n", BIT(data,7), BIT(data,6), BIT(data,5), BIT(data,4), BIT(data,3), BIT(data,2), BIT(data,1), BIT(data,0)); @@ -320,7 +319,7 @@ DRIVER_INIT_MEMBER(tsispch_state,prose2k) dspprg++; } m_paramReg = 0x00; // on power up, all leds on, reset to upd7720 is high - machine().device("dsp")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE); // starts in reset + m_dsp->set_input_line(INPUT_LINE_RESET, ASSERT_LINE); // starts in reset } /****************************************************************************** |