Diff for /np2/i286c/memory.h between versions 1.9 and 1.13

version 1.9, 2004/01/25 05:41:28 version 1.13, 2005/03/21 02:24:23
Line 43  enum { Line 43  enum {
 extern "C" {  extern "C" {
 #endif  #endif
   
 extern  BYTE    mem[0x200000];  extern  UINT8   mem[0x200000];
   
 void MEMCALL i286_memorymap(UINT type);  void MEMCALL i286_memorymap(UINT type);
 void MEMCALL i286_romareamap(UINT16 map);  void MEMCALL i286_romareamap(UINT16 map);
Line 51  void MEMCALL i286_vram_dispatch(UINT ope Line 51  void MEMCALL i286_vram_dispatch(UINT ope
   
 REG8 MEMCALL i286_memoryread(UINT32 address);  REG8 MEMCALL i286_memoryread(UINT32 address);
 REG16 MEMCALL i286_memoryread_w(UINT32 address);  REG16 MEMCALL i286_memoryread_w(UINT32 address);
   UINT32 MEMCALL i286_memoryread_d(UINT32 address);
 void MEMCALL i286_memorywrite(UINT32 address, REG8 value);  void MEMCALL i286_memorywrite(UINT32 address, REG8 value);
 void MEMCALL i286_memorywrite_w(UINT32 address, REG16 value);  void MEMCALL i286_memorywrite_w(UINT32 address, REG16 value);
   void MEMCALL i286_memorywrite_d(UINT32 address, UINT32 value);
   
 REG8 MEMCALL i286_membyte_read(UINT seg, UINT off);  REG8 MEMCALL meml_read8(UINT seg, UINT off);
 REG16 MEMCALL i286_memword_read(UINT seg, UINT off);  REG16 MEMCALL meml_read16(UINT seg, UINT off);
 void MEMCALL i286_membyte_write(UINT seg, UINT off, REG8 value);  void MEMCALL meml_write8(UINT seg, UINT off, REG8 value);
 void MEMCALL i286_memword_write(UINT seg, UINT off, REG16 value);  void MEMCALL meml_write16(UINT seg, UINT off, REG16 value);
   
 void MEMCALL i286_memstr_read(UINT seg, UINT off, void *dat, UINT leng);  void MEMCALL meml_readstr(UINT seg, UINT off, void *dat, UINT leng);
 void MEMCALL i286_memstr_write(UINT seg, UINT off,  void MEMCALL meml_writestr(UINT seg, UINT off, const void *dat, UINT leng);
                                                                                                 const void *dat, UINT leng);  
   void MEMCALL meml_read(UINT32 address, void *dat, UINT leng);
 void MEMCALL i286_memx_read(UINT32 address, void *dat, UINT leng);  void MEMCALL meml_write(UINT32 address, const void *dat, UINT leng);
 void MEMCALL i286_memx_write(UINT32 address, const void *dat, UINT leng);  
   
   // ---- Physical Space (DMA)
   
   #define MEMP_READ8(addr)                                        \
                           i286_memoryread((addr))
   #define MEMP_WRITE8(addr, dat)                          \
                           i286_memorywrite((addr), (dat))
   
   
   // ---- Logical Space (BIOS)
   
   #define MEML_READ8(seg, off)                            \
                           meml_read8((seg), (off))
   #define MEML_READ16(seg, off)                           \
                           meml_read16((seg), (off))
   #define MEML_WRITE8(seg, off, dat)                      \
                           meml_write8((seg), (off), (dat));
   #define MEML_WRITE16(seg, off, dat)                     \
                           meml_write16((seg), (off), (dat));
   #define MEML_READSTR(seg, off, dat, leng)       \
                           meml_readstr((seg), (off), (dat), (leng))
   #define MEML_WRITESTR(seg, off, dat, leng)      \
                           meml_writestr((seg), (off), (dat), (leng))
   #define MEML_READ(addr, dat, leng)                      \
                           meml_read((addr), (dat), (leng))
   #define MEML_WRITE(addr, dat, leng)                     \
                           meml_write((addr), (dat), (leng))
   
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }

Removed from v.1.9  
changed lines
  Added in v.1.13


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