Add partial XPROG memory write implementation.