| version 1.13, 2004/02/13 20:31:55 | version 1.22, 2004/03/28 10:50:16 | 
| Line 20  typedef unsigned __int64 UINT64; | Line 20  typedef unsigned __int64 UINT64; | 
 | #define INLINE                          __inline | #define INLINE                          __inline | 
 | #define QWORD_CONST(v)          ((DWORDLONG)(v)) | #define QWORD_CONST(v)          ((DWORDLONG)(v)) | 
 | #define SQWORD_CONST(v)         ((LONGLONG)(v)) | #define SQWORD_CONST(v)         ((LONGLONG)(v)) | 
 |  | #define snprintf                        _snprintf | 
 | #define vsnprintf                       _vsnprintf | #define vsnprintf                       _vsnprintf | 
 | #else | #else | 
 | #include        <stdlib.h> | #include        <stdlib.h> | 
| Line 37  typedef signed __int64  SINT64; | Line 38  typedef signed __int64  SINT64; | 
 | #define REG16           UINT | #define REG16           UINT | 
 |  |  | 
 |  |  | 
 |  | // for x86 | 
 |  | #define LOADINTELDWORD(a)               (*((UINT32 *)(a))) | 
 |  | #define LOADINTELWORD(a)                (*((UINT16 *)(a))) | 
 |  | #define STOREINTELDWORD(a, b)   *(UINT32 *)(a) = (b) | 
 |  | #define STOREINTELWORD(a, b)    *(UINT16 *)(a) = (b) | 
 |  |  | 
 |  |  | 
 |  | #define FASTCALL        __fastcall | 
 |  |  | 
 |  |  | 
 | #include        "common.h" | #include        "common.h" | 
 | #include        "milstr.h" | #include        "milstr.h" | 
 | #include        "_memory.h" | #include        "_memory.h" | 
| Line 73  typedef signed __int64  SINT64; | Line 84  typedef signed __int64  SINT64; | 
 |  |  | 
 | #define SOUNDRESERVE    20 | #define SOUNDRESERVE    20 | 
 |  |  | 
| #define SUPPORT_WAVEMIX | #if defined(CPUCORE_IA32) | 
|  | #define SUPPORT_CRT31KHZ | 
|  | #define SUPPORT_PC9821 | 
|  | #define IA32_PAGING_EACHSIZE | 
|  | #endif | 
 | #define SUPPORT_HOSTDRV | #define SUPPORT_HOSTDRV | 
|  | #define SUPPORT_SWSEEKSND | 
| #define FASTCALL        __fastcall |  | 
 |  |  | 
 |  |  | 
 | #if defined(CPUCORE_IA32) | #if defined(CPUCORE_IA32) | 
 | #define sigjmp_buf                              jmp_buf | #define sigjmp_buf                              jmp_buf | 
 | #define sigsetjmp(env, mask)    setjmp(env) | #define sigsetjmp(env, mask)    setjmp(env) | 
 | #define siglongjmp(env, val)    longjmp(env, val) | #define siglongjmp(env, val)    longjmp(env, val) | 
| #define msgbox(title, msg)              MessageBox(NULL, msg, title, MB_OK) | #define msgbox(title, msg)              TRACEOUT(("%s", title)); \ | 
|  | TRACEOUT(("%s", msg)); \ | 
|  | MessageBox(NULL, msg, title, MB_OK) | 
 | #endif | #endif | 
 |  |  |