Dwight Elvey
Veteran Member
The time delays and step time are set by the specify command.
This is the value 03h sent to the 765 controller. It would be followed by writes of 2 bytes :
1st byte:
bits D7 to D4 Step Rate in 1 ms increments 1 to 16
bits D3 to D0 Head Unload Time 16ms steps of 0 to 240 ms
2nd byte
bits D7 to D1 Head Load Time in 2 ms steps, 1 to 256 ms
bit D0 No-DMA
These are usually controlled by software in the boot BIOS EPROM.
There is a note that the specify command must be issued for each drive selected.
You need to look at the data in the EPROM and see where the specify command is written. It is likely that there is a table in the EPROM with all the time delays for the different drives selected. I would suggest that if you can find where in the code it writes the specify command that you modify both the set time and head load time to the maximum. You can then try to format again. If it works, you can try reducing it a little at a time. When it fails, add a couple counts and be happy.
It is possible that it has a table for each drive.
Dwight
You'd be looking for the out instruction to port 8Fh or CFh depending on which board you have.
Dwight