Since there seems to be very little "simple" code for the dsPIC; here is a "Hello World" example for the dsPIC30F2020 for any who may be interested:
C:
/* This is a "Hello world" example for the dsPIC30F2020. It will toggle all
* IO pins on the chip at a rate which is visible from a LED connected to
* one of the IO pins. It uses the slow internal oscillator so all that is
* needed is a 10K pullup resistor on MCLR (pin 1 on a 28 pin DIP chip) and
* power connected to ALL Vdd,...