are you actually using a clock signal, or simply having your pic produce step pulses? if just pulses, then you could simply set up both ports into a while loop say 1024 cycles, and add a little basic math so each triggers after a certain increment of cycles e.g. 220, 440, 660, 880, 75, 295, similar to the improved arduino pwm method, (should be quite easy to directly translate into pic C)
IF n>1023
n = n-1023
Else n + 220
as a rough outlier,