mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Just some logging improvement
This commit is contained in:
parent
6a461218bd
commit
857d055ffc
@ -1412,7 +1412,7 @@ void tms9995_device::decode(UINT16 inst)
|
||||
if (decoded == NULL)
|
||||
{
|
||||
// not found
|
||||
logerror("tms9995: Unknown opcode %04x, will trigger MID\n", inst);
|
||||
logerror("tms9995: Undefined opcode %04x at logical address %04x, will trigger MID\n", inst, PC);
|
||||
m_decoded[dindex].IR = 0;
|
||||
m_decoded[dindex].command = MID;
|
||||
}
|
||||
|
@ -251,6 +251,7 @@ READ8_MEMBER( at29x_device::read )
|
||||
m_programming_timer->adjust(attotime::from_msec(m_cycle_time*7/10));
|
||||
}
|
||||
|
||||
if (TRACE_READ) logerror("%s: DATA poll; toggle bit 1\n", tag());
|
||||
reply = m_toggle_bit? 0x02 : 0x00;
|
||||
m_toggle_bit = !m_toggle_bit;
|
||||
|
||||
@ -264,7 +265,7 @@ READ8_MEMBER( at29x_device::read )
|
||||
// Simple case: just read the memory contents
|
||||
reply = m_eememory[offset+2];
|
||||
|
||||
if (TRACE_READ) logerror("%s: %05x -> %02x\n", tag(), offset, reply);
|
||||
if (TRACE_READ) logerror("%s: %05x -> %02x (PGM=%d)\n", tag(), offset, reply, m_pgm);
|
||||
|
||||
return reply;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user