|
-
February 21st, 2006, 02:41 PM
#1
Smbios - Dmi
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
-
February 21st, 2006, 03:01 PM
#2
Re: Smbios - Dmi
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.
Last edited by Jean-Guy2000; February 21st, 2006 at 03:05 PM.
-
February 21st, 2006, 03:39 PM
#3
Re: Smbios - Dmi
I want to read/write Bios information stored in DMI pool area.
-
February 21st, 2006, 03:44 PM
#4
Read/write Dmi Pool Area - Bios
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++?
Last edited by honae; February 21st, 2006 at 03:50 PM.
-
February 21st, 2006, 04:07 PM
#5
Re: Smbios - Dmi
Check out this open-sorce project. They have headers and source code to do what you are asking.
http://cvs.savannah.gnu.org/viewcvs/...ode/dmidecode/
-
February 21st, 2006, 05:09 PM
#6
Re: Smbios - Dmi
use a 16-bit compiler then use assembly language or the c functions in dos.h to access bios interrupts.
-
February 21st, 2006, 05:13 PM
#7
Re: Read/write Dmi Pool Area - Bios
depends on the board that is installed in the computer. You have to use functions from the manufacturer's device driver.
-
February 21st, 2006, 08:19 PM
#8
Re: Smbios - Dmi
thats Linux code, I wander if its portable to Win32?
-
February 21st, 2006, 08:26 PM
#9
Re: Smbios - Dmi
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
-
February 21st, 2006, 09:03 PM
#10
Re: Smbios - Dmi
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.
Thank you 
JeffB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|