[comp.sys.mac.programmer] The screen saver works!

CXT105@psuvm.psu.edu (Christopher Tate) (01/31/91)

Hurrah!  The screen saver works!

Well, let's qualify that:  it works in all the situations I've tested it
in so far.  This includes forcing it to kick in on top of one of Microsoft
Word's custom Standard File dialogs (with a blinking TE insertion point).
Whew!

The code provides what I consider a good example of a *very* clean trap
patch -- ALL registers are preserved to their values on-entry; there is
no "jmp (a0)" or similar instruction at the termination of the patch.  Also,
it is easy for a programmer to write in code to do miscellaneous drawing on
the screen while it's blacked out.

If anyone is interested in seeing the code, please drop me a note.  If there
is sufficient interest, I'll post the source (with copious comments, BTW!)
to comp.sources.mac.  If I ever work out a way to make it modular, with a
way to plug in external drawing code (a la After Dark), I'll post it, too.

But don't hold your breath for that last one.  First, I'm too busy for it
right now, and second, I don't think I want to tread on the heels of After
Dark, since that product is *SO* well done....

-------
Christopher Tate                   |
cxt105@psuvm.psu.edu               |  You can lead a horse to water,
 ..!psuvax1!psuvm.bitnet!cxt105    |    but a vest has no sleeves.
cxt105@psuvm.bitnet                |