mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-30 22:55:20 +00:00
Correct accidental setting of PC to 0x0001 on power on.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
254cfbe342
commit
def89dbcce
@ -10,8 +10,8 @@ EightBit::IntelProcessor::IntelProcessor(Bus& bus)
|
|||||||
RaisedHALT.connect([this](EventArgs) { ++PC(); });
|
RaisedHALT.connect([this](EventArgs) { ++PC(); });
|
||||||
|
|
||||||
RaisedPOWER.connect([this](EventArgs) {
|
RaisedPOWER.connect([this](EventArgs) {
|
||||||
|
PC() = SP() = AF() = BC() = DE() = HL() = Mask16;
|
||||||
raiseHALT();
|
raiseHALT();
|
||||||
SP() = AF() = BC() = DE() = HL() = Mask16;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user