Added Master System Memory Bus

This commit is contained in:
2026-05-08 20:40:49 +01:00
parent 7511e17c3e
commit 25ac64fa5f
5 changed files with 134 additions and 2 deletions

View 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);
}
}

View File

@@ -0,0 +1,8 @@
namespace Core.Interfaces
{
public interface IIoBus
{
byte Read(ushort port);
void Write(ushort port, byte value);
}
}

View File

@@ -0,0 +1,9 @@
namespace Core.Interfaces
{
public interface IMemory
{
byte Read(ushort address);
void Write(ushort address, byte value);
void CleanRAMData();
}
}