Rio Car MP3 Player (Animated)
An animated Towers of Hanoi for the Rio Car MP3 player (formerly Empeg).
The source code tar-ball contains a pre-compiled program called emphanoi, that can be transferred to the Empeg using one of many methods, the easiest of which if you are using Linux, and you do not have an ftp server (or client) set-up on the Empeg, is zmodem transfer:
- Connect to the Empeg using minicom from Linux, say. Type
qto drop into a shell. - Mount the root partition read-write by typing
rw. Change directory to/tmp. - Type
rz -b - Type
Alt-Zto bring up the commands menu in minicom. Typesto initiate a file send. Type in the location ofemphanoion the local system. The binary transfer should proceed to finish. - As you go back to the shell, make sure file permissions on
emphanoiare appropriate (like0755). - Mount the root partition read-only by typing
ro. Run/tmp/emphanoi.
The program takes a number as its only argument, which is the number of disks to start the puzzle with. Prior to the animation, the number of disks can be decreased or increased by using the volume knob. Pushing the volume knob starts the animation, during which the knob can be used to vary animation speed. Pushing the top button at any time exits.
hanoi-gfx-empeg.tar.gz