Memory Priority Utility ------ -------- ------- )1991 Brent Johnson Purpose: -------- This is a small utility that will show you the priority of each region of memory that you have available. You can also change that priority if you do not like it. The most useful application for this program (and the reason I wrote it) is to set the 'Fast Memory' on an A500 to a lower priority than any 'expansion ram'. The reason for doing this is because 'Fast Memory' on the A500 is not fast at all. As a matter of fact, it is as slow as Chip Memory, but the custom chips can not access it. (The worst of both worlds!) The default priorities for Fast and expansion ram are both zero, but since the Fast Memory is listed first, it gets used first. There is a speed advantage to using expansion ram first, so just include this program in your startup-sequence. How to use MemPri: ----------------- To list the memory you have, and its current priority setting, just run the program with no arguments. Work:> MemPri Memory Priority Utility V1.0 )1991 Brent Johnson Region Name Size Start Addr. Priority ----------- ---- ----------- -------- 1 Fast Memory 516888 0x00C004E8 0 2 expansion ram 2097120 0x00200020 0 3 Chip Memory 523232 0x00000420 -10 Work:> To change the priority of one of the memory regions, give the region number (given in the first column of the output) as the first argument, and the priority you want to set it to as the second argument. Work:> MemPri 1 -5 Work:> MemPri Memory Priority Utility V1.0 )1991 Brent Johnson Region Name Size Start Addr. Priority ----------- ---- ----------- -------- 1 Fast Memory 516888 0x00C004E8 -5 2 expansion ram 2097120 0x00200020 0 3 Chip Memory 523232 0x00000420 -10 Work:> Notes: ------ The program does not do much error checking on the input. If the region number does not exist, nothing is changed. The priority is a byte value (signed), so if you give it something out of range, who knows what value will end up there. Just try it. I don't think you will be able to guru the machine by giving bad arguments (but go ahead and try). The reason there is no output when you change a value is to make it very simple to use in a startup-sequence. (fill in name here)-ware: ------------------------- If you have any comments, suggestions, or good jokes, please write to me. If you use this in your startup-sequence, I would love to hear from you. Just drop me a post card and let me know about your system. I am very curious as to how many people find this sort of thing useful. Brent Johnson 193 Landover Rd. Gahanna, OH 43230 (USA) Oh yea, if anyone is interested in the source, I think $5 would be fair. (disk and shipping included, US/Canada)