mirror of
https://github.com/holub/mame
synced 2025-06-18 18:28:57 +03:00
sshot: correct cpu type (nw)
This commit is contained in:
parent
5657907a86
commit
ae0e5c124f
@ -312,7 +312,7 @@ void scmp_device::execute_one(int opcode)
|
||||
m_AC = 0xff;
|
||||
break;
|
||||
// Others are illegal
|
||||
default : m_icount -= 1;
|
||||
default : m_icount -= 5;
|
||||
illegal (opcode);
|
||||
break;
|
||||
}
|
||||
@ -444,7 +444,7 @@ void scmp_device::execute_one(int opcode)
|
||||
m_icount -= 5;
|
||||
break;
|
||||
// Others are illegal
|
||||
default : m_icount -= 1;
|
||||
default : m_icount -= 5;
|
||||
illegal (opcode);
|
||||
break;
|
||||
}
|
||||
@ -455,6 +455,7 @@ void scmp_device::execute_one(int opcode)
|
||||
/***************************************************************************
|
||||
COMMON EXECUTION
|
||||
***************************************************************************/
|
||||
|
||||
void scmp_device::take_interrupt()
|
||||
{
|
||||
uint16_t tmp = ADD12(m_PC.w.l,-1); // We fix PC so at return it goes to current location
|
||||
|
@ -34,7 +34,7 @@ protected:
|
||||
|
||||
// device_execute_interface overrides
|
||||
virtual uint32_t execute_min_cycles() const noexcept override { return 5; }
|
||||
virtual uint32_t execute_max_cycles() const noexcept override { return 131593; }
|
||||
virtual uint32_t execute_max_cycles() const noexcept override { return 23+8; } // max opcode + interrupt
|
||||
virtual uint32_t execute_input_lines() const noexcept override { return 0; }
|
||||
virtual void execute_run() override;
|
||||
|
||||
|
@ -348,7 +348,7 @@ GFXDECODE_END
|
||||
void supershot_state::supershot(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
SCMP(config, m_maincpu, XTAL(11'289'000)/4);
|
||||
INS8060(config, m_maincpu, XTAL(11'289'000)/4);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &supershot_state::supershot_map);
|
||||
|
||||
/* video hardware */
|
||||
|
Loading…
Reference in New Issue
Block a user