[Carradio\HONDA\MU915AO]

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

Form {
    	HexDigit(Code,"Code ",70,15,100,5);
		
	Group("Информация",5,110,300,50)
    {
        Label(message," ",0,22);
    }
    	Group("Описание",5,165,300,220)
    {
        Label(lb1,"Code calculator for HONDA :",0,15);
    	Label(lb2,"Model:  MU915AO",32,30);
    	Label(lb3,"Sec. Type:  CODE 11111-66666",32,45);
	Label(lb4,"Manufacturen: ALPINE.",32,60);
	Label(lb5,"Partnumer:  39101-S9A-A520-M1 ",32,75);
    	Label(lb6,"MCU: 51T75467Y01 + SAA7709H/109",32,90);
	Label(lb7,"EEPROM:  24C32 smd",32,105);
	Label(lb8,"Sec.loc.:  EEPROM",32,120);
    	Label(lb9,"Autor:  telik@ukrwest.net   2008",0,200);
    	Label(lb10,"Enter code:  ",32,135);
    }
	Picture(Logo,"honda.bmp",210,10,0,0);
    {
        Label(msg," ",0,395);
    } 
}

OnShow {
	msg.Color=0x0000FF; msg.Bold=1; msg="http://www.eeprom.lg.ua";
	  
    	Var10=1;
    	if(@0x25=0xFF){Var10=0;}
    	if(@0x26=0xFF){Var10=0;}
    	if(@0x27=0xFF){Var10=0;}
    	if(@0x28=0xFF){Var10=0;}
    	if(@0x29=0xFF){Var10=0;}	
    	if(Var10=0){message.Color=0x0000FF; message.Bold=1; message="Неверный дамп !"; Code=0;}
    else
    {  		
        var1=(@0x25&0x0F)<<16; var2=(@0x26&0x0F)<<12;
	var3=(@0x27&0x0F)<<8; var4=(@0x28&0x0F)<<4;	
        var5=@0x29&0x0F;  
	Code=var1|var2|var3|var4|var5;
	message.Color=0xFF0000; message.Bold=1; message="Дамп ОК.";
    }
}

OnApply {
	
}