openem.h

Go to the documentation of this file.
00001 #ifndef __OPENEM_H__
00002 #define __OPENEM_H__
00003 
00042 // Include for MS VC 2005/express
00043 #ifdef MSVC8
00044 #include "oe_comp_msvc.h"
00045 #endif
00046 
00047 // Include for x86 platform
00048 #include "oe_plat_x86.h"
00049 
00050 // Include services
00051 #include "services/services.h"
00052 
00053 // Default is for all CPU libs to compile with debug support on.
00054 // This is SLOWER by a bit. Comment a line out to remove debug support.
00055 #define DEBUG_CPU_M65C02
00056 #define DEBUG_CPU_RCA1802
00057 #define DEBUG_CPU_I8086
00058 
00059 // This next one controls wether or not 'dirty' bits are modified during memory addressing
00060 //#define OE_PAGETABLE_DIRTYBITS
00061 
00062 // -- Define ASSERT macro so that it'll work in debug mode, but compile to nothing in release.
00063 #ifndef NDEBUG
00064 #include <assert.h>
00065 #define OE_ASSERT assert /* call assert() function */
00066 #else
00067 #define OE_ASSERT /* NOTHING */
00068 #endif
00069 
00070 
00071 #endif
00072 

Generated on Sat Sep 9 03:50:44 2006 for Openem APIs by  doxygen 1.4.7