home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 510.lha / MemPriorityUtil_v1.0 / MemPri.doc < prev    next >
Encoding:
Text File  |  1991-05-07  |  2.8 KB  |  85 lines

  1.  
  2.  
  3.             Memory Priority Utility
  4.             ------ -------- -------
  5.             )1991 Brent Johnson
  6.  
  7.  
  8. Purpose:
  9. --------
  10.     This is a small utility that will show you the priority of each
  11. region of memory that you have available.  You can also change that 
  12. priority if you do not like it. The most useful application for this
  13. program (and the reason I wrote it) is to set the 'Fast Memory' on an
  14. A500 to a lower priority than any 'expansion ram'. The reason for doing
  15. this is because 'Fast Memory' on the A500 is not fast at all. As a
  16. matter of fact, it is as slow as Chip Memory, but the custom chips can
  17. not access it. (The worst of both worlds!)
  18.     
  19.     The default priorities for Fast and expansion ram are both zero,
  20. but since the Fast Memory is listed first, it gets used first. There is
  21. a speed advantage to using expansion ram first, so just include this 
  22. program in your startup-sequence.
  23.  
  24. How to use MemPri:
  25. -----------------
  26.     To list the memory you have, and its current priority setting,
  27. just run the program with no arguments.
  28.  
  29. Work:> MemPri
  30.  
  31. Memory Priority Utility V1.0
  32. )1991 Brent Johnson
  33.  
  34.      Region Name      Size     Start Addr.   Priority
  35.      -----------      ----     -----------   --------
  36.   1  Fast Memory     516888      0x00C004E8       0 
  37.   2  expansion ram    2097120      0x00200020       0
  38.   3  Chip Memory     523232      0x00000420     -10
  39.  
  40. Work:>
  41.  
  42.  
  43.     To change the priority of one of the memory regions, give the region
  44. number (given in the first column of the output) as the first argument,
  45. and the priority you want to set it to as the second argument.
  46.  
  47. Work:> MemPri 1 -5
  48. Work:> MemPri
  49.  
  50. Memory Priority Utility V1.0
  51. )1991 Brent Johnson
  52.  
  53.      Region Name      Size     Start Addr.   Priority
  54.      -----------      ----     -----------   --------
  55.   1  Fast Memory     516888      0x00C004E8      -5 
  56.   2  expansion ram    2097120      0x00200020       0
  57.   3  Chip Memory     523232      0x00000420     -10
  58.  
  59. Work:>
  60.  
  61.  
  62. Notes:
  63. ------
  64.     The program does not do much error checking on the input.  If the
  65. region number does not exist, nothing is changed. The priority is a byte
  66. value (signed), so if you give it something out of range, who knows what
  67. value will end up there. Just try it. I don't think you will be able to
  68. guru the machine by giving bad arguments (but go ahead and try).
  69.     The reason there is no output when you change a value is to make
  70. it very simple to use in a startup-sequence. 
  71.  
  72. (fill in name here)-ware:
  73. -------------------------
  74.     If you have any comments, suggestions, or good jokes, please write
  75. to me. If you use this in your startup-sequence, I would love to hear from
  76. you. Just drop me a post card and let me know about your system. I am very
  77. curious as to how many people find this sort of thing useful.
  78.  
  79.         Brent Johnson
  80.         193 Landover Rd.
  81.         Gahanna, OH 43230  (USA)
  82.  
  83. Oh yea, if anyone is interested in the source, I think $5 would be fair.
  84. (disk and shipping included, US/Canada)
  85.