This German article describes how a broken 28-pin TIA chip in the
cartridge port connector of the 1551 disk drive was replaced with a
more common 40-pin version.
Asbjørn Djupdal's Commodore serial bus based ATA hard disk controller
has been implemented on an Atmel AT90S8515 microcontroller in the C
programming language. This file includes the schematic diagrams,
the source code and the binary image for the microcontroller.
See also http://www.stud.ntnu.no/~djupdal/cbm/iecata/.