Which was a good thing, because my initial attempts at porting the PWM code to the smaller PIC (only 8 pins!) were unsuccesfull. For some reason (which I haven't found out yet), the PICs GPIO register (which controls the outputs (i.e. which pin sources current for, say, turning a LED on) doesn't like bit-wise operations on it. If I set the 3rd bit in the GPIO register, all other bits are turned off -- so I could only get one LED burning at any time.
Very odd, something I will ask the various internet fora about. But setting the whole register all at once (copying the contents of the working register into the GPIO) did have the desired effect.
Pretty bizarre, but I 'solved' it by doing all bit-wise operations on a register, and copying the contents of that register into GPIO after all bits had been set. Works like a charm...
I got it working too late in order to use that new-found knowledge in the mini-andon we made for klik's grandmother, who will be celebrating her 93rd (!) birthday tomorrow -- but a 16F628A also did the job, so no problems there.