Solved

Any way to collect accurate BIOS information?

Posted on 1998-12-04
5
168 Views
Last Modified: 2010-04-04
Is there a way to collect accurate BIOS information in NT and 95?  By accurate I mean complete.  In appears that even NT cannot report it correctly.  The NT Diagnostic program truncates the BIOS information to 32chars.  The Value exists as a DWORD in Hkey_Local_Machine, but is there a way to call it?
0
Comment
Question by:Llysander
5 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1349323
yeah....you can use something like this....

var
 reg : TRegistry;
begin
 reg := TRegistry.Create;
 reg.OpenKey('\Software\.......');
 BIOS := reg.ReadString(key, value);
 reg.Free;
end;

This is more of a pseudo-code... If you don't know how to do it let me know and I'll write you an example.. YOu just need to give me the exact key in the registry where the BIOS information is and I'll write oyu a complete example...

Cheers,
Viktor
 
0
 

Author Comment

by:Llysander
ID: 1349324
I know how to gather the information form the registry.  My problem is for some reason, on some machines, NT does not report the correct BIOS information.

My question was really is there a way to collect the information directly from the BIOS?
0
 
LVL 4

Accepted Solution

by:
BoRiS earned 50 total points
ID: 1349325
Llysander

You can try this... It will return the amount of extended mem from
the CMOS.

      Function MyGetExt: Integer; Assembler;
      asm
        Mov  AX,$3031;
        Out  $70,AL;
        NOP;
        IN   AL,$71;
        XCHG AH,AL;
        Out  $70,AL;
        NOP;
        IN   AL,$71;
      end;

Then as needed call the function....

I don't remeber the rest of the addresses etc. but I must warn you don't play around with the CMOS to much as certain function etc. can cause system crashes.

the port to read in is $71
and out is $70

Hope this helps...

Later
BoRiS
0
 
LVL 1

Expert Comment

by:BlackDeath
ID: 1349326
hi, llysander, hi boris, hi vik.

afaik, nt does not allow bios access neither does nt make use of it. i also tried this several times, and each time i crash-landed.

when installing nt, you can watch how all those generic drivers and detection mechanisms scan the machine. i don't know the way it works, but e.g. hard disk drives are handled as scsi-driven components whith ide-drives being managed by a pseudo scsi-driver. weird stuff.

rex,

Black Death.

0
 

Author Comment

by:Llysander
ID: 1349327
I am looking for BIOS Manuf., version, and date.

Example.
CL-GD543x PCI VGA BIOS Version 1.23

I'll try the suggestion posted.  Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now