Diff for /np2/i286a/i286a.c between versions 1.6 and 1.8

version 1.6, 2003/12/25 20:30:22 version 1.8, 2004/01/07 12:51:29
Line 73  const UINT8 iflags[512] = {     // Z_FLA Line 73  const UINT8 iflags[512] = {     // Z_FLA
   
 // ----  // ----
   
 void i286a_reset(void) {  static void i286a_initreg(void) {
   
         ZeroMemory(&CPU_STATSAVE, sizeof(CPU_STATSAVE));  
         CPU_CS = 0xf000;          CPU_CS = 0xf000;
         CS_BASE = 0xf0000;          CS_BASE = 0xf0000;
         CPU_IP = 0xfff0;          CPU_IP = 0xfff0;
         CPU_ADRSMASK = 0xfffff;          CPU_ADRSMASK = 0xfffff;
 }  }
   
 void i286a_shut(void) {  void i286a_reset(void) {
   
         CPU_MSW = 0;  
   
         CPU_ES = 0;  #if 0
         CPU_CS = 0xf000;          if (offsetof(I286CORE, m) != 120) {
         CPU_SS = 0;                  exit(1);
         CPU_DS = 0;          }
   #endif
           ZeroMemory(&i286acore.s, sizeof(i286acore.s));
           i286a_initreg();
   }
   
         ES_BASE = 0;  void i286a_shut(void) {
         CS_BASE = 0xf0000;  
         SS_BASE = 0;  
         DS_BASE = 0;  
         SS_FIX = 0;  
         DS_FIX = 0;  
   
         CPU_IP = 0xfff0;          ZeroMemory(&i286acore.s, offsetof(I286STAT, cpu_type));
         CPU_ADRSMASK = 0xfffff;          i286a_initreg();
 }  }
   
   

Removed from v.1.6  
changed lines
  Added in v.1.8


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