RE: sam instruction timings

2002-05-29 Thread Simon Owen
Geoff Winkless wrote: > I thought the problem I was experiencing (border scrolltext > jerking around occasionally) had stopped when I changed the > code to use RES - but now it seems otherwise It's quite possible that's just a visual effect caused by the monitor sync not being a perfect match to

RE: sam instruction timings

2002-05-29 Thread Dave Laundon
Geoff Winkless wrote: > border scrolltext jerking around occasionally It can be difficult to synchronise an interrupt routine exactly when the CPU is busy in the foreground - when the interrupt occurs the CPU has to finish the current instruction first. Could this explain it in your case? It's b

RE: sam instruction timings

2002-05-29 Thread Winkless, Geoff
Dave Laundon wrote: > Ok, my first post here in ages, here goes... > > the official Z80 cycles rounded up to the next multiple of 4 (or 8 in > screen time), or, 4 (or 8) times the number of memory accesses; > whichever is greater. Thanks! I vaguely remembered something like that but wasn't sure.