Short: UAEVersion, UAEUptime & UAEWait Author: Holger.Hippenstiel AT gmx.de Uploader: Holger Hippenstiel nc-online de Type: util/cli Version: 1.7 Replaces: util/cli/UAETools.lha Architecture: m68k-amigaos >= 3.0.0 Distribution: Aminet Kurz: Tools fuer UAE (Version, Uptime & Wait) UAETools V1.7 ============= 3 Tools for (Win)UAE: UAEVersion UAEUptime UAEWait ****************************************************************************** UAEVersion could display the Version of the UAE running. or you could check for a version like: UAEVersion >NIL: VERSION 4 REVISION 4 IF WARN Echo "Your UAE is too old !" EndIF UAEVersion works with * WinUAE0.86++ * e-uae_0.8.29 (maybe older versions aswell, but didnt check) * FS-UAE (but it seems all versions report V3.3) * Other versions derived from WinUAE might work aswell, please write me if they do. :) ****************************************************************************** UAEUptime shows the Uptime of the host system, it would look like this: Uptime: 12 days 5:24 UAEUptime needs atleast WinUAE 1.6, other UAE's wont work or show nonsens. ****************************************************************************** UAEWait delays a given time or 1 second as default Pattern: MS=MILLIS/N,SEC=SECS=SECONDS/N,MIN=MINS=MINUTES/N,HOUR=HOURS/N Above 100ms the accuracy is decreased to 20ms, because then dos/Delay() is repeatedly called till the given time has passed. UAEWait needs atleast WinUAE1.6, other UAE's wont either work or wait "forever", but you could always press Ctrl-C to break the wait. ****************************************************************************** * !!! Important !!! * * To use any of this tools you need something in your config which creates * * the uae.resource, for example: RTG-Graphics emulation, uaescsi.device, * * bsdsocket.library, uaenet.device and so on. * * If it cant be found you get "No UAE-Information." and a Fail-Returncode. * ****************************************************************************** Update V1.6.1: UAETools will be included in the next AmiKit XE (https://www.amikit.amiga.sk) - Update to check if the WinUAE is up to date and update it accordingly. UAETools works on Amiberry (for ARM-based boards like the Raspberry Pi, ASUS Tinkerboard, Odroid XU4, etc) aswell, their Codebase is based on WinUAE, but will currently show only the WinUAE-Version, i suggested they use the subversion for their updates. UAEVersion was able to display Subversions in V1.6 already (like on WinUAE 4.2.1 -> UAEVersion: 4.2.1 ) now you can check for the subversion aswell: UAEVersion ? VERSION/N,REVISION/N,SUBVERSION/N Update V1.7: After my latest update on http://aminet.net/package/util/boot/CopyMemAIO i noticed Vampire crashes with the "old way" to check for Uae, now all programs just use the uae.resource and no checking of adresses directly. DISCLAIMER This software is subject to the "Standard Amiga FD-Software Copyright Note". It is Giftware as defined in paragraph 4g. If you like it and use it regulary, please send me a small gift. For more information please read "AFD-COPYRIGHT". Diese Software unterliegt der "Standard Amiga FD-Software Copyright Note". Sie ist Giftware wie definiert in Absatz 4g. Falls du sie magst und regelmaessig benutzt, sende bitte ein kleines Geschenk. Fuer mehr Informationen lies bitte "AFD-COPYRIGHT". (/pub/aminet/docs/misc/AFD-FilesV-XX.lha V=Version,XX=Languages) AUTHOR Please send comments, bug-reports or small gifts like a Vampire V4 or a now "worthless :P" NVidia RTX 2080 Ti, or Paypal me to: Holger.Hippenstiel AT gmx.de Hauptstr. 38 71229 Leonberg Germany