The circuit has a digit to show the animation mode number. At 40MHz, sometimes( ! ) the digit comes and goes. But port pins used for MIBAM never works.

Thank you Darrel.