From: ol.sc Date: Mon, 25 Aug 2008 20:23:12 +0000 (+0000) Subject: Added reference to dio_query_sectcount(). X-Git-Tag: V2.13.0rc1~362 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5abf8809330cd7bf2295ef23b8836f95a0f686b4;p=cc65 Added reference to dio_query_sectcount(). git-svn-id: svn://svn.cc65.org/cc65/trunk@3893 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/dio.sgml b/doc/dio.sgml index 83a2edc4d..685e3454f 100644 --- a/doc/dio.sgml +++ b/doc/dio.sgml @@ -67,15 +67,21 @@ This function will write the memory contents at buffer to the sector specified by sect_num. A verification is performed.

-Use the function to query the size of a sector. +Use the function to query +the size of a sector and the +function to query the number of available sectors. +

All these functions will return 0 for success and an OS specific error code in case of failure.

-Querying sector size

+Querying sector size and count

+ +Some systems support multiple diskette formats which have different sector sizes +and/or different sector counts. +

-Some systems support multiple diskette formats which have different sector sizes. The following function returns the sector size of the currently inserted disk: @@ -85,6 +91,13 @@ The following function returns the sector size of the currently inserted disk: On the Atari platform, the sector size is handled specially. Please refer to the DIO section in the specific platform documentation. +

+ +The following function returns the sector count of the currently inserted disk: + + + sectnum_t __fastcall__ dio_query_sectcount(dhandle_t handle); + Converting sector numbers