From: notaz Date: Wed, 1 May 2024 20:44:07 +0000 (+0300) Subject: testpico: z80 timing correction X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=be6b619d40e776f814ea8fd8b25c5a178ee5d7fc;p=megadrive.git testpico: z80 timing correction from 2013 --- 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