Diff for /np2/i386c/ia32/interface.c between versions 1.9 and 1.12

version 1.9, 2004/01/27 15:56:20 version 1.12, 2004/02/18 20:11:37
Line 38 Line 38
 #endif  #endif
   
   
 static void ia32_initreg(void) {  void
   ia32_initreg(void)
   {
         int i;          int i;
   
         CPU_STATSAVE.cpu_inst_default.seg_base = (DWORD)-1;          CPU_STATSAVE.cpu_inst_default.seg_base = (DWORD)-1;
Line 76  static void ia32_initreg(void) { Line 77  static void ia32_initreg(void) {
 void  void
 ia32reset(void)  ia32reset(void)
 {  {
         ZeroMemory(&i386core.s, sizeof(i386core.s));  
           memset(&i386core.s, 0, sizeof(i386core.s));
         ia32_initreg();          ia32_initreg();
 }  }
   
 void  void
 ia32shut(void)  ia32shut(void)
 {  {
         ZeroMemory(&i386core.s, offsetof(I386STAT, cpu_type));  
           memset(&i386core.s, 0, offsetof(I386STAT, cpu_type));
         ia32_initreg();          ia32_initreg();
 }  }
   
Line 208  ia32_step(void) Line 211  ia32_step(void)
 }  }
   
 void CPUCALL  void CPUCALL
 ia32_interrupt(BYTE vect)  ia32_interrupt(REG8 vect)
 {  {
   
         INTERRUPT(vect, 0, 0, 0);          INTERRUPT(vect, 0, 0, 0);

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


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