I did a migration of code from the 16F877 to the 18F452. They are *both* kind of older now...8^) If you thought it would be useful I can dig up the configurations for comparison. I never throw old code away, I just archive it. I've got versions of this particular ported code that go back to nearly the previous centrury.

Best Regards,
Paul