summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-08-24 19:09:13 +0200
committer hap <happppp@users.noreply.github.com>2024-08-24 19:16:22 +0200
commit692d1f70699cbb65ab423631faed3e1c78c47dcb (patch)
tree89ad35f2a36dcf1e20cf1ecc878398a68a449993
parent617d79b2a1355d1f6276d9d2785a8c9430fbdb2c (diff)
s14001a: level triggered 1-bit handler does not make sense,
sg1000a: small note update
-rw-r--r--src/devices/sound/s14001a.cpp4
-rw-r--r--src/mame/sega/sg1000a.cpp12
2 files changed, 9 insertions, 7 deletions
diff --git a/src/devices/sound/s14001a.cpp b/src/devices/sound/s14001a.cpp
index 0c54622e46d..a27ae2210da 100644
--- a/src/devices/sound/s14001a.cpp
+++ b/src/devices/sound/s14001a.cpp
@@ -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)
diff --git a/src/mame/sega/sg1000a.cpp b/src/mame/sega/sg1000a.cpp
index 9f98d03f096..17bd6185a89 100644
--- a/src/mame/sega/sg1000a.cpp
+++ b/src/mame/sega/sg1000a.cpp
@@ -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