s14001a: level triggered 1-bit handler does not make sense,

sg1000a: small note update
This commit is contained in:
hap 2024-08-24 19:09:13 +02:00
parent 617d79b2a1
commit 692d1f7069
2 changed files with 9 additions and 7 deletions

View File

@ -333,9 +333,9 @@ void s14001a_device::data_w(u8 data)
void s14001a_device::start_w(int state)
{
m_stream->update();
m_bStart = (state != 0);
if (m_bStart)
if (state && !m_bStart)
m_uStateP1 = states::WORDWAIT;
m_bStart = (state != 0);
}
void s14001a_device::set_clock(u32 clock)

View File

@ -1,9 +1,9 @@
// license:BSD-3-Clause
// 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 :
- Champion Boxing
@ -285,10 +285,11 @@ namespace {
class sg1000a_state : public driver_device
{
public:
sg1000a_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
sg1000a_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_decrypted_opcodes(*this, "decrypted_opcodes") { }
m_decrypted_opcodes(*this, "decrypted_opcodes")
{ }
void sderbys(machine_config &config);
void sderby2s(machine_config &config);
@ -521,6 +522,7 @@ void sg1000a_state::sderbys(machine_config &config)
sderby2s(config);
m_maincpu->set_addrmap(AS_OPCODES, &sg1000a_state::decrypted_opcodes_map);
}
/*************************************
*
* ROM definitions