Conversion library for Amiga planar graphics data and EHB, HAM screen modes