Diff for /np2/i386c/ia32/ia32.c between versions 1.25 and 1.26

version 1.25, 2012/01/08 18:33:58 version 1.26, 2012/02/05 06:36:14
Line 135  ia32_setemm(UINT frame, UINT32 addr) { Line 135  ia32_setemm(UINT frame, UINT32 addr) {
 void CPUCALL  void CPUCALL
 change_pm(BOOL onoff)  change_pm(BOOL onoff)
 {  {
 #if 0  
         int i;  
 #endif  
   
         if (onoff) {          if (onoff) {
 #if 0  
                 for (i = 0; i < CPU_SEGREG_NUM; i++) {  
                         CPU_STAT_SREG(i).valid = 1;  
                         CPU_STAT_SREG(i).dpl = 0;  
                 }  
 #endif  
                 VERBOSE(("change_pm: Entering to Protected-Mode..."));                  VERBOSE(("change_pm: Entering to Protected-Mode..."));
         } else {          } else {
                 VERBOSE(("change_pm: Leaveing from Protected-Mode..."));                  VERBOSE(("change_pm: Leaveing from Protected-Mode..."));
Line 181  change_vm(BOOL onoff) Line 172  change_vm(BOOL onoff)
         if (onoff) {          if (onoff) {
                 VERBOSE(("change_vm: Entering to Virtual-8086-Mode..."));                  VERBOSE(("change_vm: Entering to Virtual-8086-Mode..."));
                 for (i = 0; i < CPU_SEGREG_NUM; i++) {                  for (i = 0; i < CPU_SEGREG_NUM; i++) {
                         CPU_STAT_SREGLIMIT(i) = 0xffff;  
                         LOAD_SEGREG(i, CPU_REGS_SREG(i));                          LOAD_SEGREG(i, CPU_REGS_SREG(i));
                 }                  }
                 CPU_INST_OP32 = CPU_INST_AS32 =                  CPU_INST_OP32 = CPU_INST_AS32 =

Removed from v.1.25  
changed lines
  Added in v.1.26


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