PIC macro library 'Krisna' and DC firmware