Order of the Butterfly
Posts: 408 from 2004/7/15
From: Russia, Moscow
There is one good and one bad news about trackdisk.device
1. Good one. It works! Really works! Now you can mount 1.44" FAT diskette to be able to read it. Writing and formatting are not tested yet. But at least writing should also work (can be attempted after resolving (2)).
2. Bad one. If you try to copy some file by small chunks (like Directory Opus 4 does, it uses 4kb buffer), the file will be corrupted. If the file is rather large (about 800 kb) the whole memory will be trashed and system will heavily crash. "CheckDisk" utility from Aminet which reads sector-by-sector into 512 bytes buffer works fine. I think the problem appears only during large data transfers. Disk directory is always read fine (volume is mounted).
A help is needed in order to find the reason for (2). So i invite everyone who is interested.
The source code can be found at http://sourceforge.net/projects/unmorphos, it is not released yet so download it from the CVS. You can ask me for developer access if you wish to contribute to the project.
P.S. Writing routines are not tested so protect your floppies from writing for now during testing.
P.P.S. The driver uses 100% of the CPU while actually reading/writing data and runs at a high priority in order to avoid data loss, so it breaks multitasking a bit. Not fixable because there is no public interface for ISA interrupts in MorphOS. Bug MOS team, not me for this.
iPod, iBook, iMac,... iRobot?