Diff for /xmil/vram/makechr.c between versions 1.1 and 1.2

version 1.1, 2004/08/07 07:19:56 version 1.2, 2004/08/08 09:12:06
Line 9 Line 9
 extern  BYTE    blinktest;  extern  BYTE    blinktest;
   
   
 UINT32 makechr8(UINT8 *dst, UINT pos, UINT count, REG8 udtmp) {  void makechr8(UINT8 *dst, UINT pos, UINT count, REG8 udtmp) {
   
         REG8            atr;          REG8            atr;
         REG8            ank;          REG8            ank;
Line 42  const UINT8  *pat; Line 42  const UINT8  *pat;
                 }                  }
                 (*fn)(dst, dst + count, pat);                  (*fn)(dst, dst + count, pat);
                 (*makeatr8[atr & 15])(dst, dst + count);                  (*makeatr8[atr & 15])(dst, dst + count);
                 return(0x40404040);  
         }          }
         else {                                                                          // PCG          else {                                                                          // PCG
                 if (!(knj & 0x90)) {                                    // PCGの出力                  if (!(knj & 0x90)) {                                    // PCGの出力
Line 54  const UINT8  *pat; Line 53  const UINT8  *pat;
                         fn = makeknj8fn[udtmp & 15];                          fn = makeknj8fn[udtmp & 15];
                 }                  }
                 makeatr_pcg8(dst, count, pat, atr, fn);                  makeatr_pcg8(dst, count, pat, atr, fn);
                 return(0x80808080);  
         }          }
 }  }
   
 UINT32 makechr16(UINT8 *dst, UINT pos, UINT count, REG8 udtmp) {  void makechr16(UINT8 *dst, UINT pos, UINT count, REG8 udtmp) {
   
         REG8            atr;          REG8            atr;
         REG8            ank;          REG8            ank;
Line 91  const UINT8  *pat; Line 89  const UINT8  *pat;
                 (*makeatr8[atr & 15])(dst, dst + count);                  (*makeatr8[atr & 15])(dst, dst + count);
                 (*makeatr8[atr & 15])(dst + MAKETEXT_STEP,                  (*makeatr8[atr & 15])(dst + MAKETEXT_STEP,
                                                                 dst + MAKETEXT_STEP + count);                                                                  dst + MAKETEXT_STEP + count);
                 return(0x40404040);  
         }          }
         else {                                                                          // PCG          else {                                                                          // PCG
                 if (!(knj & 0x90)) {                                    // PCGの出力                  if (!(knj & 0x90)) {                                    // PCGの出力
Line 103  const UINT8  *pat; Line 100  const UINT8  *pat;
                         fn = maketxt16fn[udtmp & 15];                          fn = maketxt16fn[udtmp & 15];
                 }                  }
                 makeatr_pcg16(dst, count, pat, atr, fn);                  makeatr_pcg16(dst, count, pat, atr, fn);
                 return(0x80808080);  
         }          }
 }  }
   

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


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