"Fossies" - the Fresh Open Source Software Archive

Member "pcemu/global.h" (22 Jan 2001, 1854 Bytes) of package /linux/privat/old/pcemu-1.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "global.h" see the Fossies "Dox" file reference documentation.

    1 /****************************************************************************
    2 *                                                                           *
    3 *                            Third Year Project                             *
    4 *                                                                           *
    5 *                            An IBM PC Emulator                             *
    6 *                          For Unix and X Windows                           *
    7 *                                                                           *
    8 *                             By David Hedley                               *
    9 *                                                                           *
   10 *                                                                           *
   11 * This program is Copyrighted.  Consult the file COPYRIGHT for more details *
   12 *                                                                           *
   13 ****************************************************************************/
   14 
   15 /* This is GLOBAL.H  It contains definitions for the program wide functions */
   16 
   17 
   18 #ifndef GLOBAL_H
   19 #define GLOBAL_H
   20 
   21 #include "mytypes.h"
   22 
   23 /* Added by dtrg. */
   24 
   25 #include <stdio.h>
   26 #include <stdlib.h>
   27 
   28 #ifdef ME
   29 #       include "uprotos.h"
   30 #endif
   31 
   32 #ifndef FALSE
   33 #    define FALSE 0
   34 #endif
   35 #ifndef TRUE
   36 #    define TRUE (!FALSE)
   37 #endif
   38 
   39 #define MEMORY_SIZE (1024*1024+65536)
   40 
   41 #ifdef INLINE_FUNCTIONS
   42 #    define INLINE inline
   43 #    define INLINE2 inline
   44 #else
   45 #    define INLINE
   46 #    define INLINE2
   47 #endif
   48 
   49 #ifdef DEBUG
   50 #   define D(x) x
   51 #else
   52 #   define D(x)
   53 #endif
   54 
   55 #ifdef DEBUG2
   56 #   define D2(x) x
   57 #else
   58 #   define D2(x)
   59 #endif
   60 
   61 #ifdef _HPUX_SOURCE
   62 #ifndef __hpux
   63 #define __hpux
   64 #endif
   65 #endif
   66 
   67 extern BYTE *memory;
   68 extern char *progname;
   69 
   70 void init_cpu(void);
   71 void execute(void);
   72 void exit_emu(void);
   73 void read_pcemurc(void);
   74 
   75 #endif
   76 
   77 
   78 
   79 
   80 
   81