1 |
|
/* |
2 |
|
* sony.cpp - Replacement .Sony driver (floppy drives) |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 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 |
449 |
|
WriteMacInt32(pb + csParam, 0x0104); // External drive |
450 |
|
return noErr; |
451 |
|
|
452 |
< |
case 'SC': { // Format and write to disk |
452 |
> |
case 0x5343: { // Format and write to disk ('SC'), used by DiskCopy |
453 |
|
if (!ReadMacInt8(info->status + dsDiskInPlace)) |
454 |
|
return offLinErr; |
455 |
|
if (info->read_only) |
503 |
|
WriteMacInt32(pb + csParam, ReadMacInt32(info->status + dsMFMDrive) & 0xffffff00 | 0xfe); |
504 |
|
return noErr; |
505 |
|
|
506 |
< |
case 'DV': // Duplicator version supported |
506 |
> |
case 0x4456: // Duplicator version supported ('DV') |
507 |
|
WriteMacInt16(pb + csParam, 0x0410); |
508 |
|
return noErr; |
509 |
|
|
510 |
< |
case 'SC': // Get address header format byte |
510 |
> |
case 0x5343: // Get address header format byte ('SC') |
511 |
|
WriteMacInt8(pb + csParam, 0x22); // 512 bytes/sector |
512 |
|
return noErr; |
513 |
|
|