flatten more VIC-IV register reading logic.
add CPU state log to serial monitor to debug CPU problems.