[cc65] dio density detection

From: Shawn Jefferson <jefferson_shawn_a8bit1yahoo.com>
Date: 2005-02-15 17:41:50
Hi,

This is for the Atari library maintainers (Christian I
guess.) :)

Can we/you put in a short routine to detect SD or DD
during dio_open?  I've been doing a little research
and it should be a matter of:

1. Sending $53 (status) to the disk drive with the
buffer address set at $2EA.

2. Test $2EA: Bit 7=ED (not useful for us), Bit 5 on
indicates DD (according to information I have.)

3. Set the density/sector size in the dio structure.

--
Shawn Jefferson



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 15 17:41:53 2005

This archive was generated by hypermail 2.1.8 : 2005-02-15 17:42:04 CET