From 901fe50fee42333cc45884e4d9913128272ce175 Mon Sep 17 00:00:00 2001 From: Daniele Verducci su MatissePenguin Date: Sun, 17 Jan 2021 17:51:34 +0100 Subject: [PATCH] Temporary fix for first short sync timer after image firing in advance --- .../composite-pal-adapter/software/avr-assembly/main.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pat80-io-devices/composite-pal-adapter/software/avr-assembly/main.asm b/pat80-io-devices/composite-pal-adapter/software/avr-assembly/main.asm index abc916e..52c5a2f 100644 --- a/pat80-io-devices/composite-pal-adapter/software/avr-assembly/main.asm +++ b/pat80-io-devices/composite-pal-adapter/software/avr-assembly/main.asm @@ -115,7 +115,7 @@ on_tim1_ovf: ; called by timer 1 two times per line (every 32 uS) during hsync, unless drawing picture. inc STATUS ; if STATUS >= 33 then STATUS=0 - cpi STATUS, 33 + cpi STATUS, 35 ; TODO: Added a seventh sync pulse at end of screen because at the first short sync after the image, the timer doesn't tick at the right time brlo switch_status clr STATUS ; check status and decide what to do