Added Master System Memory Bus
This commit is contained in:
8
Core/Interfaces/IAudioDevice.cs
Normal file
8
Core/Interfaces/IAudioDevice.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Core.Interfaces
|
||||
{
|
||||
public interface IAudioDevice
|
||||
{
|
||||
// Now accepts the Beeper state + 3 AY frequencies + 3 AY volumes
|
||||
void AddSample(bool isHigh, float freqA, float volA, float freqB, float volB, float freqC, float volC);
|
||||
}
|
||||
}
|
||||
8
Core/Interfaces/IIoBus.cs
Normal file
8
Core/Interfaces/IIoBus.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Core.Interfaces
|
||||
{
|
||||
public interface IIoBus
|
||||
{
|
||||
byte Read(ushort port);
|
||||
void Write(ushort port, byte value);
|
||||
}
|
||||
}
|
||||
9
Core/Interfaces/IMemory.cs
Normal file
9
Core/Interfaces/IMemory.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Core.Interfaces
|
||||
{
|
||||
public interface IMemory
|
||||
{
|
||||
byte Read(ushort address);
|
||||
void Write(ushort address, byte value);
|
||||
void CleanRAMData();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user