Re: How many floppies can I use with a Apple IIe
- From: dempson@xxxxxxxxxxxxx (David Empson)
- Date: Tue, 9 Oct 2007 13:43:54 +1300
Warren Ernst <wernst@xxxxxxxxx> wrote:
On Oct 8, 4:19 pm, Rusty <rdek...@xxxxxxxxx> wrote:
On Oct 8, 6:54 pm, Linards Ticmanis <ticma...@xxxxxx> wrote:
Other than needing a different controller, what are the differences
between the "smart" 800k drive and the "dumb" 800k drive. Is it that
the "smart" drive had more of the control electronics onboard so as to
need a less-sophisticated controller, or was it something else
entirely?
The drive *mechanism* is identical. I've swapped drive mechanisms
between Unidisk 3.5's and Apple 3.5's without problems. So that's not
it.
The difference is in the electronics. The UniDisk has its own 6502
processor and (I think) 2 kb of RAM to act as a buffer for the
relatively slow and dumb //c (with newer ROMS) and //e (with Liron
card) . The Apple 3.5 Drive has no smarts or buffer, and it is
expected the host computer (A GS or early Macintosh) has enough speed
and smarts to handle the data stream. The SuperDrive uses its own RAM
and "smarts" to handle an Apple 3.5 Drive in a //e.
Minor correction: The SuperDrive _Card_ (i.e. "Apple II 3.5 Disk
Controller Card") uses its own processor to handle an Apple 3.5 Drive in
a IIe.
It is really only a question of performance, not intelligence. 8-bit
Apple II models running at 1 MHz simply aren't fast enough to keep up
with the data stream to/from a 3.5" drive mechanism, which uses 2
microsecond bit cells, compared to 4 microseconds for the 5.25" drive.
The computer has to keep up with transferring bytes every 16
microseconds for a 3.5" drive, or 32 microseconds for a 5.25" drive.
The UniDisk 3.5 introduced the SmartPort protocol, which involves the
drive's internal controller reading the sector (with 2 microsecond bit
cells), turning it into a SmartPort data packet, then using the
SmartPort protocol to transfer it to the Apple II via the disk connector
(using 4 microsecond bit cells). The same process is used (in reverse)
for writing.
This means that a UniDisk 3.5 is able to run on a IIe or IIc, with the
same timing as a 5.25" drive and without requiring special support
hardware (other than the Liron controller card, which has an IWM disk
controller but no other support hardware, or the IIc's built-in IWM).
The Apple IIgs has a fast enough CPU that it can keep up with the 3.5"
drive mechanism, so it can use one natively.
The SuperDrive card has its own processor (running at 2 MHz) and a fair
amount of RAM, so it is able to keep up with 16 microseconds per disk
byte and is also able to do more extensive buffering for transferring
data through the 1 MHz interface to the Apple II.
The IIc+ has two solutions: Apple introduced some buffering hardware
which allows it to keep up with a 3.5" drive, and they also added an
accelerator, so it could probably keep up with the 3.5" drive in
software even without the extra hardware support.
Otherwise, the UniDisk is slightly slower. It has a 4:1 sector
interleave while the Apple 3.5 has a 2:1 sector interleave.
This is entirely due to the "double buffered" nature of the UniDisk 3.5
and its limited internal RAM. By the time it has read a sector into
internal RAM, converted it and sent it to the host computer, and the
host has asked for the next sector, three sectors have already gone by,
so a 4:1 interleave is required for maximum performance. The UniDisk 3.5
doesn't have enough RAM to pre-emptively read ahead an extra sector.
On a Mac or a ROM 3 IIgs (or a ROM 1 IIgs running GS/OS), it is possible
to keep up with a 2:1 interleave on a 3.5" disk. A ROM 1 IIgs running
ProDOS-16 or ProDOS-8 isn't quite fast enough, so it is best to use 4:1
interleave there as well. (2:1 should be OK if you have an accelerator.)
The ROM 3 IIgs improved the disk controller firmware to add a track
buffer, and GS/OS has a similar technique, so either of these allows
fast reads and writes.
The Superdrive card also has enough RAM to buffer entire tracks, so it
can handle 1:1 interleave for read, but gets best write performance at
2:1 interleave.
Each can read and write disks formatted in the other, but the speed
degrades slightly when this happens.
I dispute "slightly".
Using a 4:1 interleave disk with a drive and computer capable of 2:1
will result in half the performance compared to using a 2:1 disk (apart
from track seek times, which are the same).
Using a 2:1 interleave disk with a drive and computer which can only
keep up with 4:1 will result in a huge drop in performance, because an
entire revolution of the disk is required to access sequential sectors,
resulting in about 1/8 to 1/12 of the performance compared to using a
4:1 disk.
You will mainly notice this effect when doing things like block-level
disk copies, but it will affect all operations on the disk with software
which is trying to read or write as fast as possible.
If the software is too slow and reads or writes individual sectors with
moderate delays, then you are no worse off with either interleave, as it
will need entire revolutions to get to the next sector anyway.
For shared disks that might be used on a slower computer, use 4:1.
If your computer and drive are capable of 2:1, then use it for your own
disks and for those which will be shared with other "fast" computers.
--
David Empson
dempson@xxxxxxxxxxxxx
.
- References:
- How many floppies can I use with a Apple IIe
- From: MarkW
- Re: How many floppies can I use with a Apple IIe
- From: Linards Ticmanis
- Re: How many floppies can I use with a Apple IIe
- From: Rusty
- Re: How many floppies can I use with a Apple IIe
- From: Warren Ernst
- How many floppies can I use with a Apple IIe
- Prev by Date: Re: How many floppies can I use with a Apple IIe
- Next by Date: Re: How many floppies can I use with a Apple IIe
- Previous by thread: Re: How many floppies can I use with a Apple IIe
- Next by thread: Re: How many floppies can I use with a Apple IIe
- Index(es):
Relevant Pages
|