RE: Checking syntax for 1541 and more...

ruud.baltissen_at_abp.nl
Date: 2007-08-29 08:48:14

Hallo André,
 

> That's exactly the idea behind the "REL"ative files. .....

But is it an elegant solution? IMHO, no. In a previous version of CBM-HD (CBM drive simulator) I supported REL files but didn't use side-sectors: I just calculated which sector in-a-row I had to have and went to it by going through all previous sectors first. And even then my simulator was faster then a real 4040 drive (tested with 200 blocks). The Commodore test programs and Superbase didn't complain either. Just for compatibility reasons I added support for the side-sectors as well.

Just because of this 4-byte pointer I will use in my new FS, it won't be compatible with any existing FS used by Commodore. So IMHO it won't hurt anyone if I dropped the support for side-sectors. As the directory entries won't be compatible anymore as well, it won't hurt to add some info that a file is known as to be unfragmented. I don't know the advantage of this for a SEQ, PRG or USR file, but for a REL this means that, knowing the LBA pointer of the first sector, the pointer to the needed sector can be calculated without the need to load any other sector.


--
     ___
    / __|__
   / /  |_/     Groetjes, Ruud
   \ \__|_\
    \___|       URL: Ruud.C64.org

 
De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij overgebrachte virussen.

Stichting Pensioenfonds ABP is gevestigd te Heerlen en ingeschreven bij de Kamer van Koophandel Zuid Limburg onder nummer: 41074000


The information contained in this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail; please delete in this case the e-mail and do not disclose its contents to any person. We don't accept liability for any errors, omissions, delays of receipt or viruses in the contents of this message which arise as a result of e-mail transmission.

Stichting Pensioenfonds ABP, having its registered office at Heerlen, is registered in the Traderegister of the Chamber of Commerce Zuid Limburg (Maastricht), the Netherlands, registration number: 41074000





       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.