home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / RiscOS / APP / DEVS / FORTH / BEETLE / BEETLE.ZIP / Beetle / initialt.c < prev    next >
C/C++ Source or Header  |  1997-04-22  |  868b  |  35 lines

  1. /* INITIALT.C
  2.  
  3.     Vrsn  Date   Comment
  4.     ----|-------|-------------------------------------------------------------
  5.     0.00 07nov94
  6.     0.01 09nov94 Added test of initialisation code.
  7.     0.02 30nov94 Changed message on completion for consistency with other test
  8.                  programs, and made main give a return code.
  9.     0.03 17feb95 Modified to work with new version of storage.c, and use
  10.                  btests.h rather than bintern.h.
  11.  
  12.     Reuben Thomas
  13.  
  14.  
  15.     Test that the Beetle headers beetle.h and bportab.h compile properly, and
  16.     that the storage allocation and register initialisation in storage.c
  17.     works.
  18.  
  19. */
  20.  
  21.  
  22. #include <stdio.h>
  23. #include <stdlib.h>
  24. #include "beetle.h"     /* main header */
  25. #include "btests.h"    /* Beetle tests header */
  26.  
  27.  
  28. int main(void)
  29. {
  30.     init_beetle((BYTE *)malloc(1024), 256, 16);
  31.  
  32.     printf("InitialT ran OK\n");
  33.     return 0;
  34. }
  35.