EightBit/M6502/test_M6502/Configuration.cpp
Adrian.Conlon 867b0d5260 Add more flexible configuration class for 6502
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-07-17 10:16:15 +01:00

19 lines
477 B
C++

#include "stdafx.h"
#include "Configuration.h"
Configuration::Configuration()
: m_debugMode(false),
m_profileMode(false),
m_loadAddress(0x400),
m_startAddress(0x400),
m_allowInput(false),
m_inputAddress(0xbff0),
m_allowOutput(false),
m_outputAddress(0xbff0),
m_pollInterval(2000000 / 50), // 2Mhz, 50 times a second;
m_stopCondition(StopCondition::Loop),
m_romDirectory("roms"),
m_program("6502_functional_test.bin"),
m_loadMethod(LoadMethod::Ram) {
}