Solved

Any way to collect accurate BIOS information?

Posted on 1998-12-04
5
174 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi IDE crash without error message ... 7 99
Reconfigure Delphi Install? 2 61
tidtcpserver connection lost handle 2 103
RESTRequest Parameter 4 43
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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