Fix reset not resetting M-cycle
This commit is contained in:
parent
0b3e2d0ff3
commit
63de2cf5ae
@ -234,6 +234,7 @@ impl I8080 {
|
|||||||
self.pc = 0;
|
self.pc = 0;
|
||||||
self.halted = false;
|
self.halted = false;
|
||||||
self.inte = false;
|
self.inte = false;
|
||||||
|
self.cycle = MCycle::M1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_mem_cycle(&self) -> MemCycle {
|
pub fn get_mem_cycle(&self) -> MemCycle {
|
||||||
|
Loading…
Reference in New Issue
Block a user