Correct a couple of small Z80 power on issues.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-11-02 17:30:03 +00:00
parent b95614c65d
commit 238ee30b3c

View File

@ -7,6 +7,7 @@ EightBit::Z80::Z80(Bus& bus, InputOutput& ports)
: IntelProcessor(bus),
m_ports(ports) {
RaisedPOWER.connect([this](EventArgs) {
raiseM1();
raiseIORQ();
raiseRD();
@ -18,11 +19,11 @@ EightBit::Z80::Z80(Bus& bus, InputOutput& ports)
REFRESH() = 0;
IV() = Mask8;
AF() = IX() = IY() = BC() = DE() = HL() = Mask16;
exxAF();
exx();
AF() = IX() = IY() = BC() = DE() = HL() = Mask16;
m_prefixCB = m_prefixDD = m_prefixED = m_prefixFD = false;
});