Start moving towards reset being just another style of interrupt.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2018-08-25 01:34:30 +01:00
parent bca7977a23
commit 6d4223c368
17 changed files with 189 additions and 136 deletions

View File

@@ -7,8 +7,8 @@ EightBit::IntelProcessor::IntelProcessor(Bus& bus)
m_decodedOpcodes[i] = i;
}
void EightBit::IntelProcessor::reset() {
Processor::reset();
void EightBit::IntelProcessor::powerOn() {
Processor::powerOn();
SP() = AF() = BC() = DE() = HL() = Mask16;
}