Hello...

I took a quick look at your code...Did not do any compilation, but I wonder about a couple of things.

1. I did not see where you turned off the interupt handler as soon as you entered it.

2. If I remember correctly, PBP will "finish" its last command before calling a interupt. This also may give you the "out of sequence timing.


Now...the other stuff <g>. I am note really familiar with PBP ASM code, or PBP. I am learning it myself. I used to program Philip chips in assembly, and that was a few years back. Thus, I can be in error here ok?

Dwayne