how can I get data from the bios?
PLZ help
What data?
And why?
Is this the right place for turkey?
I want turkey.
Plenty of turkeys here. :wink
Paul
Neo, you have to let us know what data you want so we can help you. There isn't a generic getBiosData function.
However it is almost unusual to read or write data directly to BIOS, but I think it can be done by reading (with IN instruction) and writing (with OUT instruction) from/to a specified port.
Of course, that method will not work with newer versions of Windows like XP, for example. It will not allow you to access the ports directly (how many times must we say this?).
Paul
I think you can do this:
theBiosFile db "BiosSpecification.txt"
Invoke CreateFile, Addr theBiosFile, GENERIC_READ, NULL, NULL, OPEN_EXISTING, FILE_ATTRIBUTE
Invoke ReadFile, eax, Addr mmm, ecx, NULL, NULL
.
:toothy sorry... I have drink too much beers :eek
Funny, Mario :lol