home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / hardware / 22010 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  3.2 KB

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