Diff for /np2/bios/bios18.c between versions 1.4 and 1.5

version 1.4, 2003/11/15 07:10:02 version 1.5, 2003/11/29 00:36:00
Line 357  void bios0x18(void) { Line 357  void bios0x18(void) {
                                 pos = I286_CX;                                  pos = I286_CX;
                                 p = gdc.m.para + GDC_SCROLL + (I286_DH << 2);                                  p = gdc.m.para + GDC_SCROLL + (I286_DH << 2);
                                 while((i--) && (p < (gdc.m.para + GDC_SCROLL + 0x10))) {                                  while((i--) && (p < (gdc.m.para + GDC_SCROLL + 0x10))) {
                                         tmp = i286_memword_read(I286_BX, pos);                                          REG16 t;
                                         tmp >>= 1;                                          t = i286_memword_read(I286_BX, pos);
                                         STOREINTELWORD(p, tmp);                                          t >>= 1;
                                         tmp = i286_memword_read(I286_BX, pos + 2);                                          STOREINTELWORD(p, t);
                                           t = i286_memword_read(I286_BX, pos + 2);
                                         if (!(mem[MEMB_CRT_STS_FLAG] & 1)) {    // 25                                          if (!(mem[MEMB_CRT_STS_FLAG] & 1)) {    // 25
                                                 tmp *= (16 * 16);                                                  t *= (16 * 16);
                                         }                                          }
                                         else {                                                                  // 20                                          else {                                                                  // 20
                                                 tmp *= (20 * 16);                                                  t *= (20 * 16);
                                         }                                          }
                                         if (!(mem[MEMB_CRT_STS_FLAG] & 0x80)) {                 // ver0.29                                          if (!(mem[MEMB_CRT_STS_FLAG] & 0x80)) {                 // ver0.29
                                                 tmp >>= 1;                                                  t >>= 1;
                                         }                                          }
                                         STOREINTELWORD(p + 2, tmp);                                          STOREINTELWORD(p + 2, t);
                                         pos += 4;                                          pos += 4;
                                         p += 4;                                          p += 4;
                                 }                                  }

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


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