tms9901: Add output state accessor; undo some search-and-replace corruption (nw)
This commit is contained in:
parent
6043fdfb48
commit
5be1f787fd
@ -12,7 +12,7 @@
|
||||
CE*| 5 36| S1
|
||||
INT6*| 6 35| S2
|
||||
INT5*| 7 34| INT7* / P15
|
||||
INT4*| 8 33| int8_t* / P14
|
||||
INT4*| 8 33| INT8* / P14
|
||||
INT3*| 9 32| INT9* / P13
|
||||
Phi*|10 31| INT10* / P12
|
||||
INTREQ*|11 30| INT11* / P11
|
||||
@ -311,7 +311,7 @@ READ8_MEMBER( tms9901_device::read )
|
||||
answer &= ~(m_pio_direction_mirror >> 8);
|
||||
answer |= (m_pio_output_mirror & m_pio_direction_mirror) >> 8;
|
||||
}
|
||||
LOGPINS("input on lines INT15..int8_t = %02x\n", answer);
|
||||
LOGPINS("input on lines INT15..INT8 = %02x\n", answer);
|
||||
break;
|
||||
case 2:
|
||||
/* exit timer mode */
|
||||
|
@ -67,6 +67,8 @@ public:
|
||||
auto read_cb() { return m_read_block.bind(); }
|
||||
auto intlevel_cb() { return m_interrupt.bind(); }
|
||||
|
||||
uint16_t pio_outputs() const { return m_pio_output | ~m_pio_direction; }
|
||||
|
||||
private:
|
||||
static constexpr device_timer_id DECREMENTER = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user