The Hard Drive is a WD Caviar 33100 with a 3 GB capacity. Since my program will only write one sector (512 bytes) at a time, this is more than sufficient.
The power supply is a Senstron standard PC power supply.
Subroutines used in the program:
Sets up the start state
Sets the bit or bits to the value passed in D5
Writes data from D5 to the data bits in the 40-bit registers.
Writes the data word stored in the 40-bit registers to the buffer pointed to by A0
Used to create a programmed delay for timing purposes
Writes the current state of the 40-bit registers to the J9 connector
Reads the current state of J9 into the 40-bit registers.
Changes the LBA to the value in D0. D0 is cleared when this subroutine excecutes.
A copy of my code is availible here.