GBA.Unity/Assets/Iris/Iris.NDS/Memory.cs

48 lines
1.3 KiB
C#
Raw Permalink Normal View History

2024-08-15 13:19:43 +08:00
using System;
using System.IO;
namespace Iris.NDS
2024-08-14 16:02:39 +08:00
{
public sealed partial class NDS_System
{
private const int KB = 1024;
private Byte[]? _ROM;
public override void LoadROM(string filename)
{
_ROM = File.ReadAllBytes(filename);
}
private Byte ReadMemory8(UInt32 address)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory8 unimplemented");
}
private UInt16 ReadMemory16(UInt32 address)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory16 unimplemented");
}
private UInt32 ReadMemory32(UInt32 address)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory32 unimplemented");
}
private void WriteMemory8(UInt32 address, Byte value)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory32 unimplemented");
}
private void WriteMemory16(UInt32 address, UInt16 value)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory32 unimplemented");
}
private void WriteMemory32(UInt32 address, UInt32 value)
{
throw new NotImplementedException("Iris.NDS.Core.Memory: ReadMemory32 unimplemented");
}
}
}