[Airbag\Fiat\Palio\51718980 TRW1  (MC68HC11E20)]

Size(280,200); // ширина и высота

Form
{
    Group("Информация",10,15,170,40)
    {
        Label(msg," ",0,17);
    }

    Group("Описание",5,60,270,85) 
    {
        Label(lb4,"Калькулятор для Fiat\Palio\51718980 TRW1",0,15);
        Label(lb5,"проц. MC68HC11E20",0,30);
        Label(lb2,"Чтобы стереть CRASH и ошибки",0,45);
       
        Label(lb3,"нажмите кнопку <Применить>.",0,60);
    }
  Picture(Logo,"fiat.bmp",179,10,0,0); 
}
OnShow
    {
     
     var0 = 0;Var1 =0; Var2 =0x00;
     if(@0x181 = 0xff) {Var0 = Var0 + 1;}
     if(@0x182 = 0xff) {Var0 = Var0 + 1;}
     if(Var0 != 0) 
       {
        msg.Color = 0x0000FF;
	msg.Bold = 1;
	msg = "Неверный дамп!";
       }
     else
       {
        Var1 =0x40; 
        while(Var1 !=0x41)
        {
         Var2 =Var2 | @Var1; Var1 = var1 + 1;
        }
        
        if(var2 != 0x00) 
         {
          msg.Color = 0x0000FF;
	  msg.Bold = 1;
	  msg = "Обнаружен CRASH!";
         }
         else
         {
          msg.Color = 0xff0000;
	  msg.Bold = 1;
	  msg = "Дамп чистый!";
         }
       }  
    }
OnApply
      {
       Var1 = 0x00;
      while(Var1 != 0x01)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x01;
      while(Var1 != 0x02)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
     Var1 = 0x02;
      while(Var1 != 0x6)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x06;
      while(Var1 != 0x07)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
      Var1 = 0x07;
      while(Var1 != 0x0b)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x0b;
      while(Var1 != 0x0c)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
     Var1 = 0x0c;
      while(Var1 != 0x10)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x10;
      while(Var1 != 0x11)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
     Var1 = 0x11;
      while(Var1 != 0x15)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x15;
      while(Var1 != 0x16)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
     Var1 = 0x16;
      while(Var1 != 0x1a)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x1a;
      while(Var1 != 0x1b)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
      Var1 = 0x1b;
      while(Var1 != 0x37)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x37;
      while(Var1 != 0x38)
      {
       @Var1 = 0x05; Var1 = Var1 + 1;
      }
     Var1 = 0x38;
      while(Var1 != 0x5b)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x5b;
      while(Var1 != 0x5c)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      }
       Var1 = 0x5c;
      while(Var1 != 0x7f)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      }
     Var1 = 0x7f;
      while(Var1 != 0x80)
      {
       @Var1 = 0xff; Var1 = Var1 + 1;
      } 
        
       Var1 = 0x80;
      while(Var1 != 0x0a7)
      {
       @Var1 = 0x00; Var1 = Var1 + 1;
      }
      msg.Color = 0xff00ff;
      msg.Bold = 1;
      msg = "CRASH и ошибки стерты!";
    }