mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-24 14:05:42 +00:00
All interrupt handling state tests to work
This commit is contained in:
1 parent
e3258846a8
commit
4db203de48
2 files changed
+6
-1
No files matched your search
@@ -206,7 +206,11 @@
|
||||
var e_good = this.Check("E", final.E, cpu.E);
|
||||
var h_good = this.Check("H", final.H, cpu.H);
|
||||
var l_good = this.Check("L", final.L, cpu.L);
|
||||
var ime_good = this.Check("IME", final.IME, (byte)(cpu.IME ? 1 : 0));
|
||||
var ime_good = true;
|
||||
if (final.EI is not null)
|
||||
{
|
||||
ime_good = this.Check("IME", final.EI.Value, (byte)(cpu.IME ? 1 : 0));
|
||||
}
|
||||
|
||||
if (!f_good)
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
public byte IME { get; set; }
|
||||
public byte IE { get; set; }
|
||||
public byte? EI { get; set; }
|
||||
|
||||
public int[][]? RAM { get; set; }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user