starfighter1314 #1 Posted October 30, 2006 (edited) Hello, I posted this in the Hacks forum, but haven't heard anything. Maybe someone in here can help. I am having a timing problem in my Combat hack. When all 4 paddles are rotated counter-clockwise, the whole playfield shifts downward a couple of scanlines. I haven't been able to pinpoint the problem, but it only happens when all 4 paddles are in that zone. Any ideas? thanks in advance, -s Edited April 20, 2007 by starfighter1314 Quote Share this post Link to post Share on other sites
Thomas Jentzsch #2 Posted October 30, 2006 (edited) Reading the pods takes too long in worst case. Optimizing the slowest execution path may help: LDX #$08 LDA INPT0;3 BPL PotNot00; 2 or 3 STX POT0;3 PotNot00 LDA INPT1 BPL PotNot01 STX POT1 PotNot01 LDA INPT2 BPL PotNot02 STX POT2 PotNot02 LDA INPT3 BPL PotNot04 STX POT3 PotNot04 JMP PotNot3; 3 Do the same with SecondFrame code. This saves 6 cycles, which should be enough. Edited October 30, 2006 by Thomas Jentzsch Quote Share this post Link to post Share on other sites
starfighter1314 #3 Posted November 5, 2006 Thanks! That did the trick. Quote Share this post Link to post Share on other sites