mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-02-05 13:29:59 +00:00
Correct a couple of small Z80 power on issues.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
b95614c65d
commit
238ee30b3c
@ -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;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user