Diff for /np2/i286c/i286c_0f.c between versions 1.2 and 1.3

version 1.2, 2003/10/17 07:17:20 version 1.3, 2003/10/17 11:10:02
Line 6 Line 6
 #include        "nevent.h"  #include        "nevent.h"
   
   
 I286_0F _sgdt(DWORD op) {  I286_0F _sgdt(UINT op) {
   
         I286_CLOCK(11)          I286_CLOCK(11)
         if (op < 0xc0) {          if (op < 0xc0) {
Line 23  I286_0F _sgdt(DWORD op) { Line 23  I286_0F _sgdt(DWORD op) {
         }          }
 }  }
   
 I286_0F _sidt(DWORD op) {  I286_0F _sidt(UINT op) {
   
         I286_CLOCK(12)          I286_CLOCK(12)
         if (op < 0xc0) {          if (op < 0xc0) {
Line 40  I286_0F _sidt(DWORD op) { Line 40  I286_0F _sidt(DWORD op) {
         }          }
 }  }
   
 I286_0F _lgdt(DWORD op) {  I286_0F _lgdt(UINT op) {
   
         I286_CLOCK(11)          I286_CLOCK(11)
         if (op < 0xc0) {          if (op < 0xc0) {
                 WORD ad = c_get_ea[op]();                  UINT16 ad = c_get_ea[op]();
                 i286reg.GDTR.limit = i286_memoryread_w(ad + EA_FIX);                  i286reg.GDTR.limit = i286_memoryread_w(ad + EA_FIX);
                 ad += 2;                  ad += 2;
                 i286reg.GDTR.base = i286_memoryread_w(ad + EA_FIX);                  i286reg.GDTR.base = i286_memoryread_w(ad + EA_FIX);
Line 58  I286_0F _lgdt(DWORD op) { Line 58  I286_0F _lgdt(DWORD op) {
         }          }
 }  }
   
 I286_0F _lidt(DWORD op) {  I286_0F _lidt(UINT op) {
   
         I286_CLOCK(11)          I286_CLOCK(11)
         if (op < 0xc0) {          if (op < 0xc0) {
                 WORD ad = c_get_ea[op]();                  UINT16 ad = c_get_ea[op]();
                 i286reg.IDTR.limit = i286_memoryread_w(ad + EA_FIX);                  i286reg.IDTR.limit = i286_memoryread_w(ad + EA_FIX);
                 ad += 2;                  ad += 2;
                 i286reg.IDTR.base = i286_memoryread_w(ad + EA_FIX);                  i286reg.IDTR.base = i286_memoryread_w(ad + EA_FIX);
Line 76  I286_0F _lidt(DWORD op) { Line 76  I286_0F _lidt(DWORD op) {
         }          }
 }  }
   
 I286_0F _smsw(DWORD op) {  I286_0F _smsw(UINT op) {
   
         if (op >= 0xc0) {          if (op >= 0xc0) {
                 I286_CLOCK(3)                  I286_CLOCK(3)
Line 88  I286_0F _smsw(DWORD op) { Line 88  I286_0F _smsw(DWORD op) {
         }          }
 }  }
   
 I286_0F _lmsw(DWORD op) {  I286_0F _lmsw(UINT op) {
   
         if (op >= 0xc0) {          if (op >= 0xc0) {
                 I286_CLOCK(2)                  I286_CLOCK(2)
Line 141  I286_0F _loadall286(void) { Line 141  I286_0F _loadall286(void) {
   
 I286EXT i286c_cts(void) {  I286EXT i286c_cts(void) {
   
         WORD    ip;          UINT16  ip;
         DWORD   op, op2;          UINT    op;
           UINT    op2;
   
         ip = I286_IP;          ip = I286_IP;
         GET_PCBYTE(op);          GET_PCBYTE(op);

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


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