ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/disk.cpp
(Generate patch)

Comparing BasiliskII/src/disk.cpp (file contents):
Revision 1.17 by gbeauche, 2005-07-24T14:05:16Z vs.
Revision 1.19 by gbeauche, 2008-01-01T09:40:31Z

# Line 1 | Line 1
1   /*
2   *  disk.cpp - Generic disk driver
3   *
4 < *  Basilisk II (C) 1997-2005 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 510 | Line 510 | int16 DiskStatus(uint32 pb, uint32 dce)
510                          Mac2Mac_memcpy(pb + csParam, info->status, 22);
511                          return noErr;
512  
513 +                case 44: // get startup partition status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.21.html
514 +                        printf("WARNING: DiskStatus(44:'get startup partition status') Not Implemented\n");
515 +                        return statusErr;
516 +
517 +                case 45: // get partition write protect status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.23.html
518 +                        printf("WARNING: DiskStatus(45:'get partition write protect status') Not Implemented\n");
519 +                        return statusErr;
520 +
521 +                case 46: // get partition mount status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.22.html
522 +                        printf("WARNING: DiskStatus(46:'get partition mount status') Not Implemented\n");
523 +                        return statusErr;
524 +
525 +                case 70: // get power mode status: http://developer.apple.com/documentation/Hardware/DeviceManagers/ata/ata_ref/ATA.24.html
526 +                        printf("WARNING: DiskStatus(70:'get power mode status') Not Implemented\n");
527 +                        return statusErr;
528 +
529                  default:
530                          printf("WARNING: Unknown DiskStatus(%d)\n", code);
531                          return statusErr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines