home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!caen!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sm86+
- From: sm86+@andrew.cmu.edu (Stefan Monnier)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: $118 ..
- Message-ID: <gebvnoi00VpF0FiV4C@andrew.cmu.edu>
- Date: 29 Aug 92 10:07:48 GMT
- References: <1992Aug26.114326.25188@prl.dec.com>
- <1992Aug29.160554.17317@tdb.uu.se>
- Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
- Lines: 42
- In-Reply-To: <1992Aug29.160554.17317@tdb.uu.se>
-
- Excerpts from netnews.comp.sys.atari.st.tech: 29-Aug-92 Re: $118 ..
- Daniel Eriksson@tdb.uu.s (1116)
-
- > 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
-
-
- Another reason is that you just shouldn't use machine- or device-dependant
- tricks: who knows if this very same location will have the same purpose on,
- say, the Falcon ? or anything else ?
- The only case where it is useful, is when you WANT to write a machine-
- dependant program (such as an OS replacement)!
-
- How nice it is to see YOUR program working on a completely unknown
- machine ! It is "jouissif" (don't worry, it is in french)
-
- Stefan Monnier
-
-
- -----------------------------------------------------
- -- On the average, people seem to be acting normal --
- -----------------------------------------------------
-