Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TheBigBasicQ 1

Status
Not open for further replies.

TheBigBasicQ

Programmer
Dec 20, 2001
107
IN
Does anybody know how to get the CPU type, MOTHERBOARD type, MONITOR ID, DISPLAY Card info and other SystemInfo in QB. Any help would be appriciated.
 
I don't personally, but I know who does. The programmers that wrote GIMI, it is a powerful GUI and it has a setup program (source included) that figures out most of what you posted above and then some. Goto and click on GIMI.
 
Have you tried surfing for INTERRUPTS on any web search engin? If you happen across Ralph Brown's list of interrupts, you may find it well worth the reading.

--MiggyD It's better to have two heads to solve a problem from different angles than to have tunnel vision to a dead end.
 
MiggyD is quite right, your best course is to obtain most of the information via the interrupts. Some of the good stuff can be derived through direct inspection of the first meg of RAM using PEEK... although a much better way, when trying to get a great deal of information, is to write a memory image file and use the file GET statement to pull out larger blocks (see faq314-137 for a way to write all of conventional memory to a file in less than a second using QB45).

Also, I just posted a way to retrieve chipset and motherboard information from a machine with an Award BIOS in thread711-173216. The code is in VB but the parsing routine will equate to Qbasic (just save the first meg to a file and then translate the string offsets in the VB post to file offsets in QB).
VCA.gif
 
It might be possible to read the CMOS settings, but i have no idea how you would go about doing that
 
if you do figure out how to use CMOS of BIOS please post it on this site, I will be interested in them
 
You can find this information in the last 65536 bytes of conventional RAM (starting at F000:0000h or the absolute address F0000 if you use the MEM-dumper I mentioned above). Interpreting the information could be a bit sticky but you might have a go at it. Let's say the system uses an Award BIOS: you might find the CMOS setup text labels ("STANDARD CMOS SETUP", "SAVE TO CMOS AND EXIT (Y/N)?", etc) at about absolute address F037Bh.

Some information can be found at known addresses regardless of the BIOS manufacturer. The ASCII BIOS date can be found at F000:FFF5h.

All this could take a bit of detective work. But it might be fun.

VCA.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top