[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hard drive indicator lights in menu bar



In article <c0Si03OMd4QV00@amdahl.uts.amdahl.com>
fadden@uts.amdahl.com (Andy McFadden) writes:

[stuff nuked]

>If anybody wants a small project, all the INIT does is watch for GS/OS
>Read and Write calls (0012/0013/2012/2013) and put up a little green dot
>or a red dot to the left of the apple in the menubar.  Also, it puts up
>an 'R' or a 'W' on the text screen.  The original pixels and text char
>are replaced afterward.

Problem is, when you do that you risk overwriting data.  As any owner of the
Inner/OverDrive will tell you, certain programs think it's cool to directly
read or write data from the SHR screen.  When that happens, there is the
inevitable "black box" up at the corner of the screen from the driver (or init)
changing data when it shouldn't be changed.