home *** CD-ROM | disk | FTP | other *** search
- BLINK Utilities v3.0
- Blink, Palette Switcher, BlinkSet, BlinkMgr
-
- Copyright (c)1990 by Bill Aycock
-
-
- The Blink Utilities give you quick, easy control over the palettes used in
- your ST. Rather than using the Control Panel accessory and setting your screen
- colors one by one, Blink and Palette Switcher let you install an entire custom
- palette with the click of a mouse. What's more, each uses less than half the
- memory taken up by the Control Panel. Both Blink and Palette Switcher come
- with a set of palettes already installed, but in case you want to create`your
- own custom palettes, the BlinkSet accessory and BlinkMgr will let you do so.
-
- Blink, BlinKSet, and Palette Switcher will run as either programs or desk
- accessorhes by simply renaming the files. They will work in any resolutio^ on
- any ST. The BlinkMgr Librarian runs as a program in eithdr medium or high
- resolution.
-
-
- Blink...
-
- BLINK is a small desk accessory that permp out software-hoarding! */
-
- #include <stdio.h>
- #include "machine.h"
-
-
- /* given n by n matrix of bits R, modify its contents
- to be the transive closure of what was given. */
-
- TC(R, n)
- unsigned *R;
- int n;
- {
- register int rowsize;
- register unsigned mask;
- register unsigned *rowj;
- register unsigned *rp;
- register unsigned *rend;
- register unsigned *ccol;
-
- unsigned *relend;
- unsigned *cword;
- unsigned *rowi;
-
- rowsize = WORDSIZE(n) * sizeof(unsigned);
- relend = (unsigned *) ((char *) R + (n