GBA.Unity/Assets/Iris/Iris.NDS/BIOS.cs
2024-08-15 13:19:43 +08:00

28 lines
629 B
C#

using System;
namespace Iris.NDS
{
public sealed partial class NDS_System
{
private void BIOS_Reset()
{
const UInt32 ROMAddress = 0x0800_0000;
// TODO
_cpu.Reg[CPU.CPU_Core.PC] = ROMAddress;
_cpu.NextInstructionAddress = ROMAddress;
}
private UInt64 HandleSWI()
{
throw new NotImplementedException("Iris.NDS.Core.BIOS: HandleSWI unimplemented");
}
private UInt64 HandleIRQ()
{
throw new NotImplementedException("Iris.NDS.Core.BIOS: HandleIRQ unimplemented");
}
}
}