Diff for /np2/i386c/ia32/ia32.c between versions 1.2 and 1.3

version 1.2, 2003/12/11 15:06:50 version 1.3, 2003/12/22 18:00:31
Line 32 Line 32
 #include "ia32.mcr"  #include "ia32.mcr"
   
   
 CPU_REGS        cpu_regs;  
 CPU_SYSREGS     cpu_sysregs;  
 CPU_STAT        cpu_stat;  
 CPU_INST        cpu_inst;  
 CPU_INST        cpu_inst_default;  
 I386CORE        i386core;  I386CORE        i386core;
   
 BYTE iflags[] = {  BYTE iflags[] = {
Line 87  ia32_init(void) Line 82  ia32_init(void)
 {  {
         int i;          int i;
   
         memset(&cpu_regs, 0, sizeof(cpu_regs));          memset(&i386core, 0, sizeof(i386core));
         memset(&cpu_sysregs, 0, sizeof(cpu_sysregs));          CPU_STATSAVE.cpu_inst_default.seg_base = (DWORD)-1;
         memset(&cpu_stat, 0, sizeof(cpu_stat));  
         memset(&cpu_inst_default, 0, sizeof(cpu_inst_default));  
         cpu_inst_default.seg_base = (DWORD)-1;  
   
         CPU_EDX = (CPU_FAMILY << 8) | (CPU_MODEL << 4) | CPU_STEPPING;          CPU_EDX = (CPU_FAMILY << 8) | (CPU_MODEL << 4) | CPU_STEPPING;
         CPU_EFLAG = 2;          CPU_EFLAG = 2;

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


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