RAVAIL, Version 2.0. By Alex Craig Format: RAVAIL [CHIP|FAST|AMIGA|RETINA|TOTAL] Template: CHIP/S,FAST/S,AMIGA/S,RETINA/S,TOTAL/S Purpose: To report the amount of CHIP, FAST, and RETINA graphics memory available. Requires Kickstart 2.04 or better. Path: Where every you want I guess. Specification: RAVAIL gives a summary of the system much the same was as the standard AmigaDOS AVAIL command does. However, RAVAIL also provides information about any memory present on a Retina Graphics display card if it is present. Details given where possible are the amount of free memory, how much is currently in use, how much is installed, and the size of the largest free chunk not yet allocated. By using one of the CHIP, FAST, AMIGA, RETINA, or TOTAL options you can have RAVAIL display only the number of free bytes available of that type of memory. This is instead of a complete summary, and can be used in scripts, for example to see if there is enough free memory on a Retina card to display a picture, or open a particular screen. Example 1: 1> RAVAIL Type Available Allocated Installed Largest CHIP 1833808 259248 2093056 1823168 FAST 10756864 6020352 16777216 10519512 RETINA 2753280 1441024 4194304 n/a AMIGA 12590672 6279600 18870272 10519512 TOTAL 15343952 7720624 23064576 n/a A complete summary of the system RAM is displayed. Example 2: 1> RAVAIL RETINA 2753280 The number of bytes of free Retina graphics memory is displayed. About RAVAIL: This little tool was written using SAS/C 6.3 on my A4000/040 with a 4 meg Retina card. I wrote it because I got fed up with having two separate memory statistic commands for two different types of memory. It may not provide all the functionality of the system AVAIL, but then how often do you really use AVAIL FLUSH?! I may however see if I can extend it to a list of open Retina Screens, ala RETIAAVAIL. If you have any problems with this command please let me know. I can be reached on the InterNET via email at: eezer@dcs.warwick.ac.uk Or at home as: Alex Craig 5 Chatsworth Way London SE27 9HR ENGLAND Have fun and enjoy, Alex...