ZXHawk: 48k offsets updated for z80 interrupt response time change

This commit is contained in:
Asnivor 2018-06-08 19:09:40 +01:00
parent 3ce546b774
commit c47860fad7
2 changed files with 4 additions and 4 deletions

View File

@ -164,13 +164,13 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
return;
}
if (currentCycle < InterruptStartTime)
if (currentCycle <= InterruptStartTime)
{
// interrupt does not need to be raised yet
return;
}
if (currentCycle >= InterruptStartTime + InterruptLength)
if (currentCycle > InterruptStartTime + InterruptLength)
{
// interrupt should have already been raised and the cpu may or
// may not have caught it. The time has passed so revoke the signal

View File

@ -16,13 +16,13 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// timing
ClockSpeed = 3500000;
FrameCycleLength = 69888;
InterruptStartTime = 30;
InterruptStartTime = 33;
InterruptLength = 32;
ScanlineTime = 224;
MemoryContentionOffset = 6;
PortContentionOffset = 6;
RenderTableOffset = 2;
RenderTableOffset = -9; // 2;
FloatingBusOffset = 1;
BorderLeftTime = 24;