Sorry for bugging everyone with this; I finally figured it out myself. If anyone wants the C source for disabling interrupts, just email me.