MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Write Through Init C.Txt

File write-through-init-c.txt
Size 2.0 KB
Category Development
Year 1994
↓ Download write-through-init-c.txt

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

// Disk cache bypass INIT // Copyright (C) April 1994 Stuart Cheshire // Should be compiled as an INIT resource // (use the "custom header" option in Think C) #include // I know an address should be defined as a pointer type (eg 'void *'), // not a 'long', but Apple's Get & Set TrapAddress calls are defined to // use longs, so it's not my fault typedef struct { unsigned short opcode; long addr; } JmpInstruction; typedef void ShowIconFamily(short iconId); void main(void);

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.