Hi Alain, > one problem that made me *remove* FreeDOS: when writing > diskettes with a backup programs only the first floppy works as > expected. From then on, only a small portion is written (to the end of > the disk) and it Gets very very slow.
> If I exit the program and start again, the behaviou is reset, > first disk is ok and next disks not. > I believe this is a *disc*change*detection* problem... That is quite possible, but you did not give a lot of background info: Did it only happen when caches are loaded / not loaded? Which? What kind of diskette drive, maybe USB one? If so, does e.g. my cache accept that drive at all? Does using a non-FreeDOS kernel solve the problem? It is strange that restarting the PROGRAM (you did not write that you restarted the whole DOS / kernel...) fixes the problem for the next disk each time. What could cause the slowness? An interesting disk change mess test would be to create a diskette with free space only at the start: Fill the disk with a few big files, delete the ones which you copied first, to make space at the start while keeping the end filled. Then use such a disk as a second disk: If FreeDOS indeed fails to detect the disk change, it would overwrite the files at the end of your test disk and leave the start of the disk empty. It could also be the case that the problem is BUFFERS related - in that case, it might be possible to manually flush buffers explicitly in your program before and / or after every disk change as a workaround. Of course that would mean that you need control over what exactly your program does "lowelevel" To flush buffers, use int 21.0d (DOS) or int 13.00 (BIOS) in the diskette case. Note that e.g. my cache does not flush on int 13.00, instead it flushes when int 13.1600 detects a disk change and when you low-level format the diskette. Plus it only activates for disk drives (diskette ones, that is) for which the BIOS reports that the int 13.1600 function actually works. Eric ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
