From be6b619d40e776f814ea8fd8b25c5a178ee5d7fc Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 1 May 2024 23:44:07 +0300 Subject: [PATCH] testpico: z80 timing correction from 2013 --- testpico/z80_test.s80 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testpico/z80_test.s80 b/testpico/z80_test.s80 index 5fbada1..ca6704d 100644 --- a/testpico/z80_test.s80 +++ b/testpico/z80_test.s80 @@ -21,9 +21,9 @@ loop ld e, a ; 4 ld a, (de) ; 7 inc e ; 4 - ld ixl, a ; 9 + ld ixl, a ; 8 ld a, (de) ; 7 - ld ixh, a ; 9 + ld ixh, a ; 8 pop hl ; src 10 ld hl, ($1002) pop de ; dst 10 ld de, ($1004) @@ -149,7 +149,7 @@ t_timer_a ld (hl), $25 ; 10 ld (bc), a ; 7 ld (hl), $27 ; 10 - ld_a (bc), $35 ; 14 enable timer+flag,clear ( max 67 + ld_a (bc), $35 ; 14 enable timer+flag,clear nop ; 4 flag clear delay tim_a_loop ld a, (hl) ; 7 -- 2.39.5