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:
sectsize_t __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:
sectnum_t __fastcall__ dio_query_sectcount(dhandle_t handle);