[comp.sys.mac] turning off the instruction cache

phil@speedy.WISC.EDU (Phillip Krueger) (07/06/87)

My brother recently bought a MacII, and is bothered by how much of his
Mac software bombs on it.  Could somebody please give me directions on
how to turn off the 68020 instruction cache?  I'm hoping that'll help.
Can it be done without an assembler?  Since neither of us is very experienced
with a Mac, a great deal of detail would be greatly appreciated.

    -- Phil Krueger (phil@wisc.edu or phil@crys.wisc.edu)

shibumi@well.UUCP (Kenton Abbott Hoover) (07/07/87)

In article <3814@spool.WISC.EDU> phil@speedy.WISC.EDU (Phillip Krueger) writes:
>Mac software bombs on it.  Could somebody please give me directions on
>how to turn off the 68020 instruction cache?  I'm hoping that'll help.
In MPW Assembler syntax:
		MACHINE	MC68020
CacheOff	MAIN
		CLR	D0
		MOVE 	DO, CACR
		RTS
		END
This is barebones, but it should work.

>Can it be done without an assembler?  Since neither of us is very experienced
>with a Mac, a great deal of detail would be greatly appreciated.

Any language that supports inline code will do this.  Mail for further details.


-- 
!   Kenton A. Hoover             {hoptoad,hplabs,lll-lcc,ptsfa}!well!shibumi ! 
!                                 SNAIL: 1748 Clement Street                 !
!   Prescriptive Technology              San Francisco, CA 94121             !
! "Evil will always triumph over good because good is dumb!"                 !