ZXHawk: proper top border height

This commit is contained in:
Asnivor 2018-06-08 14:39:23 +01:00
parent faec0fb0e5
commit a1d24400d0
3 changed files with 14 additions and 3 deletions

View File

@ -37,7 +37,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// screen layout
ScreenWidth = 256;
ScreenHeight = 192;
BorderTopHeight = 48;
BorderTopHeight = 55; // 48;
BorderBottomHeight = 56;
BorderLeftWidth = 48;
BorderRightWidth = 48;

View File

@ -16,6 +16,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// timing
ClockSpeed = 3546900;
FrameCycleLength = 70908;
/*
InterruptStartTime = 31;
InterruptLength = 32;
ScanlineTime = 228;
@ -24,6 +25,16 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
PortContentionOffset = 7;
RenderTableOffset = 1;
FloatingBusOffset = 1;
*/
InterruptStartTime = 33;
InterruptLength = 32;
ScanlineTime = 228;
MemoryContentionOffset = 6;
PortContentionOffset = 6;
RenderTableOffset = -2;
FloatingBusOffset = 1;
BorderLeftTime = 24;
BorderRightTime = 24;
@ -37,7 +48,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// screen layout
ScreenWidth = 256;
ScreenHeight = 192;
BorderTopHeight = 48;
BorderTopHeight = 55;
BorderBottomHeight = 56;
BorderLeftWidth = 48;
BorderRightWidth = 48;

View File

@ -37,7 +37,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
// screen layout
ScreenWidth = 256;
ScreenHeight = 192;
BorderTopHeight = 48;
BorderTopHeight = 55;// 48;
BorderBottomHeight = 56;
BorderLeftWidth = 48;
BorderRightWidth = 48;