Diff for /np2/font/fontdata.c between versions 1.1 and 1.4

version 1.1, 2003/10/16 17:58:35 version 1.4, 2004/02/07 21:23:22
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "memory.h"  #include        "cpucore.h"
 #include        "font.h"  #include        "font.h"
 #include        "fontdata.h"  #include        "fontdata.h"
 #include        "fontdata.res"  #include        "fontdata.res"
Line 23  static void patch29(UINT jish, const BYT Line 23  static void patch29(UINT jish, const BYT
         UINT    i;          UINT    i;
         BYTE    *p;          BYTE    *p;
   
         p = font + 0x21000 + (jish << 4);          p = fontrom + 0x21000 + (jish << 4);
         for (i=0x21; i<0x7f; i++) {          for (i=0x21; i<0x7f; i++) {
                 CopyMemory(p, src, 16);                  CopyMemory(p, src, 16);
                 p += 0x1000;                  p += 0x1000;
Line 39  const BYTE *p; Line 39  const BYTE *p;
         BYTE    *q;          BYTE    *q;
   
         p = fontdata_2c;          p = fontdata_2c;
         q = font + 0x240c0;          q = fontrom + 0x240c0;
         for (i=0x24; i<0x70; i++) {          for (i=0x24; i<0x70; i++) {
                 for (j=0; j<16; j++) {                  for (j=0; j<16; j++) {
                         q[j + 0x800] = p[0];                          q[j + 0x800] = p[0];
Line 53  const BYTE *p; Line 53  const BYTE *p;
   
 // ----  // ----
   
   void fontdata_ank8store(const BYTE *ptr, UINT pos, UINT cnt) {
   
           BYTE    *dat;
   
           dat = fontrom + 0x82000 + (pos * 16);
           while(cnt--) {
                   CopyMemory(dat, ptr, 8);
                   dat += 16;
                   ptr += 8;
           }
   }
   
 void fontdata_patch16a(void) {  void fontdata_patch16a(void) {
   
         CopyMemory(font + 0x80000, fontdata_16 + 0*32*16, 32*16);          CopyMemory(fontrom + 0x80000, fontdata_16 + 0*32*16, 32*16);
 }  }
   
 void fontdata_patch16b(void) {  void fontdata_patch16b(void) {
   
         CopyMemory(font + 0x80800, fontdata_16 + 1*32*16, 32*16);          CopyMemory(fontrom + 0x80800, fontdata_16 + 1*32*16, 32*16);
         CopyMemory(font + 0x80e00, fontdata_16 + 2*32*16, 32*16);          CopyMemory(fontrom + 0x80e00, fontdata_16 + 2*32*16, 32*16);
 }  }
   
 void fontdata_patchjis(void) {  void fontdata_patchjis(void) {

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


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