From 16bb0823b8dd4f86a1d1c0c296ec3a03350594e0 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Sun, 21 Jan 2007 17:40:00 +0000 Subject: [PATCH] some documentation of status codes not yet implemented --- BasiliskII/src/disk.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/BasiliskII/src/disk.cpp b/BasiliskII/src/disk.cpp index ec3ba0c6..5bf93477 100644 --- a/BasiliskII/src/disk.cpp +++ b/BasiliskII/src/disk.cpp @@ -510,6 +510,22 @@ int16 DiskStatus(uint32 pb, uint32 dce) Mac2Mac_memcpy(pb + csParam, info->status, 22); return noErr; + case 44: // get startup partition status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.21.html + printf("WARNING: DiskStatus(44:'get startup partition status') Not Implemented\n"); + return statusErr; + + case 45: // get partition write protect status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.23.html + printf("WARNING: DiskStatus(45:'get partition write protect status') Not Implemented\n"); + return statusErr; + + case 46: // get partition mount status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.22.html + printf("WARNING: DiskStatus(46:'get partition mount status') Not Implemented\n"); + return statusErr; + + case 70: // get power mode status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.24.html + printf("WARNING: DiskStatus(70:'get power mode status') Not Implemented\n"); + return statusErr; + default: printf("WARNING: Unknown DiskStatus(%d)\n", code); return statusErr;