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

Re: .nib Images to real Apple disks



In article <3D6A8561.613FFD9A@swbell.net>,
Rubywand  <rubywand@swbell.net> wrote:
 
 
> What we need is a utility which will convert .nib to diskette on
> the Apple II.
 
Doing so would be quite feasible.  You could start with ADT, but it
has to be recoded in several areas, to work like this:
 
For each of the 35 (or whatever) tracks do:
 
    1. On the PC: chop off one track from the .nib disk image
    2. Transfer the nibble contents of that track to the Apple II
         over the serial port
    3. On the Apple II: call RWTS to move the head to the appropriate
         track on the target diskette
    4. On the Apple II: write the nibbles to the diskette
 
Unfortunately I cannot write this code myself, since I no longer
have a working 35-track Apple II floppy drive.... (fortunately I
transferred my Apple II diskettes to .dsk images before this drive
failed).
 
To do 4. properly is the hardest part, but here I can contribute
some code, reverse engineered from an early version of Locksmith and
then adapted to run on its own:  it simply takes a buffer of nibblized
data in the Apple II RAM and writes it to the disk, one full track.
Timing is critically important here; that's why this code is hard to
write.
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se
WWW:     http://hem.passagen.se/pausch/index.html
         http://home.tiscali.se/~pausch/