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:
INITIALIZE
Sets up the start state
SET_CS1FX
SET_CS3FX
SET_DIOR
SET_DIOW
SET_RESET
SET_DA
Sets the bit or bits to the value passed in D5
SET_DATA
Writes data from D5 to the data bits in the 40-bit registers.
GET_DATA
Writes the data word stored in the 40-bit registers to the buffer pointed
to by A0
WAIT
Used to create a programmed delay for timing purposes
OUTPUT
Writes the current state of the 40-bit registers to the J9 connector
INPUT
Reads the current state of J9 into the 40-bit registers.
SET_LBA
Changes the LBA to the value in D0. D0 is cleared when this subroutine
excecutes.
A copy of my code is availible here.