mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
removed unnecessary callimport() on A2_TASK, removed unnecessary formatstr() on CURPC & merged A2_MPC with STATE_GENPC (nw)
This commit is contained in:
parent
f5c99a8089
commit
aa2adc489c
@ -885,7 +885,7 @@ void alto2_cpu_device::device_start()
|
||||
|
||||
hard_reset();
|
||||
|
||||
state_add( A2_TASK, "TASK", m_task).callimport().formatstr("%6s");
|
||||
state_add( A2_TASK, "TASK", m_task).formatstr("%6s");
|
||||
state_add( A2_MPC, "MPC", m_mpc).formatstr("%06O");
|
||||
state_add( A2_NEXT, "NEXT", m_next).formatstr("%06O");
|
||||
state_add( A2_NEXT2, "NEXT2", m_next2).formatstr("%06O");
|
||||
@ -989,9 +989,8 @@ void alto2_cpu_device::device_start()
|
||||
state_add( A2_OKTORUN, "OKTORUN", m_dsk.ok_to_run).formatstr("%1u");
|
||||
state_add( A2_READY, "READY", m_dsk.kstat).formatstr("%1u");
|
||||
|
||||
state_add(STATE_GENPC, "GENPC", m_mpc).formatstr("%03X").noshow();
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_mpc).formatstr("%03X").noshow();
|
||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_aluc0).formatstr("%5s").noshow();
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_mpc).noshow();
|
||||
state_add(STATE_GENFLAGS, "CURFLAGS", m_aluc0).formatstr("%5s").noshow();
|
||||
|
||||
m_icountptr = &m_icount;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
enum {
|
||||
// micro code task, micro program counter, next and next2
|
||||
A2_TASK, A2_MPC, A2_NEXT, A2_NEXT2,
|
||||
A2_MPC = STATE_GENPC, A2_TASK = 0, A2_NEXT, A2_NEXT2,
|
||||
// BUS, ALU, temp, latch, memory latch and carry flags
|
||||
A2_BUS, A2_T, A2_ALU, A2_ALUC0, A2_L, A2_SHIFTER, A2_LALUC0, A2_M,
|
||||
A2_R, // 32 R registers
|
||||
|
Loading…
Reference in New Issue
Block a user