Re: [cc65] dio_query_sectcount() on Atari ?

From: Christian Grössler <chris1groessler.org>
Date: 2012-10-17 12:27:59
On 16.10.12 11:26, Oliver Schmidt wrote:
> I'd even say that it is correct for dio_open() to access the disk (if necessary). If I write a program using DIO that asks the user to insert a disk into a drive I do so before calling dio_open()... 

Yes, in fact on the Atari dio_open already accesses the disk. dio_query_sectsize
only returns the information obtained by dio_open.

> In case you implement dio_query_sectcount() you may want to check out my diodemo.c in the samples directory. It's a sector-by-sector disk copy program (that uses dio_query_sectcount() ). In the samples/README I already claim that diodemo runs on the Atari. Maybe you can have this statement become actually true ;-)

Will do. But give me a bit more time until my Ataris are set up...

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 17 12:28:18 2012

This archive was generated by hypermail 2.1.8 : 2012-10-17 12:28:22 CEST