MB: SC01 is only mapped to the 6522 at Cn00
This commit is contained in:
parent
fea5da7872
commit
2258d01184
3 changed files with 4 additions and 3 deletions
|
@ -105,7 +105,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
|
||||
#include "YamlHelper.h"
|
||||
|
||||
#define LOG_IRQ_TAKEN_AND_RTI 0
|
||||
#define LOG_IRQ_TAKEN_AND_RTI 1
|
||||
|
||||
// 6502 Accumulator Bit Flags
|
||||
#define AF_SIGN 0x80
|
||||
|
|
|
@ -608,7 +608,8 @@ static void SY6522_Write(BYTE nDevice, BYTE nReg, BYTE nValue)
|
|||
nValue &= pMB->sy6522.DDRB;
|
||||
pMB->sy6522.ORB = nValue;
|
||||
|
||||
if( (pMB->sy6522.DDRB == 0xFF) && (pMB->sy6522.PCR == 0xB0) )
|
||||
if ((nDevice&1) == 0 && // SC01 only at $Cn00 (not $Cn80)
|
||||
pMB->sy6522.DDRB == 0xFF && pMB->sy6522.PCR == 0xB0)
|
||||
{
|
||||
// Votrax speech data
|
||||
pMB->ssi263.Votrax_Write(nValue);
|
||||
|
|
|
@ -40,7 +40,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
|
||||
#define LOG_SSI263 0
|
||||
#define LOG_SSI263B 0 // Alternate SSI263 logging (use in conjunction with CPU.cpp's LOG_IRQ_TAKEN_AND_RTI)
|
||||
#define LOG_SC01 0
|
||||
#define LOG_SC01 1
|
||||
|
||||
// SSI263A registers:
|
||||
#define SSI_DURPHON 0x00
|
||||
|
|
Loading…
Add table
Reference in a new issue