From 7363af652e659a7abc16a4d6a65d93629517ff19 Mon Sep 17 00:00:00 2001 From: tomch Date: Tue, 9 Sep 2008 21:07:14 +0000 Subject: [PATCH] Corrected CLK_Z80 value --- source/Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Common.h b/source/Common.h index e262f1b4..2ec3da1a 100644 --- a/source/Common.h +++ b/source/Common.h @@ -8,7 +8,7 @@ const double CLK_6502 = ((_M14 * 65.0) / 912.0); // 65 cycles per 912 14M clocks // The effective Z-80 clock rate is 2.041MHz // See: http://www.apple2info.net/hardware/softcard/SC-SWHW_a2in.pdf -const double CLK_Z80 = 2.041e6; +const double CLK_Z80 = (CLK_6502 * 2); const UINT uCyclesPerLine = 65; // 25 cycles of HBL & 40 cycles of HBL' const UINT uVisibleLinesPerFrame = 64*3; // 192