Solved

Any way to collect accurate BIOS information?

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

13 Experts available now in Live!

Get 1:1 Help Now