|
|
| version 1.12, 2004/02/18 02:03:37 | version 1.17, 2004/06/19 17:30:48 |
|---|---|
| Line 1 | Line 1 |
| #include <windows.h> | #include <windows.h> |
| #include <tchar.h> | |
| #include <stdio.h> | #include <stdio.h> |
| #include <stddef.h> | #include <stddef.h> |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #if defined(UNICODE) && defined(CHARSET_OEM) | |
| #define OSLANG_UTF8 | |
| #else | |
| #define OSLANG_SJIS | #define OSLANG_SJIS |
| #endif | |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| typedef signed char SINT8; | typedef signed char SINT8; |
| typedef unsigned char UINT8; | typedef unsigned char UINT8; |
| typedef signed short SINT16; | typedef signed short SINT16; |
| Line 20 typedef unsigned int UINT32; | Line 24 typedef unsigned int UINT32; |
| #if !defined(SIZE_VGATEST) | #if !defined(SIZE_VGATEST) |
| #define RGB16 UINT32 | #define RGB16 UINT32 |
| #endif | #endif |
| #define SUPPORT_SOFTKBD | #define SUPPORT_SOFTKBD 1 |
| #endif | #endif |
| // for RISC test | // for RISC test |
| #define REG8 UINT | #define REG8 UINT |
| #define REG16 UINT | #define REG16 UINT |
| #define LOW12(a) ((((UINT)(a)) << 20) >> 20) | #define LOW12(a) (((UINT32)((a) << 20)) >> 20) |
| #define LOW14(a) ((((UINT)(a)) << 18) >> 18) | #define LOW14(a) (((UINT32)((a) << 18)) >> 18) |
| #define LOW15(a) ((((UINT)(a)) << 17) >> 17) | #define LOW15(a) (((UINT32)((a) << 17)) >> 17) |
| #define LOW16(a) ((UINT16)(a)) | #define LOW16(a) ((UINT16)(a)) |
| #define HIGH16(a) (((UINT32)(a)) >> 16) | #define HIGH16(a) (((UINT32)(a)) >> 16) |
| Line 43 typedef unsigned int UINT32; | Line 47 typedef unsigned int UINT32; |
| #define GETTICK() GetTickCount() | #define GETTICK() GetTickCount() |
| #if defined(UNICODE) | |
| #define SPRINTF sprintf | |
| #else | |
| #define SPRINTF wsprintf | #define SPRINTF wsprintf |
| #endif | |
| #define __ASSERT(s) | #define __ASSERT(s) |
| #define VERMOUTH_LIB | #define VERMOUTH_LIB |
| #define SOUND_CRITICAL | #define SOUND_CRITICAL |
| #if defined(UNICODE) && defined(CHARSET_OEM) | |
| #define SUPPORT_UTF8 | |
| #else | |
| #define SUPPORT_SJIS | #define SUPPORT_SJIS |
| #endif | |
| #define SUPPORT_16BPP | #define SUPPORT_16BPP |
| #define MEMOPTIMIZE 2 | #define MEMOPTIMIZE 2 |
| Line 60 typedef unsigned int UINT32; | Line 72 typedef unsigned int UINT32; |
| #define SUPPORT_HOSTDRV | #define SUPPORT_HOSTDRV |
| #define SUPPORT_CRT15KHZ | #define SUPPORT_CRT15KHZ |
| #define SUPPORT_SWSEEKSND | |
| #define CPUSTRUC_MEMWAIT | #define CPUSTRUC_MEMWAIT |