|
|
| version 1.2, 2003/10/21 11:22:05 | version 1.6, 2004/01/25 05:41:29 |
|---|---|
| Line 3 | Line 3 |
| #define MEMCALL | #define MEMCALL |
| #endif | #endif |
| #if defined(MEMORDERTYPE) && (MEMORDERTYPE != 0) | |
| #error : MEMORDERTYPE != 0 | |
| #endif | |
| // 000000-0fffff メインメモリ | // 000000-0fffff メインメモリ |
| // 100000-10ffef HMA | // 100000-10ffef HMA |
| // 110000-193fff FONT-ROM/RAM | // 110000-193fff FONT-ROM/RAM |
| // 1a8000-1e7fff VRAM1 | // 1a8000-1bffff VRAM1 |
| // 1c0000-1c7fff ITF-ROM BAK | |
| // 1c8000-1dffff EPSON RAM | |
| // 1e0000-1e7fff VRAM1 | |
| // 1f8000-1fffff ITF-ROM | // 1f8000-1fffff ITF-ROM |
| #define USE_HIMEM 0x110000 | |
| enum { | enum { |
| VRAM_STEP = 0x100000, | VRAM_STEP = 0x100000, |
| VRAM_B = 0x0a8000, | VRAM_B = 0x0a8000, |
| Line 30 enum { | Line 39 enum { |
| ITF_ADRS = 0x1f8000 | ITF_ADRS = 0x1f8000 |
| }; | }; |
| #define VRAM_POS(a) ((a) & (VRAM_STEP | 0x7fff)) | #define VRAMADDRMASKEX(a) ((a) & (VRAM_STEP | 0x7fff)) |
| #ifdef __cplusplus | #ifdef __cplusplus |
| Line 39 extern "C" { | Line 48 extern "C" { |
| extern BYTE mem[0x200000]; | extern BYTE mem[0x200000]; |
| void MEMCALL i286_memorymap(UINT type); | |
| void MEMCALL i286_romareamap(UINT16 map); | |
| void MEMCALL i286_vram_dispatch(UINT operate); | void MEMCALL i286_vram_dispatch(UINT operate); |
| BYTE MEMCALL i286_memoryread(UINT32 address); | BYTE MEMCALL i286_memoryread(UINT32 address); |