More formats

I added full support for A format (from A10 to 4A0), B format (from B10 to B0) and C format (from C10 to C0).