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

Comparing BasiliskII/src/sony.cpp (file contents):
Revision 1.7 by cebix, 2000-07-14T21:29:10Z vs.
Revision 1.8 by cebix, 2000-07-22T16:07:18Z

# Line 449 | Line 449 | int16 SonyControl(uint32 pb, uint32 dce)
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)
# Line 503 | Line 503 | int16 SonyStatus(uint32 pb, uint32 dce)
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines