ekalenda@cup.portal.com (Edward John Kalenda) (08/22/90)
You also need to set bit 8 (DONE) in addition to bit 15 (ERROR) and the low nibble with the driver error code. Of the 16 codes available you must pick one that fits your error best. MS-DOS generates it's errors based on what you give it and what it thinks you mean. You must restore all registers to their original state. My experience has been that even the flags must be restored. Some versions of MS-DOS seem to be more sensative to the flags than others. Looking in the Encyclodedia, I find that you MUST restore the flags (wish I'd seen that when I wrote my first driver). If this, and the other postings, don't seem to help, e-mail your source and I'll see if I can see the problem. Ed ekalenda@cup.portal.com