Hi..
I want to read and display bios password.I am using phonix award bios v6.00pg
version ATi -42302e31 bios Date 04/20/06. operating system-- Xp
i can not find actual address where bios password stored in bios chip.
if password is set retrieve it and display. Plz tell me is 1d and 1c is correct for this award version because it can not give me correct password it shows wrong password.
Eg:- i am setting password abc and it gives pddrg
the how to resolve it
i write following function

int checksum()
{
    int i;
    unsigned int ax=0,bx=0;
    for(i=0;i<b;i++)
    {
        ax=code[i];
        if(ax==0)return 0;
        bx=rol(bx);
        bx=rol(bx);
        bx=ax+bx;
        if(seerun==1)
        {
            printf("\nValues are ax=%u bx =%u len =%d",ax,bx,b);
            showbin(bx);
        }
    }
    if(checksumcal==bx)
    {
        passnum++;
        printf(" [ %s ] ",code);
    }
    return 1;
}

int readcmos(int x)
{
    outp(0x70,x);
    return inp(0x71);
}

void readpasschecksum()
{
    checksumcal = readcmos(0x1D); /*hashed value is stored at 1DH and 1CH

but i think problem is here    
*/
    checksumcal = checksumcal*256+readcmos(0x1C);
    
 
    if(seerun==0)
    {
        gotoxy(0,10);
        printf("The check sum = %u ",checksumcal);
    }
}

Plz help me to solve this...

dont think you can do it in XP

NT based systems use memory protection to stop people doing stuff like this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.