Diff for /np2/i386c/memory.h between versions 1.3 and 1.4

version 1.3, 2003/12/09 15:49:14 version 1.4, 2003/12/11 15:02:16
Line 139  void MEMCALL i286_memx_write(UINT32 addr Line 139  void MEMCALL i286_memx_write(UINT32 addr
 #ifdef __cplusplus  #ifdef __cplusplus
 }  }
 #endif  #endif
   
   
 // とりあえず  
 #define GETDWORD(a)             (((UINT32)(a)[0]) |                             \  
                                                 ((UINT32)(a)[1] << 8) |                 \  
                                                 ((UINT32)(a)[2] << 16) |                \  
                                                 ((UINT32)(a)[3] << 24))  
 #define GETWORD(a)              (((UINT16)(a)[0]) | ((UINT16)(a)[1] << 8))  
 #define SETDWORD(a, b)  *((a)+0) = (BYTE)((b));                 \  
                                                 *((a)+1) = (BYTE)((b)>>8);              \  
                                                 *((a)+2) = (BYTE)((b)>>16);             \  
                                                 *((a)+3) = (BYTE)((b)>>24)  
 #define SETWORD(a, b)   *((a)+0) = (BYTE)((b));                 \  
                                                 *((a)+1) = (BYTE)((b)>>8)  
   

Removed from v.1.3  
changed lines
  Added in v.1.4


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