Added AY38912 support
This commit is contained in:
@@ -170,8 +170,20 @@ namespace Core
|
||||
{
|
||||
while (Cpu.TotalTStates >= (long)(audioSampleCount * 79.365))
|
||||
{
|
||||
// Mix the speaker and the tape ear port
|
||||
bool finalAudioOutput = IoBus.BeeperState ^ TapeDeck.EarBit;
|
||||
_beeper.AddSample(finalAudioOutput);
|
||||
|
||||
// Blast the 1-bit Beeper AND the 3-Channel Synth into the audio buffer!
|
||||
_beeper.AddSample(
|
||||
finalAudioOutput,
|
||||
IoBus.AyChip.FreqA,
|
||||
IoBus.AyChip.VolA,
|
||||
IoBus.AyChip.FreqB,
|
||||
IoBus.AyChip.VolB,
|
||||
IoBus.AyChip.FreqC,
|
||||
IoBus.AyChip.VolC
|
||||
);
|
||||
|
||||
audioSampleCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user