home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / atari / st / tech / 6616 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.9 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!yorkohm!minster!mjl-b
  2. From: mjl-b@minster.york.ac.uk
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: What is user activity?
  5. Message-ID: <726852019.7184@minster.york.ac.uk>
  6. Date: 12 Jan 93 15:20:20 GMT
  7. Organization: Department of Computer Science, University of York, England
  8. Lines: 32
  9.  
  10. Having posted my screen blanker to c.b.a.st and the Atari archive, I got
  11. some new feedback about it and screen blankers in general.
  12.  
  13. As well as pointing out bugs, the problem of detecting user activity was
  14. raised. My screen blanker detects user activity in two ways.
  15.  
  16. It hooks in an IKBD interrupt handler and hence detects key depression (and
  17. release) and mouse movements. It also has a hook into the BIOS trap, so that
  18. any output via the BIOS bcon*() routines is regarded as "activity" --
  19. something is happening.
  20.  
  21. The problem comes with those programs that install their own IKBD handler
  22. and that also do not do any BIOS output. There aren't many of these programs
  23. around, but it would be nice to have a consistent way of detecting user
  24. activity that worked with everything.
  25.  
  26. Jwahar Bammi suggested watching for VDI blits (i.e. calls to vro_copyfm). I
  27. don't like this because an additional GEM/AES handler will make the already
  28. slow VDI and AES even slower. I also have a gut feeling that there may be
  29. programs out there that blit stuff around even when nothing's happening.
  30. There's also the problem of those programs that use their own blit code for
  31. speed (such as Tempus and That's Write).
  32.  
  33. So, what do people think are good ways of detecting user activity? What
  34. about multiple applications under MultiTOS? Is watching for blit operations
  35. a good idea?
  36.  
  37. Mat
  38.  
  39. | Mathew Lodge                      | "What think you, my lord, of... Love?" |
  40. | mjl-b@minster.york.ac.uk          | "You mean rumpy-pumpy?"                |
  41. | Langwith College, Uni of York, UK |  -- Blackadder II                      |
  42.