mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-03-12 10:41:58 +00:00
Fetching bytes/words and stack access are more processor specific than I thought.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
@@ -5,7 +5,6 @@ EightBit::Processor::Processor(Memory& memory)
|
||||
: m_memory(memory),
|
||||
cycles(0),
|
||||
m_halted(false) {
|
||||
SP().word = 0xffff;
|
||||
PC().word = 0;
|
||||
}
|
||||
|
||||
@@ -14,6 +13,5 @@ void EightBit::Processor::reset() {
|
||||
}
|
||||
|
||||
void EightBit::Processor::initialise() {
|
||||
SP().word = 0xffff;
|
||||
reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user