home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / misc / sci / gfft / source / amigadef.h next >
Encoding:
C/C++ Source or Header  |  1994-07-10  |  2.7 KB  |  96 lines

  1. /***************************************************************************
  2.  *          Copyright (C) 1994  Charles P. Peterson                  *
  3.  *         4007 Enchanted Sun, San Antonio, Texas 78244-1254             *
  4.  *              Email: Charles_P_Peterson@fcircus.sat.tx.us                *
  5.  *                                                                         *
  6.  *          This is free software with NO WARRANTY.                  *
  7.  *          See gfft.c, or run program itself, for details.              *
  8.  *              Support is available for a fee.                      *
  9.  ***************************************************************************
  10.  *
  11.  * Program:     gfft--General FFT analysis
  12.  * File:        amigadef.h   ** SYSTEM DEPENDENT **
  13.  * Purpose:     system dependent definitions
  14.  * Author:      Charles Peterson (CPP)
  15.  * History:     31-May-1993 CPP; Created.
  16.  *               6-Jul-1994 CPP (0.74); allow simultaneous MORE sessions
  17.  * Comment:     This file should NOT include storage allocations.
  18.  */
  19.  
  20. #ifndef AMIGADEF_H
  21. #define AMIGADEF_H
  22.  
  23. /*
  24.  * HELP_PATH_LIST is used for COPYING (Gnu Public License) and help file(s)
  25.  * init files, etc.
  26.  *
  27.  * STARTUP_PATH_LIST is used for finding and reading the startup file
  28.  *
  29.  * "\0" is recognized as the current directory
  30.  * NULL ends the path list
  31.  */
  32.  
  33. #define HELP_PATH_LIST {"\0","S:",NULL}
  34. #define STARTUP_PATH_LIST {"\0","S:",NULL}
  35.  
  36. #define HELP_FILE_NAME "gfft.help"
  37. #define TEMP_DATAFILE_NAME "t:temp-%s.fft-%d"
  38. #define TEMP_NAME_PREFIX "t:temp-"
  39.  
  40. #define PLOT_COMMAND_FILE_NAME "ram:cli.temp-gfft-plot"
  41. #define MORE_COMMAND_FILE_NAME "ram:cli.temp-gfft-more-"
  42. #define GNUPLOT_COMMAND_FILE_NAME "ram:gnuplot.temp-gfft-plot"
  43. #define DELETE_COMMAND_FILE_NAME "ram:cli.temp-gfft-delete-"
  44.  
  45. #define GNUPLOT_STACKSIZE 30000
  46.  
  47. #define MESSAGE_FILE_NAME "ram:temp-gfft-more-"
  48.  
  49. #define DATA_FILE_WILDCARD "t:temp-#?.fft-#?"
  50. #define COMMAND_FILE_WILDCARD "ram:cli.temp-gfft-#?"
  51. #define MESSAGE_FILE_WILDCARD "ram:temp-gfft-more-#?"
  52.  
  53. #define BACKUP_FILE_CHARACTER '_'
  54.  
  55. #define DEFAULT_INPUT_BINARY TRUE
  56. #define DEFAULT_OUTPUT_BINARY FALSE
  57.  
  58. #define DEFAULT_INPUT_BITS 8
  59. #define DEFAULT_OUTPUT_BITS 64
  60.  
  61. #define DEFAULT_INPUT_ZERO 0
  62. #define DEFAULT_OUTPUT_ZERO 0
  63.  
  64. #define DEFAULT_RATE 0   /* This forces an error unless specified */
  65.  
  66. /*
  67.  * Define ULONG, UWORD, UBYTE, and BOOLEAN undefining first if necessary
  68.  */
  69.  
  70. #ifdef ULONG
  71. #undef ULONG
  72. #endif
  73. #define ULONG unsigned long
  74.  
  75. #ifdef UWORD
  76. #undef UWORD
  77. #endif
  78. #define UWORD unsigned short
  79.  
  80. #ifdef UBYTE
  81. #undef UBYTE
  82. #endif
  83. #define UBYTE unsigned char
  84.  
  85. #ifdef BOOLEAN
  86. #undef BOOLEAN
  87. #endif
  88. #define BOOLEAN int
  89.  
  90. /* Four-character IDentifier builder. for 68000 family */
  91. #define MakeID(a,b,c,d)  ((ULONG)(a)<<24L | (ULONG)(b)<<16L | (c)<<8 | (d))
  92.  
  93. #endif /* ifndef AMIGADEF_H */
  94.  
  95.  
  96.