[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading apple disks on PC



In article <BvATa.56060$EZ2.15949@nwrddc01.gnilink.net>,
news.verizon.net <mpender@hotmail.com> wrote:
 
> "Paul Schlyter" <pausch@saaf.se> wrote in message
> news:bfm3n4$gvv$1@merope.saaf.se...
>
>> Anyone wanting to attempt that are free to borrow as much C code
>> as they want from my FID.C (available at
>> http://home.tiscali.se/pausch/apple2/)
>> to access an Apple DOS file system.
> 
> It is a kind offer, but since the FID code works with DSK images instead of
> dealing with physical disks I don't think the code would really help.
 
You have obviously not looked at that code.....
 
It has a (logical) "Read Sector" function, which of course only
indexes into the DSK image and copies a 256-byte block from there.
But if you replace that with a function which reads a real sector off
a real disk, then the file system parts ought to work fine if it's an
Apple DOS 3.3 disk.  Yep, I had that possibility in mind when I wrote
that code .... no I don't have any concrete plans in that direction,
but OTOH you'll never know what use your code may find.
 
> What we really need is source code for a track editor for the IBM PC and
> the Apple.  The code of a program like Locksmith that deals with nibble-
> based protection schemes would take us a long way.
 
Well, if you want to dabble with the disk at the nibble level, I guess
you don't need to worry too much about the file system..... :-)
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Grev Turegatan 40,  SE-114 38 Stockholm,  SWEDEN
e-mail:  pausch at stockholm dot bostream dot se
WWW:     http://www.stjarnhimlen.se/
         http://home.tiscali.se/pausch/