RE: non-x86 development
- Posted by sephiroth _ <euman2376 at yahoo.com> Jul 24, 2001
- 339 views
martin.stachon at worldonline.cz wrote: > It is a long a time since I have been 'hacking' programs with ResEdit, > but > under Mac there is no code in data fork. Most programs have data fork > empty. > (The resource fork is a great thing. All program data is contained in > program, sorted by type, and easy editable) > I suppose there is small 68k code which decides if run 68k or PPC > version > CODE. i've tested this myself. i built a program with no 68k code and it had no code resource. all PPC code is stored in the data fork. 68k Mac OSes just ignore the data fork when loading a program. that's why you get error -92(resource not found) when running a PowerPC-only binary on an older Mac OS > It s possible to upgrade some 68k machines to PPC. i'd get one of those fancy upgrade cards, but they're so damned expensive($249)!