AxibugEmuOnline/AxibugEmuOnline.Client/Assets/Plugins/Essgee.Unity/Emulation/Cartridges/ICartridge.cs

21 lines
442 B
C#
Raw Normal View History

2025-02-14 16:09:33 +08:00
namespace Essgee.Emulation.Cartridges
{
public interface ICartridge
{
void LoadRom(byte[] data);
void LoadRam(byte[] data);
byte[] GetRomData();
byte[] GetRamData();
bool IsRamSaveNeeded();
ushort GetLowerBound();
ushort GetUpperBound();
void Step(int clockCyclesInStep);
byte Read(ushort address);
void Write(ushort address, byte value);
}
}