|
||||||||
| Home Software Hardware Docs Magazines Forums Search | ||||||||
Stuff C
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat. About--========================_13840704==_ Content-Type: text/plain; charset="us-ascii" Here's something that I knocked up over the bank holiday weekend which might be of interest. Let me know what you think. Cheers JRRK Macintosh users might be interested in my attempt to evaluate the performance of the power PC in a 'real' rather than a benchmark situation. What follows is the source code and FAT binary for a mini drag-and-drop archiver which uses the IEEE compress algorithm and hence is compatible with the original "stuffit". For maximum learning value I tried to make the source compatible with both of the Metrowerks compilers and the traditional THINK_C style of headers. The only real difference in a small program like this is the use of universal proc pointers to handle the apple events required for drag-and-drop operation. Since I couldn't find a better way of doing it I made the FAT binary by manually merging the 68000 version with the powerPC output of the Metrowerks Linker using ResEdit. Despite the 'FAT' designation it is only 24K which might be regarded as acceptable. On a 6100/60 the emulated version of the program knocks an LC-III into a cocked-hat, but the native version achieves possibly only a 50% speedup over the emulated version. I attribute this surprising result to the relatively frequent use of toolbox calls during the operation in order to keep buffer sizes small, and of course the fact that the compiler is only an alpha version. |
||||||||
|
MacTrove — Classic Macintosh Archive —
Full site |
Software |
Search
Classic version — compatible with older browsers. |