ZXHawk: 48k offsets updated for z80 interrupt response time change
This commit is contained in:
parent
3ce546b774
commit
c47860fad7
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue