Menu

#1 Mac OS X support for Series 1 TiVos

open
nobody
None
5
2007-03-31
2007-03-31
No

I'm not sure if the latest drop works for Series 2 TiVo, but it falls over dead for Series 1 TiVo even if I add the #define TARGET_OS_MAC 1 to config.h. Here are the additional needed changes:

In config.h, add the following:

#define TARGET_OS_MAC 1
#include "/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/headers/Endian.h"

Note: you could move this #include into every .c file and it would be okay, too, but I threw it in config.h because it is included pretty much everywhere. By including Endian.h manually, this solves the unresolved symbol error for Endian32_Swap (or maybe _Endian32_Swap).

In addition to these changes, you also must apply the attached patch.

Also, I'm placing Mac OS X patches for pdisk (derived from pdisk-tivo-a2 sources) and tpip (derived from tpip-1.2 sources) on my web site. For these patches, go to:

http://www.darwin-development.org/tivo/

Discussion

  • David A. Gatwood

    Mac OS X fixes for MFS Tools

     
  • David A. Gatwood

    Logged In: YES
    user_id=189212
    Originator: YES

    Note: in case a non-C programmer is reading this, the #include line above should be one line. SF wraps it, but it should start with #include and end after the close quote mark two lines later. :-)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.