ideservd for OSX

I recently acquired an IDE64. This is a cartridge for the C64 that lets you connect any sort of storage device with an IDE interface (typically a Compact Flash drive, but can also be an IDE hard drive or a CD-ROM). It also allows files to be transferred to/from a PC via USB.

Unfortunately the software that needs to run on the PC side (ideservd) only seems to be compiled for Windows, although the source code is available from the IDEDOS homepage. The source needed a bit of tweaking to compile on my macbook (OSX 10.6.4), specifically

  • deleting #include from ideserv.c
  • adding “-I /opt/local/include/” and ” -L/opt/local/lib/” to the gcc flags in the Makefile

Once it compiles, there’s some tricks to getting it to run.

First, it needs to be run under sudo, otherwise you will get a message saying “Failed changing root dir”.

Second, you need to disable the FTDIUSBSerialDriver that OSX has loaded automatically, otherwise you will get an error saying “unable to claim usb device. Make sure ftdi_sio is unloaded!”

Here’s a zip file containing the compiled binary and a wrapper script to load/unload FTDIUSBSerialDriver before/after running ideservd. – ideservd-0.24-osx.zip

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.