Encodes an enzyme with histone acetyltransferase activity. HAM1 primarily acetylate histone H4, but also display some ability to acetylate H3. Prior acetylation of lysine 5 on histone H4 reduces radioactive acetylation by either HAM1. HAM1 acetylates histone H4 lysine 5.