Date : Mon, 24 Sep 2001 19:33:09 +0100
From : "Richard Gellman" <r.gellman@...>
Subject: Re: Disc fault 04 and ADFS Checksums
>Why not disassemble the DFS and find the error message routines, so you can
>determine why?
Emulating it is one thing, I couldn't disassemble the DFS looking for that
stuff :)
>How did you do that? I'm sure all DDOS needs is different addresses and a
>slightly different control register format
If my emulation was complete, yes. But in the process of adding DDOS
support, I need to add extra bits to the existing code. As it turns out (For
information purposes) Disc Fault 04 is "Data Lost" and means that the bbc
either didn't read the data in quick enough, or didn't write it out quick
enough. I found out this was due to Status bit 2 being set meaning "Not
Track 0" for type 1 commands, but not being reset for type 2 (read/write)
commands, whereby bit 2 being set indicates data lost. So I fixed that one,
and got it working perfectly :)
My next question, is how the hell do you calculate an ADFS FS Map sector
checksum? I'm adding ADFS to the new disc options, but my "new discs" have
bad fs maps on them because of an incorrect checksum byte on each sector.
-- Richard Gellman
<Serious bit>
This email is sent to you as personal communication or to a specific mailing
list ONLY, and does not contain any form of comercial advertsing (spam). By
replying to this email you legally agree that you will honour this in a
similar fashion, and you will not send any commercial email to this email
address, or subscribe this email address to any mailing list without prior
permission. Failure to adhere to this may result in criminal prosecution
under the misuse of information laws applicable in all countries.
<end of serious bit>