RE: 1541IDE: weird problem

RE: 1541IDE: weird problem

From: ruud.baltissen_at_apg.nl
Date: Mon, 18 May 2009 08:00:11 +0200
Message-ID: <3FAF2D74FB701448B997B2CB7A0076C20F4C0AF7@winsv116.office01.internalcorp.net>
Hallo Spiro, André,


Hmm, one reply of mine is missing. Seems I again used the wrong user to reply from home :(


> are you sure the data on disk is ok? 

If you mean the original disk, yes. And the copy from the harddisk works fine as well. Just the content of the harddisk isn't loadable.


> It seems to me when you create more files such
> that a new directory block is used, the previous
> directory block becomes mangled.

Don't forget the fact that the data on another partition of the harddisk was copied, not created. So no chance that 1541IDE could mangle it. And then there is the fact that I compared various data and directory sectors of the harddisk with those of the original floppy: no differences found.


> Did the disk editor use the directory entry
> start block number?

I have two very simple readers written in Basic. One version accepts Track/Sector as input and searches in the given image using the 1541 DOS. The other version accepts LBA parameters and only uses M-R and M-W commands. And therefore is completely 1541 DOS independant.


> Long shot, and I'm not exactly familiar with 1541IDE...

If interested: http://www.Baltissen.org/files/idejd3.asm 

>From $C000 on you'll find the JiffyDOS version of the 1541. There were needed, you'll find tweaks to the $8000/$BFFF area where you find the harddisk related routines. These tweaks are mainly JSR's or JMPs to keep the original ROM as intact as possible. Using both the floppy and harddisk meant I could not discard some of the original routines to free space and therefore I had to add extra ROM. Adding 16 KB means there is no need to mess around with the original ROM which means enables me to use software/cartridges, like the Power Cartridge, that depend on some of the original routines. 


Yesterday evening I got this idea to find out where it goes wrong: I try to reproduce the error with the very first version of 1541IDE. This version is as basic as possible IMHO: only the minimum is done to make it work with an harddisk instead with a floppy drive. I only have to create 17 files and see if the problems occurs here as well. If it does, I have a big, big problem. If it doesn't, I only have to find out in what following version the error is introduced.


--
     ___
    / __|__
   / /  |_/     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 list
Received on 2009-05-18 08:10:24

Archive generated by hypermail 2.2.0.