home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / atari / st / tech / 4616 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!tdb!m91der
  3. From: m91der@tdb.uu.se (Daniel Eriksson)
  4. Subject: Re: $118 ..
  5. Message-ID: <1992Aug29.160554.17317@tdb.uu.se>
  6. Organization: Uppsala university, Sweden
  7. References: <1992Aug26.114326.25188@prl.dec.com>
  8. Date: Sat, 29 Aug 1992 16:05:54 GMT
  9. Lines: 22
  10.  
  11. amos@prl.dec.com (Samos) writes:
  12. : What is bad in touching to $fffc02 ?
  13. : you do not need to write 2 or 3 differents routines
  14. : in the 200Hz vector, keyboard vector and I don't know what else..
  15.  
  16. Well, first of all you'll destroy all packages sent from the keyboard
  17. processor since when you read/test $FFFFFC02 (for example) you'll also
  18. 'tell' the keyboard processor to put a new value in the register. This
  19. will cause the mouse/joystick to behave VERY strange. The only task that
  20. should read/test $FFFFFC02 is the OS itself (or you should AT LEST never
  21. let more than _one_ task read/test it)! So unless you rewrite the
  22. whole OS-routine for keyboard-reading you shouldn't touch $FFFFFC02!!!
  23.  
  24. One should ALWAYS be extremely careful when dealing with memory-mapped
  25. registers from OS-friendly programs (and a screen-saver should be at
  26. least 100% OS-friendly! :-).
  27.  
  28. ---
  29. Daniel Eriksson        Internet : m91der@tdb.uu.se, den@hgs.se
  30. Gardskarsvagen 6B      Fidonet  : 2:205/229 (Doomdark's Revenge)
  31. 814 93  SKUTSKAR       IRC      : ddf ('Daniel of Delta Force')
  32. SWEDEN                 Voice    : +46 (0)26 72905 or 72901
  33.