Solved

Accessing BIOS NVRAM ?

Posted on 2006-07-13
7
855 Views
Last Modified: 2013-11-12
Does anyone know how to access BIOS NVRAM address space?
I believe it can be done in 'Ring 0' but I'm not sure how.
I want to be able to modify a few bytes using VB6 and TVicHW52 . I'm running WIN98se.

Any help greatly appreciated.
0
Comment
Question by:aztarac
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17155368
0
 

Author Comment

by:aztarac
ID: 17155787
I looked at that thread before I posted my question.

The 'accepted answer' does state that the way to write is not known.

The following Microsoft link for Bios writers may offer some clues...but I dont understand it:

>Writing to CMOS NVRAM
>BIOS code should write to CMOS NVRAM by generating a system management interrupt (SMI). AML code can generate a SMI by writing a specific value to the SMI command port. AML code can pass the CMOS offset and value to be written through the NVRAM memory operation region. The BIOS SMI handles the writes to CMOS, and also updates the memory area pointed by the CMRM operation region to reflect the correct CMOS contents.

Full text:
http://www.microsoft.com/whdc/system/pnppwr/powermgmt/BIOSAML.mspx

I'm still hoping for a solution:(

0
 
LVL 9

Accepted Solution

by:
Rob_Jeffrey earned 250 total points
ID: 17156373
Right - missed that.  
Sorry - I simply skimmed over the body.

Unless you want to get into device driver (DDK) devekopment - it doesn't look easy.
The entire problem is - viruses.  Because some lousy people have written some pretty nasty things in the past there is a lot of hidden and proprietary information regarding the NVRAM these days.

What is it you are trying to do?  Perhaps we can come at it from another angle?
0
 
LVL 49

Assisted Solution

by:DanRollins
DanRollins earned 250 total points
ID: 17330346
You may be able to install a device drive that will allow access to I/O ports.  Here's one:
    http://www.driverlinx.com/DownLoad/DlPortIO.htm

This article appears to be on point:
    Pop Open a Privileged Set of APIs with Windows NT Kernel Mode Drivers
    http://www.microsoft.com/msj/0398/driver.aspx

But I agree with Rob_Jeffrey:  If you describe your ultimate goal, it might be possible to find a way to avoid this low-level grunging.  Whenever there is a legitimate need for standard programs to access low-level resources, there is often an more direct way to do it.  So what's on your mind?

-- Dan
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cache hits and optimizing 'for' loops: query 6 366
SAFe and certifications 2 125
Scrum - Product Backlog Refinement 4 181
Struggling to loosely couple a particular set of objects 1 306
Introduction This question got me thinking... (http://www.experts-exchange.com/questions/28707487/GLOBALS.html) Why shouldn't we use Globals? This is a simple question without a simple answer.  How do you explain these concepts to a programmer w…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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