Diff for /np2/i286c/i286c_0f.c between versions 1.11 and 1.14

version 1.11, 2003/12/08 00:55:31 version 1.14, 2003/12/25 19:26:55
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "cpucore.h"  #include        "cpucore.h"
 #include        "i286c.h"  #include        "i286c.h"
 #include        "memory.h"  
 #include        "i286c.mcr"  #include        "i286c.mcr"
   
   
Line 52  I286_0F _lgdt(UINT op) { Line 51  I286_0F _lgdt(UINT op) {
                 I286_GDTR.limit = i286_memoryread_w(seg + ad);                  I286_GDTR.limit = i286_memoryread_w(seg + ad);
                 I286_GDTR.base = i286_memoryread_w(seg + LOW16(ad + 2));                  I286_GDTR.base = i286_memoryread_w(seg + LOW16(ad + 2));
                 I286_GDTR.base24 = i286_memoryread(seg + LOW16(ad + 4));                  I286_GDTR.base24 = i286_memoryread(seg + LOW16(ad + 4));
                 I286_GDTR.reserved = i286_memoryread(seg + LOW16(ad + 5));  //              I286_GDTR.reserved = i286_memoryread(seg + LOW16(ad + 5));
         }          }
         else {          else {
                 INT_NUM(6, I286_IP - 2);                  INT_NUM(6, I286_IP - 2);
Line 70  I286_0F _lidt(UINT op) { Line 69  I286_0F _lidt(UINT op) {
                 I286_IDTR.limit = i286_memoryread_w(seg + ad);                  I286_IDTR.limit = i286_memoryread_w(seg + ad);
                 I286_IDTR.base = i286_memoryread_w(seg + LOW16(ad + 2));                  I286_IDTR.base = i286_memoryread_w(seg + LOW16(ad + 2));
                 I286_IDTR.base24 = i286_memoryread(seg + LOW16(ad + 4));                  I286_IDTR.base24 = i286_memoryread(seg + LOW16(ad + 4));
                 I286_IDTR.reserved = i286_memoryread(seg + LOW16(ad + 5));  //              I286_IDTR.reserved = i286_memoryread(seg + LOW16(ad + 5));
                   TRACEOUT(("IDT:%.2x%.4x", I286_IDTR.base24, I286_IDTR.base));
         }          }
         else {          else {
                 INT_NUM(6, I286_IP - 2);                  INT_NUM(6, I286_IP - 2);
Line 99  I286_0F _lmsw(UINT op) { Line 99  I286_0F _lmsw(UINT op) {
                 I286_WORKCLOCK(3);                  I286_WORKCLOCK(3);
                 I286_MSW = i286_memoryread_w(CALC_EA(op));                  I286_MSW = i286_memoryread_w(CALC_EA(op));
         }          }
           if (I286_MSW & 1) {
                   TRACEOUT(("enable PE %.4x:%.4x", I286_CS, I286_IP));
           }
 }  }
   
 static const I286OP_0F cts1_table[] = {  static const I286OP_0F cts1_table[] = {
Line 157  I286EXT i286c_cts(void) { Line 160  I286EXT i286c_cts(void) {
                 _loadall286();                  _loadall286();
         }          }
         else {          else {
                 I286_WORKCLOCK(20);  
                 INT_NUM(6, ip - 1);                  INT_NUM(6, ip - 1);
         }          }
 }  }

Removed from v.1.11  
changed lines
  Added in v.1.14


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