Link to home
Start Free TrialLog in
Avatar of milindsm
milindsmFlag for India

asked on

Search string in a BIOS area

Hello,

I need to search for a particular string in BIOS area. I tried Win32_BIOS as well as MSSMBios_RawSMBiosTables tables with no luck as the string is written at some totally different location.

If I use debug command, I am able to search for a string and I get the exact address. How to achieve this? How to simulate debug command in C??
Avatar of gplana
gplana
Flag of Spain image


When executing a "normal" program (for example, a program writen in C), operating system assigns some pieces of the computer RAM to this program, and doesn't allow to access other areas.

This happens in all modern operating systems. However, if you execute your C program over MSDOS, you should access to first 640KB of your computer memory, and surely you should find the bios area.

Hope it helps.
Avatar of milindsm

ASKER

Can you provide some sample snippet?
I am trying to read string data in the BIOS area. I tried using WMI but it gives specific information like version, manufacturer etc. I tried getting raw BIOS data but again it gives SMBIOS info :(

ok, tell me, how can I search whether a particular string present anywhere in the BIOS area???? I am not able to use GetSystemFirmwareTable.
Using MSDOS Operating System (so, startup with this old operating system), you can use your program to search on every byte of the memory. Jut assign a long number directlyto a pointer variable and look for first character of your string, when you found it, try next byte and see if it has the second character of your string, and so on.
ASKER CERTIFIED SOLUTION
Avatar of milindsm
milindsm
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great to know you have found the solution.

Regards.