--- np2/win9xc/compiler.h 2004/03/04 16:58:58 1.19 +++ np2/win9xc/compiler.h 2004/03/28 10:50:16 1.22 @@ -38,6 +38,16 @@ typedef signed __int64 SINT64; #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 "milstr.h" #include "_memory.h" @@ -77,12 +87,11 @@ typedef signed __int64 SINT64; #if defined(CPUCORE_IA32) #define SUPPORT_CRT31KHZ #define SUPPORT_PC9821 +#define IA32_PAGING_EACHSIZE #endif #define SUPPORT_HOSTDRV #define SUPPORT_SWSEEKSND -#define FASTCALL __fastcall - #if defined(CPUCORE_IA32) #define sigjmp_buf jmp_buf