[...] > >>when a file is "cutted". So, after run CHKDSK we have to run BADSCAN again. > >>This is why I'm trying to integrate them... And about relocate bad sectors... > >>I think maybe there is no way... (-; Not using the default (standard) read > >>methods. > >Oops, the proper value to write for a bad cluster is #FF7.shouldn't be that > >hard to fix I guess. > > Yup, but there is the need to unassemble CHKDSK and make it check the situation. > Unassemble CHKDSK is the hard work, not change it. There is really no need to do that, the process of marking bad clusters is fairly simple. It is even not nessecary to 'cut' the entire file if only the middle cluster of it is erroneous. I can write a program which does in a moment. I just need to know how to access the drive on sector-level without getting the A/R/I message. It's disassemble, by the way. > Because reading with standard calls we cannot read bad sectors! The values > read are not the values on the sector. > Maybe with direct access, I don't know. But on MegaSCSI I think it's not > possible, since the interface does everything (including reporting bad sectors > as "drive not ready" instead of read error... :-) If I recall correctly there is a DiskROM routine to read a drive's sectors. It returns an error code (if any), which tells you what error has occurred. But it won't show the annoying (A)bort, (R)etry, (I)gnore message, which I want to avoid. The question is: is this routine (which one exactly? and how to call it?) compatible with all DiskROMs??? (as you can see I don't really trust my docs, which are mainly from the Dos1 age). Jon, could you give me an answer??? ~Grauw -- >>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<< email me: [EMAIL PROTECTED] or ICQ: 10196372 visit my homepage at http://grauw.blehq.org/ >>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<< **** MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in the body (not the subject) of the message. Problems? contact [EMAIL PROTECTED] More information on MSX can be found in the following places: The MSX faq: http://www.faq.msxnet.org/ The MSX newsgroup: comp.sys.msx The MSX IRC channel: #MSX on Undernet ****