Hello Ralph,
thank you for your reply! In the meantime I found that the FDC (a National Semiconductor PC87306) I was using is only a 82077 compatible. The problem was that it does support the 'partid' command like a 82078 and does not return an 'invalid command' result for 'format_n_write'. However as it turns out reading its data sheet only 'partid' is supported and there is no command associated with the 'format_n_write' opcode.
Am 18.09.19 um 12:56 schrieb Ralph Corderoy:
Hi Stefan,
when trying to use the fdrawcmd format_n_write command it gives an IO error and does not write the data. Reading the FDC data sheet did not reveal any hints either.
Attached is a sample script that shows how I use the format_n_write command. When the variable format_n_write is set to 0 the script also uses the more common way of formatting and then writing a track, which works without problems.
No answer, I'm afraid, but you may have more replies from the list if you cut your example down to ‘This fdrawcmd works, this one doesn't’ rather than have the list's (busy) subscribers have to step through the script's workings.