diff --git a/tgy.asm b/tgy.asm index c6c5a34..8bf4cb5 100644 --- a/tgy.asm +++ b/tgy.asm @@ -3012,7 +3012,7 @@ wait_for_blank: rcall set_timing_degrees rcall wait_OCT1_tot ; Wait for the minimum blanking period - ldi temp4, 24 * 256 / 120 + ldi temp4, 42 * 256 / 120 rcall set_timing_degrees ; Set timeout for maximum blanking period wait_for_demag: sbrs flags0, OCT1_PENDING @@ -3028,6 +3028,8 @@ wait_for_demag: .endif rjmp wait_for_demag + ldi temp4, 24 * 256 / 120 + rcall set_timing_degrees ; Set timeout for limited backtracking rcall load_timing mov XL, temp2 ; Copy high and check extended byte cpse temp3, ZH ; to calculate the ZC check count