Next Previous Contents

3. Querying sector size and count

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

The following function returns the sector size of the currently inserted disk:

    unsigned __fastcall__ dio_query_sectsize (dhandle_t handle);

On the Atari platform, the sector size is handled specially. Please refer to the DIO section in the Atari specific platform documentation.

The following function returns the sector count of the currently inserted disk:

    unsigned __fastcall__ dio_query_sectcount (dhandle_t handle);


Next Previous Contents