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