home *** CD-ROM | disk | FTP | other *** search
- Hi folks,
-
- This is a little tool I did in a couple of hours (look at the two examples
- and you will see why (UGLY!!)). It Grabs the current pointer using some
- Illegal INTUITIONPRIVATE stuff and creates a file that can be used in C.
- If you are lazy like me you may find it handy.
-
- Syntax :
-
- GetPointer [-d seconds] [-c] [-f filename]
-
- -d delay a number of seconds before grabbing pointer.
- -c make the file a .C file with function call instead of .h .
- -f use this file name.
-
- Examples :
-
- GetPointer -d 10 -f test.h /* wait 10 seconds and put pointer in test.h */
-
- GetPointer -d 5 -c /* wait 5 seconds and put pointer in pointer.c */
-
- There are two example files included with this arc file : Test and Test2.
- These show the two differnt formats and interfaces to set the pointer.
-
- to rebuild the test files do:
-
- cc -o test.o test.c
- ln +cd test -lc /* +cd to force data into chip ram */
-
- etc......
-
- Hope someone finds this useful
-
- Matt Tway
-