I'm sure this is a classic DOS question, but it's been too long since I've developed with DOS, so excuse me please.
In my program, how can I check to see if there is a floppy disk in the drive without getting the "Abort, Retry, Fail" error??? I used to do something like this, but that does not work in FreeDOS anymore it seems: result = biosdisk(2,drive,0,0,1,1,buffer) & 0xFF; if (result) printf("Drive not ready!\n"); TIA. -- "Money will buy you a pretty good dog, but it won't buy the wag of his tail." -- Unknown www.GCFL.net (The Good, Clean Funnies List): Good, clean funnies five times a week, no ads, for f_r_e_e! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user