Re: [cc65] Atari sector size detection

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-10-29 17:23:25


>>> Christian Groessler <cpg_at_aladdin.de> 10/28/02 02:40PM >>>

>I will try the code and see how it works. This is still SpartaDOS
>specific, I wonder whether there is a non DOS-dependent way...

Here is some more info from c.s.a.8 if you are not watching the thread (again from Stefan Dorndorf, this guy seems to know his disk drives!):

>The 1050 sets Bit 7 in $2EA, if the disk is enhanced density. So you
>get the following table for density checking:
>
>Bit 7  Bit 5    Density
>0      0        Single
>1      0        Enhnaced (Medium)
>0      1        Double
>
>This works with most drives. Some drives need sector 1 to be read
>before the status command delivers the correct density of the inserted
>disk. But this doesn't work with the XF551. The best way to do a
>density check on the XF551 is to read sector 4 via SIO with $303 set
>to zero (this is to avoid checksum errors, if the sector length in
>$308/9 isn't correct (128 or 256 ?)).

Hope that helps!



----------------------------------------------------------------------
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-10-29 17:24:20 CET