Intellivision wire up sound system
This commit is contained in:
parent
4d1629e271
commit
89940b85af
|
@ -7,16 +7,16 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
|||
{
|
||||
public IEmulatorServiceProvider ServiceProvider { get; private set; }
|
||||
|
||||
[FeatureNotImplemented]
|
||||
private DCFilter _dcfilter;
|
||||
|
||||
public ISoundProvider SoundProvider
|
||||
{
|
||||
get { return NullSound.SilenceProvider; }
|
||||
get { return _dcfilter; }
|
||||
}
|
||||
|
||||
[FeatureNotImplemented]
|
||||
public ISyncSoundProvider SyncSoundProvider
|
||||
{
|
||||
get { return new FakeSyncSound(NullSound.SilenceProvider, 735); }
|
||||
get { return new FakeSyncSound(_dcfilter, 735); }
|
||||
}
|
||||
|
||||
public bool StartAsyncSound()
|
||||
|
|
|
@ -63,6 +63,8 @@ namespace BizHawk.Emulation.Cores.Intellivision
|
|||
(ServiceProvider as BasicServiceProvider).Register<ITraceable>(Tracer);
|
||||
|
||||
SetupMemoryDomains();
|
||||
|
||||
_dcfilter = DCFilter.AsISoundProvider(_psg, 256); // not sure how the 256 will change for intellivision I just copied it from Atari for now
|
||||
}
|
||||
|
||||
public IntellivisionControllerDeck ControllerDeck { get; private set; }
|
||||
|
|
|
@ -1,13 +1,25 @@
|
|||
using BizHawk.Common.NumberExtensions;
|
||||
using System;
|
||||
using BizHawk.Common;
|
||||
using BizHawk.Emulation.Common;
|
||||
|
||||
namespace BizHawk.Emulation.Cores.Intellivision
|
||||
{
|
||||
public sealed class PSG
|
||||
public sealed class PSG : ISoundProvider
|
||||
{
|
||||
public ushort[] Register = new ushort[16];
|
||||
|
||||
public int MaxVolume { get; set; }
|
||||
|
||||
public void DiscardSamples()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void GetSamples(short[] samples)
|
||||
{
|
||||
}
|
||||
|
||||
public int TotalExecutedCycles;
|
||||
public int PendingCycles;
|
||||
|
||||
|
|
Loading…
Reference in New Issue