If your Ports are also giving problems the it's likely to be a problem with one of the CIA 8520 chips. There are 2 CIA chips the second CIA (A500- U8 , A2000 - U301) is probably the problem.
Sorry you're using an A1200 I think the CIA Chips are Surface Mounted and cannot be replaced. I've never opened up an A1200.
Shaf