CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: Smbios - Dmi

  1. #1
    Join Date
    Feb 2006
    Posts
    71

    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

  2. #2
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    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.

  3. #3
    Join Date
    Sep 2005
    Posts
    28

    Re: Smbios - Dmi

    I want to read/write Bios information stored in DMI pool area.

  4. #4
    Join Date
    Sep 2005
    Posts
    28

    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.

  5. #5
    Join Date
    Sep 2000
    Location
    Ottawa, Ontario
    Posts
    356

    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/

  6. #6
    Join Date
    Jun 2002
    Posts
    1,417

    Re: Smbios - Dmi

    use a 16-bit compiler then use assembly language or the c functions in dos.h to access bios interrupts.

  7. #7
    Join Date
    Jun 2002
    Posts
    1,417

    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.

  8. #8
    Join Date
    Nov 2001
    Posts
    244

    Re: Smbios - Dmi

    thats Linux code, I wander if its portable to Win32?

  9. #9
    Join Date
    Feb 2003
    Posts
    23

    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

  10. #10
    Join Date
    Sep 2001
    Location
    Québec, Canada
    Posts
    1,923

    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
    CodeGuru VB FAQ Visual Basic Frequently Asked Questions
    VB Code color Tool to color your VB code on CodeGuru
    Before you post Importants informations to know before posting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured