Hallo allemaal, > Next step: copying the data between the two drives. Using BASIC I already found out that it takes me about 3 minutes to copy a floppy to harddisk and 4.5 to write it to floppy again. The only thing the C64 does is sending the little ML program to the 1541 and commanding it to execute the ML. And that's all. In case of copying a floppy to the HD the program does nothing more then reading a sector into a buffer using the job code and copying the contents of the buffer to the HD. From HD to floppy is done in the same way. The BIN containing both actions is just 181 bytes. But there are copy programs that copy complete disks in no time, using the C64 as in-between buffer; how do they do that? One idea I have does need the 16 bits interface: writing the still GCR encoded data directly to the HD. I also have enough space to write the data of the header as well to the HD. This would speed up the proces of writing the data back to the floppy. Using two 256-bytes-sectors of the 8-bits interface most probably won't work because I will loose valuable timing telling the HD what next sector to use and thus missing bytes from the floppy as that one won't stop revolving and sending bytes. A disadvantage of storing GCR encoded data is that when using the HD in direct mode, the 1541 has to decode it all the time. And that is not my idea of a fast device. Next idea: adding extra memory. The idea is to read a track in one go and decode and transfer the data to the HD later. Disadvantage: extra hardware needed. No problem for me but I want to keep things as simple as possible for the moment. So any ideas, info or even better, documented source code, is welcome! -- ___ / __|__ / / |_/ 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. APG Algemene Pensioen Groep NV is gevestigd te Heerlen en is ingeschreven in het handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617 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 it's 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. APG Algemene Pensioen Groep NV is registered in the trade register of the Chamber of Commerce Limburg, The Netherlands, registration number: 14099617 Message was sent through the cbm-hackers mailing listReceived on 2009-05-07 09:17:19
Archive generated by hypermail 2.2.0.