home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / PowerPC / Dev / PPCRelease / ToolsDebug / PPCSetCacheMode.doc < prev    next >
Encoding:
Text File  |  1998-05-14  |  1.2 KB  |  30 lines

  1. PPCSetCacheMode can be used to set the Zorro2 cache modes
  2. to noncacheable to handle certain PC-Bridgecards.
  3.  
  4. PPCSetCacheMode ADDRESS/A/K SIZE/A/K COPYBACK/S WRITETHROUGH NOCACHE/S NOCACHESERIALIZED/S VERBOSE/S
  5.  
  6. Address represents the start address...
  7.  
  8. Size sets the size of the address which cache modes should be changed.
  9. Don't use a Size that doesn't cover legal memory.
  10.  
  11. CopyBack sets the mode of the address range to Copyback.
  12. Read/Write accesses are done through the Cache and if the Cache
  13. needs place it writes down a Line(16 Bytes) and read a new Line.
  14.  
  15. Writethrough sets the mode of the address range to Writethrough
  16. Read accesses are done through the Cache but Write Access go to
  17. the Cache and to the Memory at once. This mode is speeded up by
  18. the cpu060 writebuffer option which is set by default.
  19.  
  20. NoCache sets the mode of the address range to NoCache.
  21. Read and Write accesses don't use the Cache.
  22.  
  23. NoCacheSerialized sets the mode of the address range to NoCacheSerialized.
  24. Read and Write accesses don't use the Cache and go out in the right order.
  25. This mode is important for IO Addresses.(serialized is GUARD for the PPC)
  26.  
  27. Example to set the whole Z2 area as noncacheable and serialized
  28.  
  29. PPCSetCacheMode address=$200000 size=$800000 nocacheserialized verbose
  30.