2019-02-04 23:52:21 +00:00
|
|
|
|
// <copyright file="Configuration.cs" company="Adrian Conlon">
|
|
|
|
|
// Copyright (c) Adrian Conlon. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
|
|
|
|
|
namespace Test
|
2019-02-02 15:12:51 +00:00
|
|
|
|
{
|
|
|
|
|
using EightBit;
|
|
|
|
|
|
|
|
|
|
internal class Configuration
|
|
|
|
|
{
|
2019-02-03 00:42:55 +00:00
|
|
|
|
private readonly ushort loadAddress = 0x400;
|
|
|
|
|
private readonly ushort startAddress = 0x400;
|
2019-02-02 15:12:51 +00:00
|
|
|
|
private readonly string romDirectory = "roms";
|
|
|
|
|
private readonly string program = "6502_functional_test.bin";
|
2019-02-04 23:52:21 +00:00
|
|
|
|
private bool debugMode = false;
|
2019-02-02 15:12:51 +00:00
|
|
|
|
|
2019-02-04 23:52:21 +00:00
|
|
|
|
public Configuration()
|
|
|
|
|
{
|
|
|
|
|
}
|
2019-02-02 15:12:51 +00:00
|
|
|
|
|
2019-02-04 23:52:21 +00:00
|
|
|
|
public bool DebugMode
|
|
|
|
|
{
|
|
|
|
|
get => this.debugMode;
|
|
|
|
|
set => this.debugMode = value;
|
2019-02-02 15:12:51 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-02-04 23:52:21 +00:00
|
|
|
|
public ushort LoadAddress { get => this.loadAddress; }
|
|
|
|
|
|
|
|
|
|
public ushort StartAddress { get => this.startAddress; }
|
|
|
|
|
|
|
|
|
|
public string RomDirectory { get => this.romDirectory; }
|
2019-02-02 15:12:51 +00:00
|
|
|
|
|
2019-02-04 23:52:21 +00:00
|
|
|
|
public string Program { get => this.program; }
|
2019-02-02 15:12:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|