Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!tandem!zorch!amiga0!mykes From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz) Newsgroups: comp.sys.amiga.programmer Subject: Re: Correct code for turning off 020/030 caches? Message-ID: Date: 6 Jun 91 07:28:28 GMT References: <1991Jun5.033401.27422@en.ecn.purdue.edu> Organization: Amiga makes it possible Lines: 33 In article <1991Jun5.033401.27422@en.ecn.purdue.edu> doctorj@en.ecn.purdue.edu (Jeffrey W Davis) writes: >I need to know the best way to turn off the instruction cache (or all >caches) on a 68020 or 30 system. It needs to work under both 1.x and 2.x >versions of Kickstart. > >Please give a segment of code in assembly to do this. I do not have >all of my manuals at the moment to locate the 'legal' system calls. This >code will be in a romtag routine. > >Also, I am checking for the LEFT mouse button being pressed with > > btst.b #6,$bfe001 > >Again, since I don't have my books, what is a similar check for the RIGHT >mouse button? > >*********************************************************** >* Jeff Davis * Relax! And get into /// * >* doctorj@en.ecn.purdue.edu * the STRESS!!! /// * >* * \\\///030 * >* * -Gigahertz!- Amiga\XX/ 882 * >*********************************************************** > -=[ In Stereo Where Available ]=- RIGHT MOUSE BUTTON: btst.b #2,$dff016 -- **************************************************** * I want games that look like Shadow of the Beast * * but play like Leisure Suit Larry. * ****************************************************