mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
wtl3132: expose register state (nw)
This commit is contained in:
parent
40de5e0551
commit
316e939078
@ -37,6 +37,17 @@ public:
|
||||
static std::string abin(u64 const code);
|
||||
static std::string adst(u64 const code);
|
||||
|
||||
void state_add(device_state_interface &parent, unsigned base = 0)
|
||||
{
|
||||
parent.state_add(base + 0, "MODE", m_mode).formatstr("%04X");
|
||||
parent.state_add(base + 1, "T1", m_t1.v).formatstr("%08X");
|
||||
parent.state_add(base + 2, "T2", m_t2.v).formatstr("%08X");
|
||||
parent.state_add(base + 3, "T3", m_t3.v).formatstr("%08X");
|
||||
|
||||
for (unsigned i = 0; i < 32; i++)
|
||||
parent.state_add(base + i + 4, util::string_format("F%d", i).c_str(), m_f[i].v).formatstr("%08X");
|
||||
}
|
||||
|
||||
enum code_mask : u64
|
||||
{
|
||||
// opcode is 34 bits wide
|
||||
|
Loading…
Reference in New Issue
Block a user