- Scrolling is jerky if the VSync IRQ is triggered before the screen geometry has been calculated (ArcEm also suffers this problem, Arculator and Red Squirrel do not)
- It's T1 timer values appear to be slightly out under VIDC emulation...which is possibly due to the timing issue from point 1 (ArcEm is spot on, Arculator and Red Squirrel are both way off on timings)
James Pond II / II+ VIDC timings
James Pond II / II+ VIDC timings
Continuing the discussion around the VIDC emulation issues from the ADFFS 2.54 thread...
Re: James Pond II / II+ VIDC timings
Looking through the Arculator source, the VSync IRQ occurs at VDER. This explains why the horizontal scrolling is working under Arculator.
I've not seen a timing diagram for VIDC1/VIDC20 that indicates at which point it determines the screen geometry, but we can deduce it's before the VSync IRQ is triggered, otherwise JP2's horizontal scrolling wouldn't work on physical. This implies the geometry for the next frame is determined at VDER, prior to the VSync IRQ.
I've not seen a timing diagram for VIDC1/VIDC20 that indicates at which point it determines the screen geometry, but we can deduce it's before the VSync IRQ is triggered, otherwise JP2's horizontal scrolling wouldn't work on physical. This implies the geometry for the next frame is determined at VDER, prior to the VSync IRQ.