mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-18 17:30:02 +00:00
Whoops: The NMI line needs to be powered on by individual processors now it's no longer part of the Processor base class.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
ab78ba5db0
commit
3a4235f651
@ -14,6 +14,7 @@ void EightBit::MOS6502::powerOn() {
|
|||||||
P() = RF;
|
P() = RF;
|
||||||
S() = Mask8;
|
S() = Mask8;
|
||||||
|
|
||||||
|
raise(NMI());
|
||||||
raise(SO());
|
raise(SO());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ void EightBit::Z80::powerOn() {
|
|||||||
|
|
||||||
IntelProcessor::powerOn();
|
IntelProcessor::powerOn();
|
||||||
|
|
||||||
|
raise(NMI());
|
||||||
raise(M1());
|
raise(M1());
|
||||||
|
|
||||||
di();
|
di();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user