EightBitNet/Test_M6502/Configuration.cs
Adrian Conlon 3c5e292eae Drop Register16 support (replaced with explicit ushort), add some unit tests (Chip class only at present)
Now runs some instructions before going wrong...

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
2019-02-03 00:42:55 +00:00

26 lines
776 B
C#

namespace Test
{
using EightBit;
internal class Configuration
{
private bool debugMode = false;
private readonly ushort loadAddress = 0x400;
private readonly ushort startAddress = 0x400;
private readonly string romDirectory = "roms";
private readonly string program = "6502_functional_test.bin";
public Configuration() {}
public bool DebugMode {
get { return debugMode; }
set { debugMode = value; }
}
public ushort LoadAddress { get { return loadAddress; } }
public ushort StartAddress { get { return startAddress; } }
public string RomDirectory { get { return romDirectory; } }
public string Program { get { return program; } }
}
}