mirror of
https://github.com/holub/mame
synced 2025-04-28 19:14:55 +03:00
s14001a: level triggered 1-bit handler does not make sense,
sg1000a: small note update
This commit is contained in:
parent
617d79b2a1
commit
692d1f7069
@ -333,9 +333,9 @@ void s14001a_device::data_w(u8 data)
|
|||||||
void s14001a_device::start_w(int state)
|
void s14001a_device::start_w(int state)
|
||||||
{
|
{
|
||||||
m_stream->update();
|
m_stream->update();
|
||||||
m_bStart = (state != 0);
|
if (state && !m_bStart)
|
||||||
if (m_bStart)
|
|
||||||
m_uStateP1 = states::WORDWAIT;
|
m_uStateP1 = states::WORDWAIT;
|
||||||
|
m_bStart = (state != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void s14001a_device::set_clock(u32 clock)
|
void s14001a_device::set_clock(u32 clock)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
// license:BSD-3-Clause
|
// license:BSD-3-Clause
|
||||||
// copyright-holders:Tomasz Slanina
|
// copyright-holders:Tomasz Slanina
|
||||||
/*********************************************************
|
/*********************************************************
|
||||||
Sega hardware based on their SG-1000 console
|
|
||||||
Driver by Tomasz Slanina
|
|
||||||
|
|
||||||
|
Sega arcade hardware based on their SG-1000 console
|
||||||
|
Driver by Tomasz Slanina
|
||||||
|
|
||||||
Supported games :
|
Supported games :
|
||||||
- Champion Boxing
|
- Champion Boxing
|
||||||
@ -285,10 +285,11 @@ namespace {
|
|||||||
class sg1000a_state : public driver_device
|
class sg1000a_state : public driver_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
sg1000a_state(const machine_config &mconfig, device_type type, const char *tag)
|
sg1000a_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||||
: driver_device(mconfig, type, tag),
|
driver_device(mconfig, type, tag),
|
||||||
m_maincpu(*this, "maincpu"),
|
m_maincpu(*this, "maincpu"),
|
||||||
m_decrypted_opcodes(*this, "decrypted_opcodes") { }
|
m_decrypted_opcodes(*this, "decrypted_opcodes")
|
||||||
|
{ }
|
||||||
|
|
||||||
void sderbys(machine_config &config);
|
void sderbys(machine_config &config);
|
||||||
void sderby2s(machine_config &config);
|
void sderby2s(machine_config &config);
|
||||||
@ -521,6 +522,7 @@ void sg1000a_state::sderbys(machine_config &config)
|
|||||||
sderby2s(config);
|
sderby2s(config);
|
||||||
m_maincpu->set_addrmap(AS_OPCODES, &sg1000a_state::decrypted_opcodes_map);
|
m_maincpu->set_addrmap(AS_OPCODES, &sg1000a_state::decrypted_opcodes_map);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************
|
/*************************************
|
||||||
*
|
*
|
||||||
* ROM definitions
|
* ROM definitions
|
||||||
|
Loading…
Reference in New Issue
Block a user