We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a6abab commit d9ca2adCopy full SHA for d9ca2ad
src/devices/cpu/upd177x/upd177x.cpp
@@ -146,7 +146,10 @@ void upd177x_cpu_device::device_start()
146
147
void upd177x_cpu_device::device_reset()
148
{
149
- m_pc = 1; // Yes, this is odd, but otherwise there are sync issues between writing and clearing PA in scv kungfurd when playing back adpcm.
+ // Yes, this is odd, but otherwise there are sync issues between writing and clearing PA in scv kungfurd when playing back adpcm.
150
+ // During a reset an OUT PA gets executed just around the same time when the main cpu is writing to PA.
151
+ // Since the OUT PA completes while the external write to PA is still in progress the external write to PA wins.
152
+ m_pc = 1;
153
m_sp = 0;
154
m_a = 0;
155
m_a_save = 0;
0 commit comments