Added code to allow for writes of less than one page and writes to
addresses not on a page boundary.