Diff for /np2/i286c/i286c_sf.mcr between versions 1.9 and 1.10

version 1.9, 2003/12/11 21:57:38 version 1.10, 2003/12/17 01:57:42
Line 166 Line 166
 #define BYTE_SHLCL(d, s, c)                                                                                     \  #define BYTE_SHLCL(d, s, c)                                                                                     \
                 (c) &= 0x1f;                                                                                            \                  (c) &= 0x1f;                                                                                            \
                 if (c) {                                                                                                        \                  if (c) {                                                                                                        \
                         if ((c) >= 0x10) {                                                                              \                          if ((c) > 10) {                                                                                 \
                                 (c) &= 7;                                                                                       \                                  (c) = 10;                                                                                       \
                                 (c) |= 8;                                                                                       \  
                         }                                                                                                               \                          }                                                                                                               \
                         (s) <<= (c);                                                                                    \                          (s) <<= (c);                                                                                    \
                         (s) &= 0x1ff;                                                                                   \                          (s) &= 0x1ff;                                                                                   \
Line 180 Line 179
 #define BYTE_SHRCL(d, s, c)                                                                                     \  #define BYTE_SHRCL(d, s, c)                                                                                     \
                 (c) &= 0x1f;                                                                                            \                  (c) &= 0x1f;                                                                                            \
                 if (c) {                                                                                                        \                  if (c) {                                                                                                        \
                         if ((c) >= 0x10) {                                                                              \                          if ((c) >= 10) {                                                                                \
                                 (c) &= 7;                                                                                       \                                  (c) = 10;                                                                                       \
                                 (c) |= 8;                                                                                       \  
                         }                                                                                                               \                          }                                                                                                               \
                         (s) >>= ((c) - 1);                                                                              \                          (s) >>= ((c) - 1);                                                                              \
                         I286_FLAGL = (BYTE)((s) & 1);                                                   \                          I286_FLAGL = (BYTE)((s) & 1);                                                   \
Line 192 Line 190
                 }                                                                                                                       \                  }                                                                                                                       \
                 (d) = (s);                  (d) = (s);
   
   #if !defined(_WIN32_WCE) || (_WIN32_WCE < 300)
 #define BYTE_SARCL(d, s, c)                                                                                     \  #define BYTE_SARCL(d, s, c)                                                                                     \
                 (c) &= 0x1f;                                                                                            \                  (c) &= 0x1f;                                                                                            \
                 if (c) {                                                                                                        \                  if (c) {                                                                                                        \
Line 202 Line 201
                         I286_FLAGL |= BYTESZPF(s) | A_FLAG;                                             \                          I286_FLAGL |= BYTESZPF(s) | A_FLAG;                                             \
                 }                                                                                                                       \                  }                                                                                                                       \
                 (d) = (s);                  (d) = (s);
   #else
   #define BYTE_SARCL(d, s, c)                                                                                     \
                   (c) &= 0x1f;                                                                                            \
                   if (c) {                                                                                                        \
                           SINT32 t;                                                                                               \
                           t = (s) << 24;                                                                                  \
                           t = t >> ((c) - 1);                                                                             \
                           I286_FLAGL = (UINT8)((t >> 24) & 1);                                    \
                           (s) = (t >> 25) & 0xff;                                                                 \
                           I286_OV = 0;                                                                                    \
                           I286_FLAGL |= BYTESZPF(s) | A_FLAG;                                             \
                   }                                                                                                                       \
                   (d) = (s);
   #endif
   
 #define WORD_ROLCL(d, s, c)                                                                                     \  #define WORD_ROLCL(d, s, c)                                                                                     \
                 (c) &= 0x1f;                                                                                            \                  (c) &= 0x1f;                                                                                            \

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


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