BACKGROUND OF THE INVENTION (1) Field of the Invention The present invention relates to an apparatus and method for recording data onto a recording medium, such as a semiconductor memory, an optical disc, and a magneto-optical disc, and also to a computer program pertinent to the apparatus and method.