<article>
<title>Diskette Sector I/O Routines
<author><url url="mailto:chris@groessler.org" name="Christian Groessler">
-<date>20-Feb-2005
+<date>2014-04-10
<abstract>
The cc65 library provides functions to read and write raw disk sectors.
dhandle_t __fastcall__ dio_open (unsigned char device);
</verb></tscreen>
-The <tt>device</tt> specifies the device to access, with 0 being the first
-device, 1 the second, and so on.
+The <tt>device</tt> specifies the device to access.
<tscreen><verb>
unsigned char __fastcall__ dio_close (dhandle_t handle);
</verb></tscreen>
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.
+to the DIO section in the <url url="atari.html" name="Atari-specific
+platform documentation">.
<p>
The following function returns the sector count of the currently inserted disk: