started porting to an AtMega8