]> git.sur5r.net Git - cc65/blobdiff - doc/apple2enh.sgml
Added dummy classification macros for the remaining targets - even for those that...
[cc65] / doc / apple2enh.sgml
index 70fdcf4e71a49a36e06155897105d659d357f57c..38f3e9153669c4e128cd26f238371777b0df49b4 100644 (file)
@@ -243,7 +243,7 @@ example the program <tt/MYPROG/ is loaded by <tt/MYPROG.SYSTEM/.
 
 <sect1>Heap<p>
 
-If the cc65 program can be successully linked as system program using the linker
+If the cc65 program can be successfully linked as system program using the linker
 configuration <htmlurl url="apple2enh-4.html#ss4.3" name="apple2enh-system.cfg"> but
 uses the heap either explicitly or implicitly (i.e. by loading a driver) then
 the memory from &dollar;800 to &dollar;2000 can be added to the heap by calling
@@ -291,7 +291,9 @@ the <htmlurl url="funcref.html" name="function reference"> for declaration and
 usage.
 
 <itemize>
+<item>_auxtype
 <item>_dos_type
+<item>_filetype
 <item>drivecount
 <item>drivelist
 <item>get_ostype
@@ -352,7 +354,7 @@ you cannot do it, it just means that there's no help.
 <descrip>
 
   <tag><tt/a2e.auxmem.emd/</tag>
-  Gives access to 47,5 KB RAM (190 pages of 256 bytes each) on an Extended
+  Gives access to 47.5 KB RAM (190 pages of 256 bytes each) on an Extended
   80-Column Text Card.
   
   Note that this driver doesn't check for the actual existence of the memory
@@ -434,13 +436,6 @@ BASIC.SYSTEM) there are some limitations for DOS 3.3:
 </descrip><p>
 
 
-<sect1>DIO<p>
-
-Although <htmlurl url="dio.html" name="DIO"> generally works with all ProDOS 8
-devices, the function <htmlurl url="dio-3.html" name="dio_query_sectcount()">
-simply always return 280 (which is only correct for a 140 KB disk).
-
-
 <sect1>Direct console I/O<p>
 
 <descrip>
@@ -489,25 +484,37 @@ These are defined to be OpenApple + number key.
 
 <sect1>Interrupts<p>
 
-The runtime for the enhanced&nbsp;Apple&nbsp;//e uses routines marked as <tt/.CONDES/
-type <tt/interruptor/ for ProDOS 8 interrupt handlers. Such routines must be
-written as simple machine language subroutines and will be called automatically
-by the interrupt handler code when they are linked into a program. See the
-discussion of the <tt/.CONDES/ feature in the <htmlurl url="ca65.html"
-name="assembler manual">.
+The runtime for the enhanced&nbsp;Apple&nbsp;//e uses routines marked as
+<tt/.INTERRUPTOR/ for ProDOS 8 interrupt handlers. Such routines must be
+written as simple machine language subroutines and will be called
+automatically by the interrupt handler code when they are linked into a
+program. See the discussion of the <tt/.CONDES/ feature in the <htmlurl
+url="ca65.html" name="assembler manual">.
 
 
 <sect1>DIO<p>
 
-The function <htmlurl url="dio-1.html" name="dio_open()"> has the single parameter
-<tt/drive_id/ to identify the drive to be opened. Therefore an Apple&nbsp;II
-slot and drive pair is mapped to that <tt/drive_id/ according to the formula
+<descrip>
 
-<verb>
+  <tag/Drive ID/
+  The function <htmlurl url="dio-1.html" name="dio_open()"> has the single
+  parameter <tt/drive_id/ to identify the drive to be opened. Therefore an
+  Apple&nbsp;II slot and drive pair is mapped to that <tt/drive_id/ according
+  to the formula
+
+  <tscreen>
     drive_id = slot * 16 + (drive - 1) * 128
-</verb>
+  </tscreen>
+
+  so that for example slot 6 drive 2 is mapped to <tt/drive_id/ 224.
 
-so that for example slot 6 drive 2 is mapped to <tt/drive_id/ 224.
+  <tag/Sector count/
+  The function <htmlurl url="dio-3.html" name="dio_query_sectcount()"> returns
+  the correct sector count for all ProDOS 8 disks. However for any non-ProDOS 8
+  disk it simply always returns 280 (which is only correct for a 140 KB disk).
+  This condition is indicated by the <tt/_oserror/ value 82.
+
+</descrip><p>