--- BasiliskII/src/sony.cpp 2000/07/14 21:29:10 1.7 +++ BasiliskII/src/sony.cpp 2001/02/02 20:52:57 1.9 @@ -1,7 +1,7 @@ /* * sony.cpp - Replacement .Sony driver (floppy drives) * - * Basilisk II (C) 1997-2000 Christian Bauer + * Basilisk II (C) 1997-2001 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -449,7 +449,7 @@ int16 SonyControl(uint32 pb, uint32 dce) WriteMacInt32(pb + csParam, 0x0104); // External drive return noErr; - case 'SC': { // Format and write to disk + case 0x5343: { // Format and write to disk ('SC'), used by DiskCopy if (!ReadMacInt8(info->status + dsDiskInPlace)) return offLinErr; if (info->read_only) @@ -503,11 +503,11 @@ int16 SonyStatus(uint32 pb, uint32 dce) WriteMacInt32(pb + csParam, ReadMacInt32(info->status + dsMFMDrive) & 0xffffff00 | 0xfe); return noErr; - case 'DV': // Duplicator version supported + case 0x4456: // Duplicator version supported ('DV') WriteMacInt16(pb + csParam, 0x0410); return noErr; - case 'SC': // Get address header format byte + case 0x5343: // Get address header format byte ('SC') WriteMacInt8(pb + csParam, 0x22); // 512 bytes/sector return noErr;