hmmm, well you could simply put a little program in a trap or VBL list of some desription.
However you should realise that this would only cure a program that wants to use 60Hz. Your program uses pallet switching to fool the shifter chip, this means that the code is keep very acurate "time", 60Hz actually speeds the computer up a fraction (i.e. it will probably not work).