Click to See Complete Forum and Search --> : Smbios - Dmi
gabirata
February 21st, 2006, 01:41 PM
Hi,
How Can I read and write BIOS settings using C/C++? I need to develop a application that run in MS-DOS platform.
Thanks alot,
Helio
Jean-Guy2000
February 21st, 2006, 02:01 PM
What do you want to read? the CMOS settings ( like time/date, HDD settings etc) or the Flash Bios PROM that contains board firmware.
The bios is at F000:E000 ... you can run Debug and type "d e000:f000" to dump the first few bytes of the Bios chip.
The CMOS (settings) chip has to be addressed with read/write to specific ports that I cannot remember off the top of my head.
honae
February 21st, 2006, 02:39 PM
I want to read/write Bios information stored in DMI pool area.
honae
February 21st, 2006, 02:44 PM
I need to develop a software the uses SMBIOS specification. This software must reads/writes the information stored in DMI pool area and must run on MS-DOS. How can I use do this using C/C++?
Jean-Guy2000
February 21st, 2006, 03:07 PM
Check out this open-sorce project. They have headers and source code to do what you are asking.
http://cvs.savannah.gnu.org/viewcvs/dmidecode/dmidecode/
stober
February 21st, 2006, 04:09 PM
use a 16-bit compiler then use assembly language or the c functions in dos.h to access bios interrupts.
stober
February 21st, 2006, 04:13 PM
depends on the board that is installed in the computer. You have to use functions from the manufacturer's device driver.
Anarchi
February 21st, 2006, 07:19 PM
thats Linux code, I wander if its portable to Win32?
kiddo
February 21st, 2006, 07:26 PM
Hi,
I'm also developing a application to read BIOS setting in CMOS but not having much successful. I think in order to read from Bios, we might need to write a driver to access BIOS and an application program to read the value off the driver.
I'm quite new to this area so i might b wrong too. Any other information will be helpful. Thks
JeffB
February 21st, 2006, 08:03 PM
honae, as a moderator of CodeGuru, I remind you not to post the same question in all forums at the same time, choose the one that suit the most your problem and post in it. Posting in multiple forums make it very hard for everyone to follow the discussion and is considered spam (http://www.codeguru.com/forum/announcement.php?f=4&announcementid=6).
Thank you ;)
JeffB
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.