mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-22 07:02:37 +00:00
Fix 6502 test "board"
This commit is contained in:
1 parent
1fcf394592
commit
43f1ec55a1
2 files changed
+5
-5
No files matched your search
@@ -7,7 +7,7 @@
|
||||
#include <iomanip>
|
||||
#include <assert.h>
|
||||
|
||||
Board::Board(const Configuration& configuration)
|
||||
Board::Board(const Configuration& configuration) noexcept
|
||||
: m_configuration(configuration) {}
|
||||
|
||||
void Board::raisePOWER() noexcept {
|
||||
@@ -25,7 +25,7 @@ void Board::lowerPOWER() noexcept {
|
||||
EightBit::Bus::lowerPOWER();
|
||||
}
|
||||
|
||||
void Board::initialise() {
|
||||
void Board::initialise() noexcept {
|
||||
|
||||
auto programFilename = m_configuration.getProgram();
|
||||
auto programPath = m_configuration.getRomDirectory() + "/" + m_configuration.getProgram();
|
||||
|
||||
+3
-3
@@ -13,14 +13,14 @@
|
||||
|
||||
class Board : public EightBit::Bus {
|
||||
public:
|
||||
Board(const Configuration& configuration);
|
||||
Board(const Configuration& configuration) noexcept;
|
||||
|
||||
EightBit::MOS6502& CPU() { return m_cpu; }
|
||||
EightBit::MOS6502& CPU() noexcept { return m_cpu; }
|
||||
|
||||
void raisePOWER() noexcept final;
|
||||
void lowerPOWER() noexcept final;
|
||||
|
||||
void initialise() final;
|
||||
void initialise() noexcept final;
|
||||
|
||||
protected:
|
||||
virtual constexpr EightBit::MemoryMapping mapping(uint16_t address) noexcept final {
|
||||
|
||||
Reference in new issue
Block a user