Diff for /np2/io/cgrom.c between versions 1.10 and 1.12

version 1.10, 2004/03/30 07:12:03 version 1.12, 2004/06/17 10:09:46
Line 27  static void cgwindowset(CGROM cr) { Line 27  static void cgwindowset(CGROM cr) {
                                 cgwindow.writable |= 1;                                  cgwindow.writable |= 1;
                                 high += cr->lr;                                  high += cr->lr;
                         }                          }
                         else if ((code >= 0x08) && (code < 0x0c)) {                          else if ((code >= 0x09) && (code < 0x0c)) {                             // ver0.78
                                 if (cr->lr) {                                  if (cr->lr) {
                                         high = low;                                          high = low;
                                 }                                  }
Line 109  static REG8 IOINPCALL cgrom_ia9(UINT por Line 109  static REG8 IOINPCALL cgrom_ia9(UINT por
   
         CGROM   cr;          CGROM   cr;
 const BYTE      *ptr;  const BYTE      *ptr;
           int             type;
   
         cr = &cgrom;          cr = &cgrom;
         ptr = fontrom;          ptr = fontrom;
         if ((cr->code & 0x00fc) == 0x0008) {          type = cr->code & 0x00ff;
 //              if (cr->lr) {          if ((type >= 0x09) && (type < 0x0c)) {                                                  // ver0.78
                   if (!cr->lr) {
                         ptr += (cr->code & 0x7f7f) << 4;                          ptr += (cr->code & 0x7f7f) << 4;
                         return(ptr[cr->line & 0x0f]);                          return(ptr[cr->line & 0x0f]);
 //              }                  }
         }          }
         else if (cr->code & 0xff00) {          else if (cr->code & 0xff00) {
                 ptr += (cr->code & 0x7f7f) << 4;                  ptr += (cr->code & 0x7f7f) << 4;

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


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