Added reference to dio_query_sectcount().
git-svn-id: svn://svn.cc65.org/cc65/trunk@3893 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
8f59614438
commit
5abf880933
1 changed files with 16 additions and 3 deletions
19
doc/dio.sgml
19
doc/dio.sgml
|
@ -67,15 +67,21 @@ This function will write the memory contents at buffer to the sector specified
|
|||
by <tt>sect_num</tt>. A verification is performed.
|
||||
<p>
|
||||
|
||||
Use the <tt><ref name="dio_query_sectsize" id="sectsize"></tt> function to query the size of a sector.
|
||||
Use the <tt><ref name="dio_query_sectsize" id="sectsizecount"></tt> function to query
|
||||
the size of a sector and the <tt><ref name="dio_query_sectcount" id="sectsizecount"></tt>
|
||||
function to query the number of available sectors.
|
||||
<p>
|
||||
|
||||
All these functions will return 0 for success and an OS specific error code in
|
||||
case of failure.
|
||||
<p>
|
||||
|
||||
<sect>Querying sector size<label id="sectsize"><p>
|
||||
<sect>Querying sector size and count<label id="sectsizecount"><p>
|
||||
|
||||
Some systems support multiple diskette formats which have different sector sizes
|
||||
and/or different sector counts.
|
||||
<p>
|
||||
|
||||
Some systems support multiple diskette formats which have different sector sizes.
|
||||
The following function returns the sector size of the currently inserted disk:
|
||||
|
||||
<tscreen><verb>
|
||||
|
@ -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 <htmlurl url="atari.html" name="Atari">
|
||||
specific platform documentation.
|
||||
<p>
|
||||
|
||||
The following function returns the sector count of the currently inserted disk:
|
||||
|
||||
<tscreen><verb>
|
||||
sectnum_t __fastcall__ dio_query_sectcount(dhandle_t handle);
|
||||
</verb></tscreen>
|
||||
|
||||
<sect>Converting sector numbers<p>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue