Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!en.ecn.purdue.edu!doctorj From: doctorj@en.ecn.purdue.edu (Jeffrey W Davis) Newsgroups: comp.sys.amiga.programmer Subject: Correct code for turning off 020/030 caches? Message-ID: <1991Jun5.033401.27422@en.ecn.purdue.edu> Date: 5 Jun 91 03:34:01 GMT Distribution: usa Organization: Purdue University Engineering Computer Network Lines: 22 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 ]=-