Just some logging improvement

This commit is contained in:
Michael Zapf 2015-08-23 17:16:37 +02:00
parent 6a461218bd
commit 857d055ffc
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}