Ok, here's a copy of the modifications I made. You'll have to change F_CPU in constants.h or set it in your IDE. I've updated to interrupt.h from signal.h, removed delay.h and now use avr-libc's util/delay.h and switched from cbi/sbi to <reg> &=/|=. I've also added the proper registers for ATMega88's. To port to another CPU you just need to add the #defines in constants.h Hopefully this works

Jason