@jesusdelmas The V-SYNC signal comes out of the CRTC and is stable for a long enough time to be detected by the CPC when polling the PPI. This means all effects timed to start from V-SYNC are not going to go out of whack.
Also dont forget that PORT B is latched as well.
rpalmer