A disk drive includes a rotatable data storage disk, and head, a
controller, and a preamplifier. The head is configured to write data to
and read data from the disk. The controller is configured to generate a
write current command. The preamplifier includes a plurality of write
current parameters, and is configured to select among the plurality of
write current parameters based on the write current command from the
controller, and to generate a write current having a shape that varies
based on which of the write current parameters are selected. The write
current is provided to the head to write a plurality of data bits on the
disk.