Diff for /np2/i286c/memory.h between versions 1.2 and 1.7

version 1.2, 2003/10/21 11:22:05 version 1.7, 2003/12/27 11:55:23
Line 7 Line 7
 // 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
   
 enum {  enum {
Line 27  enum { Line 30  enum {
         VRAM1_E         = (VRAM_STEP + VRAM_E),          VRAM1_E         = (VRAM_STEP + VRAM_E),
   
         FONT_ADRS       = 0x110000,          FONT_ADRS       = 0x110000,
         ITF_ADRS        = 0x1f8000          ITF_ADRS        = (VRAM_STEP + 0xf8000)
 };  };
   
 #define VRAM_POS(a)     ((a) & (VRAM_STEP | 0x7fff))  #define VRAMADDRMASKEX(a)       ((a) & (VRAM_STEP | 0x7fff))
   
   
 #ifdef __cplusplus  #ifdef __cplusplus
Line 39  extern "C" { Line 42  extern "C" {
   
 extern  BYTE    mem[0x200000];  extern  BYTE    mem[0x200000];
   
   void MEMCALL i286_memorymap(UINT type);
 void MEMCALL i286_vram_dispatch(UINT operate);  void MEMCALL i286_vram_dispatch(UINT operate);
   
 BYTE MEMCALL i286_memoryread(UINT32 address);  REG8 MEMCALL i286_memoryread(UINT32 address);
 UINT16 MEMCALL i286_memoryread_w(UINT32 address);  REG16 MEMCALL i286_memoryread_w(UINT32 address);
 void MEMCALL i286_memorywrite(UINT32 address, BYTE value);  void MEMCALL i286_memorywrite(UINT32 address, REG8 value);
 void MEMCALL i286_memorywrite_w(UINT32 address, UINT16 value);  void MEMCALL i286_memorywrite_w(UINT32 address, REG16 value);
   
 BYTE MEMCALL i286_membyte_read(UINT seg, UINT off);  REG8 MEMCALL i286_membyte_read(UINT seg, UINT off);
 UINT16 MEMCALL i286_memword_read(UINT seg, UINT off);  REG16 MEMCALL i286_memword_read(UINT seg, UINT off);
 void MEMCALL i286_membyte_write(UINT seg, UINT off, BYTE value);  void MEMCALL i286_membyte_write(UINT seg, UINT off, REG8 value);
 void MEMCALL i286_memword_write(UINT seg, UINT off, UINT16 value);  void MEMCALL i286_memword_write(UINT seg, UINT off, REG16 value);
   
 void MEMCALL i286_memstr_read(UINT seg, UINT off, void *dat, UINT leng);  void MEMCALL i286_memstr_read(UINT seg, UINT off, void *dat, UINT leng);
 void MEMCALL i286_memstr_write(UINT seg, UINT off,  void MEMCALL i286_memstr_write(UINT seg, UINT off,
                                                                                         const void *dat, UINT leng);                                                                                                  const void *dat, UINT leng);
   
 void MEMCALL i286_memx_read(UINT32 address, void *dat, UINT leng);  void MEMCALL i286_memx_read(UINT32 address, void *dat, UINT leng);
 void MEMCALL i286_memx_write(UINT32 address, const void *dat, UINT leng);  void MEMCALL i286_memx_write(UINT32 address, const void *dat, UINT leng);

Removed from v.1.2  
changed lines
  Added in v.1.7


RetroPC.NET-CVS <cvs@retropc.net>