Atmega88 to Uno/Nano

Hello..
I just found this Atmega88 code.. how do i get it to work with Arduino Uno R3 or Nano..?
Can someone help me convert it.. please..

ezk_wasted_spark.c (2.12 KB)

Compiles just fine as is for an Uno ('328P). Try running it on a board.
Port C0, C1 are pins A0, A1.