mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-04-19 19:16:38 +00:00
Use the newly added CPU pokeWord method.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -32,8 +32,7 @@ void Board::initialise() {
|
||||
CPU().reset();
|
||||
|
||||
poke(0, 0xc3); // JMP
|
||||
poke(1, m_configuration.getStartAddress().low);
|
||||
poke(2, m_configuration.getStartAddress().high);
|
||||
CPU().pokeWord(1, m_configuration.getStartAddress());
|
||||
|
||||
poke(5, 0xc9); // ret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user