News for hackers. Stuff that matters.
Re:Apple Donates MacPaint Source Code To Computer History Mu... by trop on Tuesday July 20, 2010 @02:33AM (#1531338)
In PaintAsm.a:

          .FUNC Monkey
 ;---------------------------------------------------------------------
 ;
 ;  FUNCTION Monkey: BOOLEAN;
 ;
          TST      MonkeyLives                ;IS THE MONKEY ACTIVE ?
          SGE      4(SP)                      ;YES IF >= ZERO
          NEG.B    4(SP)                      ;CONVERT TO PASCAL BOOLEAN
          RTS
According to http://folklore.org/StoryView.py?project=Macintosh&story..., this was used to detect an keypress/mousemove/mousepress-generating testing tool and turn off a few things (Apple menu, File menu, and Quit command, in this case).
Re:Apple Donates MacPaint Source Code To Computer History Mu... by cosmicray on Tuesday July 20, 2010 @03:55PM (#1533262)
MonkeyLives (aka low memory global address $100) was a system global that was usually off. If you saw it on, it indicated that the equivalent of a monkey was loose on the keyboard. IOW, don't do anything dangerous when true.
Re:Apple Donates MacPaint Source Code To Computer History Mu... by ja27 on Tuesday July 20, 2010 @01:35PM (#1532769)
Always mount a scratch monkey.