Re: [cc65] Atari DIO

Date view Thread view Subject view

From: Piotr Fusik (P.Fusik_at_elka.pw.edu.pl)
Date: 2002-11-05 13:10:46


Hi,

On 5 Nov 2002, Christian Groessler wrote:

> Also there lurk some more problems for a general solution of the
> sector size issue: If I read sectors 1 to 3 on a 256 byte formatted
> disk, I still have to specify sectorsize 128. So sectors 1-3 are
> always 128 bytes on the xf551.
>
> I've read the 256byte sectors formatted disk on a pc (possible since
> it's MFM), and for the sectors 1-3 the first 128 bytes are duplicated
> in the 2nd 128 bytes.
>
> Are sectors 1-3 on any medium always 128 bytes? How is this handled
> e.g. in the SmartIDE code?

2nd 128 bytes can be also written as 0's on some drives. Basically they
are not used and not accessible by most Atari drives.
Atari OS requires sectors 1-3 to be readable as 128-byte to boot from a
drive (booting routine always reads 128 bytes per sector).
Most drives allow access to only first 128 bytes. However, some drives
(e.g. Karin Maxi) can also read/write full 256 bytes.

Bye,
Piotr

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-11-05 13:14:27 CET