Diff for /np2/io/egc.c between versions 1.3 and 1.5

version 1.3, 2003/10/20 06:36:33 version 1.5, 2003/12/08 00:55:32
Line 19  static const UINT16 maskword[16][4] = { Line 19  static const UINT16 maskword[16][4] = {
                                 {0x0000,0xffff,0xffff,0xffff}, {0xffff,0xffff,0xffff,0xffff}};                                  {0x0000,0xffff,0xffff,0xffff}, {0xffff,0xffff,0xffff,0xffff}};
   
   
 static void IOOUTCALL egc_o4a0(UINT port, BYTE value) {  static void IOOUTCALL egc_o4a0(UINT port, REG8 value) {
   
         if (!(vramop.operate & VOP_EGCBIT)) {          if (!(vramop.operate & VOP_EGCBIT)) {
                 return;                  return;
Line 67  static void IOOUTCALL egc_o4a0(UINT port Line 67  static void IOOUTCALL egc_o4a0(UINT port
   
                 case 0x08:                  case 0x08:
                         if (!(egc.fgbg & 0x6000)) {                          if (!(egc.fgbg & 0x6000)) {
                                 egc.mask._b[EGCADDR_L] = value;                                  egc.mask._b[0] = value;
                         }                          }
                         break;                          break;
                 case 0x09:                  case 0x09:
                         if (!(egc.fgbg & 0x6000)) {                          if (!(egc.fgbg & 0x6000)) {
                                 egc.mask._b[EGCADDR_H] = value;                                  egc.mask._b[1] = value;
                         }                          }
                         break;                          break;
   
Line 130  void egc_bind(void) { Line 130  void egc_bind(void) {
         }          }
 }  }
   
 void IOOUTCALL egc_w16(UINT port, UINT16 value) {  void IOOUTCALL egc_w16(UINT port, REG16 value) {
   
         if (!(vramop.operate & VOP_EGCBIT)) {          if (!(vramop.operate & VOP_EGCBIT)) {
                 return;                  return;

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


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