At 20:47 3-6-00 +0200, you wrote:
>I am wondering... The possibility to mark clusters as 'bad' exists in the
>FAT. However, I have never seen a utility on MSX to do a 'surface scan' (as
>SCANDISK puts it). Now, I can program it myself, however I need a few
>details.
>
>- I think I have to directly access the DISKROM, since I want to avoid the
>A/R/I-messages. How to access the DISKROM, and how to read absolute sectors
>from a drive (not from the entire harddisk please because then I also will
>have to process the partition table).
>- And to avoid problems with FAT16 etc. (Improve has to be rewritten for
>that, by the way), how can I recognize the FAT system??? I bet I'll have to
>read the correct value from the Dos DPB (Disk Parameter Block) function...
>What value should I check for? I can guess it but I'd like to hear it
>'officially', then I'll be sure about it.
There is more. I've got some Beta's of Improve (no, I won't release these)
which can handle bad sectors (in a way), but Ramon decided to leave this
out of the final version. FAT-system is stored in the partition table, for
diskettes, it's always FAT12.
BTW, be sure when you try to recover the sector in some way, you need to
adjust the FAT accordingly. So don't release it until you are sure disks
will not be corrupted in some way.
GreeTz, BiFi
Visit my Home Page at www.bifi.msxnet.org
mail me at: [EMAIL PROTECTED]
FTP: ftp.bifi.msxnet.org
ICQ #36126979
****
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
****