Handles hardware interrupt and returns a number of cycles.
Called every application frame. Can be used to update screens.
See Implementation