Diff for /np2/vram/maketext.c between versions 1.1 and 1.3

version 1.1, 2003/10/16 17:58:17 version 1.3, 2003/11/15 07:10:03
Line 2 Line 2
 #include        "memory.h"  #include        "memory.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "scrndraw.h"  
 #include        "vram.h"  #include        "vram.h"
   #include        "scrndraw.h"
   #include        "dispsync.h"
 #include        "maketext.h"  #include        "maketext.h"
 #include        "font.h"  #include        "font.h"
 #include        "dispsync.h"  
   
   
                 TRAM_T  tramflag;                  TRAM_T  tramflag;
Line 148  void maketext(int text_renewal) { Line 148  void maketext(int text_renewal) {
         int             linecnt;          int             linecnt;
         BYTE    *q;          BYTE    *q;
         UINT    y;          UINT    y;
         BYTE    line_effect;          BYTE    line_effect = 0;                // for gcc
         int             x;          int             x;
         UINT32  bitmap[TEXTXMAX];          UINT32  bitmap[TEXTXMAX];
         BYTE    curx[TEXTXMAX+1];          BYTE    curx[TEXTXMAX+1];
Line 354  void maketext(int text_renewal) { Line 354  void maketext(int text_renewal) {
                                                 if (curx[x] & 0x20) {                                                  if (curx[x] & 0x20) {
                                                         fntline >>= 1;                                                          fntline >>= 1;
                                                 }                                                  }
                                                 data = font[bitmap[x] + fntline];                                                  data = fontrom[bitmap[x] + fntline];
                                                 *(UINT32 *)(q+0) = text_table[color[x] + (data >> 4)];                                                  *(UINT32 *)(q+0) = text_table[color[x] + (data >> 4)];
                                                 *(UINT32 *)(q+4) = text_table[color[x] + (data & 15)];                                                  *(UINT32 *)(q+4) = text_table[color[x] + (data & 15)];
                                                 q += 8;                                                  q += 8;
Line 459  void maketext40(int text_renewal) { Line 459  void maketext40(int text_renewal) {
         int             linecnt;          int             linecnt;
         BYTE    *q;          BYTE    *q;
         UINT    y;          UINT    y;
         BYTE    line_effect;          BYTE    line_effect = 0;                // for gcc
         int             x;          int             x;
         UINT32  bitmap[TEXTXMAX];          UINT32  bitmap[TEXTXMAX];
         BYTE    curx[TEXTXMAX+1];          BYTE    curx[TEXTXMAX+1];
Line 665  void maketext40(int text_renewal) { Line 665  void maketext40(int text_renewal) {
                                                 if (curx[x] & 0x20) {                                                  if (curx[x] & 0x20) {
                                                         fntline >>= 1;                                                          fntline >>= 1;
                                                 }                                                  }
                                                 data = font[bitmap[x] + fntline];                                                  data = fontrom[bitmap[x] + fntline];
                                                 *(UINT32 *)(q+ 0) = text_tblx2[color[x] +                                                  *(UINT32 *)(q+ 0) = text_tblx2[color[x] +
                                                                                                                         (data>>4)][0];                                                                                                                          (data>>4)][0];
                                                 *(UINT32 *)(q+ 4) = text_tblx2[color[x] +                                                  *(UINT32 *)(q+ 4) = text_tblx2[color[x] +

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


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