The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: RuiLoureiro on March 18, 2005, 04:17:15 PM

Title: about i can i get data from BIOS
Post by: RuiLoureiro on March 18, 2005, 04:17:15 PM
How can i read information from segment address 0F000h?(0F0000h ) ?
Title: Re: about i can i get data from BIOS
Post by: Tedd on March 18, 2005, 06:28:08 PM
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?
Title: Re: about i can i get data from BIOS
Post by: MichaelW on March 18, 2005, 08:30:20 PM
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?
Title: Re: about i can i get data from BIOS
Post by: RuiLoureiro on March 19, 2005, 10:38:14 AM
To know in what motherboard my program is
Title: Re: about i can i get data from BIOS
Post by: pbrennick on March 19, 2005, 01:44:34 PM
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
Title: Re: about i can i get data from BIOS
Post by: MichaelW on March 19, 2005, 09:12:53 PM
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.
Title: Re: about i can i get data from BIOS
Post by: RuiLoureiro on March 20, 2005, 11:40:42 AM
Thank you Mr. MichaelW !