User Tools

Site Tools


himdmusictransferformac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
himdmusictransferformac [2009/03/31 23:47] wikiadminhimdmusictransferformac [2009/06/29 14:38] (current) wikiadmin
Line 15: Line 15:
  
 The code does not use the system supplied USB mass storage driver to access the HiMD device, but uses an internal implementation of the FAT file system. Interestingly, while some SCSI commands are standard, the read(12) and write(12) commands are replaced by the vendor-specific commands C0 (let's call it magic read) and C1 (magic write) for data access. It has not yet been tested whether standard read and magic read return the same data for the same sector. The code does not use the system supplied USB mass storage driver to access the HiMD device, but uses an internal implementation of the FAT file system. Interestingly, while some SCSI commands are standard, the read(12) and write(12) commands are replaced by the vendor-specific commands C0 (let's call it magic read) and C1 (magic write) for data access. It has not yet been tested whether standard read and magic read return the same data for the same sector.
 +
 +
 +===== Screenshot =====
 +
 +{{:himdmusictransfer.png?500}}
 +
 +===== Restrictions =====
 +
 +The software contains a blacklist to allow PCM-upload for specific models only (the MZ-RH10 is blacklisted for example). It has not been verified though whether removing the MZ-RH10 from the blacklist by patching the binary will allow full PCM-upload. A patched binary can be found here: [[http://users.physik.fu-berlin.de/~glaubitz/linux-minidisc/himdtransfermac_patched.gz|himdtransfermac_patched.gz]].
 +
 +===== Source Code =====
  
 Here a list of the C++-classes of the HiMD-code: Here a list of the C++-classes of the HiMD-code:
Line 45: Line 56:
   - Decode idv3-Tag from MP3 and create track-info and write to disk   - Decode idv3-Tag from MP3 and create track-info and write to disk
   - Once the application is closed, mount the disk in MacOS again (Icon reappars on desktop)   - Once the application is closed, mount the disk in MacOS again (Icon reappars on desktop)
 +
 +==== Download of a PCM/ATRAC3/+ to a MiniDisc (MZ-RH1 only) ====
 +
 +  - Unmount the MiniDisc within MacOSX (the Disk-icon of the MiniDisc vanishes from desktop)
 +  - Convert input WAV-file to PCM used on HiMD (byte-swap etc)
 +  - Download track onto disk with probably 16kByte blocks
 +  - Prompt user to reload medium or disconnect/reconnect Walkman so that the Walkman calculates and writes MAC for new tracks
 +  - Once the application is closed, mount the disk in MacOS again (Icon reappars on desktop)
 +
 +=== Proof for calculation of MAC by Walkman ===
 +
 +Output of //himdtest// before and after medium reload:
 +
 +before:
 +
 +<code>
 +minimac2:MacOS zedv$ ./himdtest /Volumes/NO\ NAME/ tracks verbose 
 +   1: 3:57 LPCM Unknown artist:Outkast - Hey Ya (Unknown album 0)
 +       0@03428 .. 254@05992
 +     Key: 0000000000000000; MAC: 0000000000000000
 +</code>
 +
 +after:
 +
 +<code>
 +minimac2:MacOS zedv$ ./himdtest /Volumes/NO\ NAME/ tracks verbose
 +   1: 3:57 LPCM Unknown artist:Outkast - Hey Ya (Unknown album 0)
 +       0@03428 .. 254@05992
 +     Key: 0000000000000000; MAC: 178a45ac2d1978c8
 +</code>
  
 ===== Links ===== ===== Links =====
himdmusictransferformac.1238543274.txt.gz · Last modified: 2009/03/31 23:47 by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki