2017-06-05 16:31:21 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2017-09-06 23:55:06 +00:00
|
|
|
#include <Register.h>
|
2017-06-05 16:31:21 +00:00
|
|
|
|
|
|
|
class Configuration {
|
|
|
|
public:
|
|
|
|
Configuration();
|
|
|
|
|
|
|
|
bool isDebugMode() const {
|
|
|
|
return m_debugMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
void setDebugMode(bool value) {
|
|
|
|
m_debugMode = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool isProfileMode() const {
|
|
|
|
return m_profileMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
void setProfileMode(bool value) {
|
|
|
|
m_profileMode = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string getRomDirectory() const {
|
|
|
|
return m_romDirectory;
|
|
|
|
}
|
|
|
|
|
|
|
|
EightBit::register16_t getStartAddress() const {
|
2018-06-15 23:55:32 +00:00
|
|
|
//EightBit::register16_t returned;
|
|
|
|
//returned.word = 0x100;
|
|
|
|
return 0x100;
|
2017-06-05 16:31:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_debugMode;
|
|
|
|
bool m_profileMode;
|
|
|
|
|
|
|
|
std::string m_romDirectory;
|
|
|
|
};
|