/*
 * TestLib.c :
 * -----------
 * Auteur        : Xavier Mertens
 * Version   $VER: 1.000 
 * Création      : 11 Feb 1993 - 13:32
 * Modification  : -
 * Langage       : SAS/C V6.00
 * Compatibilité : 1.3 - 2.x - 3.0
 * Description   : Programme de test de la system.lib 
 *
 */

#include <exec/types.h>
#include <stdio.h>

#include "system.h"

main(){
  printf("TestLib v1.000 © Xavier Mertens (11.02.93)\n\n");
  printf("Routine CheckOsVersion           : %d\n",CheckOsVersion());
  printf("Routine StartFromWb              : %d\n",StartedFromWb());
  printf("Routine StrCheckSum(\"Hello\")     : %d\n",StrCheckSum("Hello"));
  printf("Routine TestVideoMode            : %d\n",TestVideoMode());
  printf("Routine ChipMem(TOTAL)           : %d\n",ChipMem(TOTAL));
  printf("Routine ChipMem(CURRENT)         : %d\n",ChipMem(CURRENT));		
  printf("Routine FastMem(TOTAL)           : %d\n",FastMem(TOTAL));
  printf("Routine FastMem(CURRENT)         : %d\n",FastMem(CURRENT));		
  printf("Routine ARexxPresent()           : %d\n",ARexxPresent());
  printf("Routine WaitMouse()              : ");
  WaitMouse();
  printf("Ok!\n");
  printf("Routine WaitKey()                : ");
  WaitKey();
  printf("Ok!\n");
  printf("Routine CurrentTime()            : %s\n",CurrentTime());
  printf("Routine FreeSpace(\"DH0:\")        : %d\n",FreeSpace("DH0:"));
  printf("Routine ProtectedDevice(\"DH0:\")  : %d\n",ProtectedDevice("DH0:"));
  printf("Routine DiskPresent(0)           : %d\n",DiskPresent(0));
  exit();
}

/* Eof */
