not using these (nw)

This commit is contained in:
DavidHaywood 2019-03-25 20:42:37 +00:00
parent f4457050e7
commit 32661fd728
2 changed files with 0 additions and 21 deletions

View File

@ -33,9 +33,6 @@ spg110_device::spg110_device(const machine_config &mconfig, device_type type, co
, m_portb_in(*this)
, m_portc_in(*this)
, m_adc_in{{*this}, {*this}}
, m_eeprom_w(*this)
, m_eeprom_r(*this)
, m_uart_tx(*this)
, m_chip_sel(*this)
{
}
@ -233,9 +230,6 @@ void spg110_device::configure_spg_io(spg2xx_io_device* io)
io->portc_out().set(FUNC(spg110_device::portc_w));
io->adc_in<0>().set(FUNC(spg110_device::adc_r<0>));
io->adc_in<1>().set(FUNC(spg110_device::adc_r<1>));
io->eeprom_w().set(FUNC(spg110_device::eepromx_w));
io->eeprom_r().set(FUNC(spg110_device::eepromx_r));
io->uart_tx().set(FUNC(spg110_device::tx_w));
io->chip_select().set(FUNC(spg110_device::cs_w));
// io->pal_read_callback().set(FUNC(spg110_device::get_pal_r));
// io->write_timer_irq_callback().set(FUNC(spg110_device::timerirq_w));

View File

@ -43,11 +43,6 @@ public:
template <size_t Line> auto adc_in() { return m_adc_in[Line].bind(); }
auto eeprom_w() { return m_eeprom_w.bind(); }
auto eeprom_r() { return m_eeprom_r.bind(); }
auto uart_tx() { return m_uart_tx.bind(); }
auto chip_select() { return m_chip_sel.bind(); }
protected:
@ -205,11 +200,6 @@ private:
devcb_read16 m_adc_in[2];
devcb_write8 m_eeprom_w;
devcb_read8 m_eeprom_r;
devcb_write8 m_uart_tx;
devcb_write8 m_chip_sel;
DECLARE_READ16_MEMBER(porta_r) { return m_porta_in(); };
@ -219,11 +209,6 @@ private:
DECLARE_WRITE16_MEMBER(portb_w) { m_portb_out(offset, data, mem_mask); };
DECLARE_WRITE16_MEMBER(portc_w) { m_portc_out(offset, data, mem_mask); };
template <size_t Line> DECLARE_READ16_MEMBER(adc_r) { return m_adc_in[Line](); };
DECLARE_WRITE8_MEMBER(eepromx_w) { m_eeprom_w(offset, data, mem_mask); };
DECLARE_READ8_MEMBER(eepromx_r) { return m_eeprom_r(); };
DECLARE_WRITE8_MEMBER(tx_w) { m_uart_tx(offset, data, mem_mask); };
DECLARE_WRITE8_MEMBER(cs_w) { m_chip_sel(offset, data, mem_mask); };
DECLARE_READ16_MEMBER(get_pal_r) { return 0; /*m_pal_flag;*/ };
void configure_spg_io(spg2xx_io_device* io);