fix writing to $00/$01 CPU ports.