News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

about i can i get data from BIOS

Started by RuiLoureiro, March 18, 2005, 04:17:15 PM

Previous topic - Next topic

RuiLoureiro

How can i read information from segment address 0F000h?(0F0000h ) ?

Tedd

If you mean in 16-bit mode ('real' mode; DOS) then it's as simple as: DS=0F000h, and then reading from whichever offset(s).
In 32-bit windows, essentially, you can't - it doesn't really exist.
Why do you want to do this?
No snowflake in an avalanche feels responsible.

MichaelW

One simple but crude method that should work under any version of Windows would be to start Debug (from the run command or from a command prompt), and enter a dump command with the starting address (e.g. d f000:0). Each dump command without an address (e.g. d) will dump the next 128 bytes. Use the quit command (q) to exit Debug.

Note that at least some versions of Windows will effectively "patch" some portions of the BIOS, so what you see may not be what is actually in the ROM.

To repeat Tedd's question, why do you want to do this?
eschew obfuscation

RuiLoureiro

To know in what motherboard my program is

pbrennick

This is an easy one, it is in the ram on the motherboard in the computer right in front of you.  :cheekygreen:

Someday we will be renting licenses to run software from remote computers on the internet but we are just a bit away from that working well (or being accepted).
Paul

MichaelW

If the system has an Award or AMI BIOS, then you should be able to use the BIOS ID to identify the motherboard.

http://www.wimsbios.com/numbers.shtml

http://www.motherboards.org/articles/tech-planations/13_1.html

If you are trying to read the BIOS ID from a program, I know of no standardized method of finding it. You might be able to search for likely strings, but there is at least a possibility that it will be in a compressed form.
eschew obfuscation

RuiLoureiro