mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-22 09:30:15 +00:00
SC-01: fix DDRB support for #952
This commit is contained in:
parent
21146cb65e
commit
110a706535
@ -615,10 +615,10 @@ static void SY6522_Write(BYTE nDevice, BYTE nReg, BYTE nValue)
|
||||
pMB->sy6522.ORB = nValue;
|
||||
|
||||
if ((nDevice&1) == 0 && // SC01 only at $Cn00 (not $Cn80)
|
||||
pMB->sy6522.DDRB == 0xFF && pMB->sy6522.PCR == 0xB0)
|
||||
pMB->sy6522.PCR == 0xB0)
|
||||
{
|
||||
// Votrax speech data
|
||||
pMB->ssi263.Votrax_Write(nValue);
|
||||
pMB->ssi263.Votrax_Write((nValue & pMB->sy6522.DDRB) | (pMB->sy6522.DDRB ^ 0xff)); // DDRB's zero bits (inputs) are high impedence, so output as 1 (GH#952)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user