I wondered why EDIT let me happily write to an empty floppy drive under FreeDOS.
While investigating I noticed a discrepancy between the FreeDOS and MS-DOS / DR-DOS kernel behavior if the critical error handler returns AX=0 (ignore). FreeDOS does not indicate an error when returning from INT21.3C (create file) after the file creation failed. On MS-DOS, DR-DOS and DosBox I get error code 3 (path not found) on critical error return AX=0. For EDIT I solved this by changing the critical error handler to return FAIL (wondering why this originally was set to IGNORE). But this is nevertheless a discrepancy. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel