z80: IR contention update

This commit is contained in:
alyosha-tas 2018-06-07 08:34:21 -04:00
parent afd1ba38d8
commit b0af0e48e0
1 changed files with 6 additions and 6 deletions

View File

@ -64,7 +64,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, 0, PCh, 0, 0, 0}; BUSRQ = new ushort[] {I, I, PCh, 0, 0, 0};
} }
@ -78,7 +78,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, 0, PCh, 0, 0, 0}; BUSRQ = new ushort[] {I, I, PCh, 0, 0, 0};
} }
// this is done in two steps technically, but the flags don't work out using existing funcitons // this is done in two steps technically, but the flags don't work out using existing funcitons
@ -98,7 +98,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, 0, 0, 0, 0, 0, 0, PCh, 0, 0, 0 }; BUSRQ = new ushort[] {I, I, I, I, I, I, I, PCh, 0, 0, 0 };
} }
private void REG_OP(ushort operation, ushort dest, ushort src) private void REG_OP(ushort operation, ushort dest, ushort src)
@ -122,7 +122,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, PCh, 0, 0, 0 }; BUSRQ = new ushort[] { I, PCh, 0, 0, 0 };
} }
// note: do not use DEC here since no flags are affected by this operation // note: do not use DEC here since no flags are affected by this operation
@ -314,7 +314,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, SPh, 0, 0, SPh, 0, 0, W, 0, 0, 0}; BUSRQ = new ushort[] {I, SPh, 0, 0, SPh, 0, 0, W, 0, 0, 0};
} }
else else
{ {
@ -325,7 +325,7 @@ namespace BizHawk.Emulation.Cores.Components.Z80A
OP_F, OP_F,
OP }; OP };
BUSRQ = new ushort[] {0, PCh, 0, 0, 0}; BUSRQ = new ushort[] {I, PCh, 0, 0, 0};
} }
} }