Ken,

Have you been to this page?
http://www.melabs.com/resources/samples.htm

As for routines. I would say that just about every "command" listed in the PBP manual is a routine. ADCIN for example. The routine for reading the chip's ADC is built into that command.

Keep asking questions