cha80 starts from the debug code