home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!Tony-Preston
- From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: Data/Instruction Cache & BURST modes on 68030? Why/when?
- Message-ID: <72290@cup.portal.com>
- Date: Wed, 23 Dec 92 11:15:39 PST
- Organization: The Portal System (TM)
- References: <hellerS.724958427@batman> <72192@cup.portal.com>
- <1992Dec22.212901.860@samba.oit.unc.edu>
- Lines: 44
-
- |>You should leave the setting alone! A small tutorial is in order!
- |>SetPatch will setup the system correctly so that the caches and burst
- |>are correct for the Amiga.
- |>
- |>several long words of data. This happens faster than if each long
- |>word was a separate access. This pre-loads the cache and allows you
- |>to get extra 'hits' on the instruction cache(or data cache). There
- |>are times(code that branches) where this might slow down the cpu, but
- |>in general it wil speed it up slightly.
- |>
- |>The 68020 has a single cache for data and instructions, the 68030
- |>has separate ones. The cache size in this case is 256 bytes. The
- |>68040 has 4096 byte caches for instruction and for data.
- |>
- |>There are no such things as stupid, dumb, or ignorant questions, just
- |>stupid, dumb, or ignorant people that will not ask questions.
- |
- |Thanks a lot for this info. I have always known about the cache and when
- |I use sysinfo it says data cache off so I put a command in my SS to turn
- |it on thinking I was missing something. I guess I'll turn it off. Since
- If you turn on the data cache, you run the risk of crashes if the chipe
- memory is data cached. This is due to the custom co-processors accessing
- the chip memory and changing location while the cpu has the data cached.
- |you are answering questions can you tell me what mungwall and enforcer
- |are? I know people mention using it on a 3000 cause it needs an MMU.
- They are tools for debuging. Enforcer will memory protect the area of
- memory most programs should not be referencing. In C, a null pointer
- is in effect a pointer to address zero. The Enforcer will trap a reference
- via a pointer of this type(uninitialized pointer for example) and give
- a report that will identify(to the programmer) where it happened. it
- also has the side effect of preventing crashes while debugging! If you
- are using CPR(SAS/C 6.1 debugger) and Enforcer,you get a nice friendly
- pointer to the exact source line that caused the problem! MungWall is a
- similar tool that keeps track of what memory(and size of the allocations)
- you allocate. It allows you to find memory a program allocated and did
- not release and in some cases references outside of the allocated memory.
- They are very useful tools.
- |Thanks for being helpful! One other thing, I use an A3000 with 2.04 in
- |rom, is there anyway I can use CPU or some other command to softkick 1.3
- |in rom? (I know I could do it w/o the rom but I just want to go 1.3 in
- |rare times not enough to justify removing the rom.) Thanks!
- There was a tool that developers got that allowed you to build a kickstart
- disk from a ROM, or you could find a 1.3 kickstart. I believe Dave Haynie's
- SETCPU tool will allow that(softkick the machine) if you have an MMU.
-