>> working program using ... PBP 2.47 and MPASM together with a PIC18F4550

This might fit the bill.

USBDemo, something to learn USB a little bit
http://www.picbasic.co.uk/forum/showthread.php?t=5418
<br>