From a99d0ceee780466653bb38b82e20ffc13f486bc6 Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Wed, 16 Jun 2010 21:36:50 +0000
Subject: [PATCH] dio_open(): - Use ProDOS 8 unit number as parameter. - Don't
access the drive, just check its presence.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4725 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
doc/apple2.sgml | 9 ++-------
doc/apple2enh.sgml | 11 +++--------
2 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/doc/apple2.sgml b/doc/apple2.sgml
index 6af74b3a5..7b4bd7226 100644
--- a/doc/apple2.sgml
+++ b/doc/apple2.sgml
@@ -498,15 +498,10 @@ The function has the single paramet
slot and drive pair is mapped to that
- drive_id = (slot * 2) + (drive - 1)
+ drive_id = slot * 16 + (drive - 1) * 128
-so that for example slot 6 drive 1 is mapped to succeeds only if a
-formatted disk is present in the drive. However intentionally no check is
-performed on the presence of a ProDOS 8 disk. Therefore access to all standard
-16-sector disks (as for instance DOS 3.3) is possible.
+so that for example slot 6 drive 2 is mapped to .
The function has the single parameter
- drive_id = (slot * 2) + (drive - 1)
+ drive_id = slot * 16 + (drive - 1) * 128
-so that for example slot 6 drive 1 is mapped to succeeds only if a
-formatted disk is present in the drive. However intentionally no check is
-performed on the presence of a ProDOS 8 disk. Therefore access to all standard
-16-sector disks (as for instance DOS 3.3) is possible.
+so that for example slot 6 drive 2 is mapped to