mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-24 20:02:21 +00:00
6502 implementation synced strongly to C# version. Single step tests complete again
This commit is contained in:
1 parent
0ef9ac4a4b
commit
bcdb5e7fcf
6 files changed
+1182
-637
No files matched your search
@@ -30,7 +30,7 @@ void Board::initialise() noexcept {
|
||||
auto programFilename = m_configuration.getProgram();
|
||||
auto programPath = m_configuration.getRomDirectory() + "/" + m_configuration.getProgram();
|
||||
auto loadAddress = m_configuration.getLoadAddress();
|
||||
m_ram.load(programPath, loadAddress.word);
|
||||
m_ram.load(programPath, loadAddress.joined);
|
||||
|
||||
// Disassembly output
|
||||
if (m_configuration.isDebugMode())
|
||||
@@ -47,7 +47,7 @@ void Board::initialise() noexcept {
|
||||
std::cout << "Y=" << (int)CPU().Y() << ", ";
|
||||
std::cout << "S=" << (int)CPU().S() << "\t";
|
||||
|
||||
std::cout << m_disassembler.disassemble(address.word);
|
||||
std::cout << m_disassembler.disassemble(address.joined);
|
||||
|
||||
std::cout << "\n";
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user