🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #24696

Re: Moshe's Nite

#24696
From: Gordan Palameta
Date: Mon, 02 Feb 1987 03:48
27 lines
1851 bytes
In article <8701302044.AA12012@ucbvax.Berkeley.EDU> KPH017%DJUKFA11.BITNET@forsythe.stanford.edu writes:
>
>other things i got on my screen. Wouldn't it be nice if nite also
>turns the screen on when there is any screenactivity ??. And it also
>shouldn't turn it off when there is any activity.
>

In principle, this shouldn't be too hard... all you would have to do, really,
would be to do a CRC check on the 32k screen buffer, and if the CRC value
had changed since the last time you calculated it, this would indicate screen
activity.  Table driven CRCs are pretty fast; if they're not fast enough,
you could simply take the CRC over a sample of every n bytes of the screen
buffer (when n is a prime number to avoid being fooled by fluky regularities
in a screen pattern).

However, what about a blinking cursor?  How do you stop this from being
considered a screen change (hmmm, maybe you could test if the CRC value
alternates between exactly two different values -- I think this might be
worth a try...)

...!seismo!mnetor!lsuc!maccs!gordan     (note dAn or mail may bounce)
Gordan Palameta                  ^  <----'

-- 
------------------------------------
... !seismo!mnetor!lsuc!maccs!gordan   (note ..dAn or mail may bounce)
Gordan Palameta                   ^  <---' 
Technical Details
Message-ID: <410@maccs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!genat!maccs!gordan
References: <8701302044.AA12012@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!genat!maccs!gordan
From: gordan@maccs.UUCP (Gordan Palameta)
Newsgroups: comp.sys.atari.st
Subject: Re: Moshe's Nite
Message-ID: <410@maccs.UUCP>
Date: Sun, 1-Feb-87 22:48:42 EST
Article-I.D.: maccs.410
Posted: Sun Feb  1 22:48:42 1987
Date-Received: Mon, 2-Feb-87 00:35:18 EST
References: <8701302044.AA12012@ucbvax.Berkeley.EDU>
Reply-To: gordan@maccs.UUCP (Gordan Palameta)
Organization: DCSS, McMaster University, Hamilton, Ontario, Canada
Lines: 27