Re: Accessing bios information (windows)
- From: Frank Kotler <spamtrap@xxxxxxxxxx>
- Date: Thu, 28 Aug 2008 06:56:53 GMT
Dirk Wolfgang Glomp wrote:
Am Wed, 27 Aug 2008 20:13:17 +0100 schrieb Sean Farrow:
Hi:
I need to get hold of the bios date/serial number.
How can i find the adress of those serial number?
Dunno about "serial number". We can get bios date and version. I recall a "privacy flap" about "serial numbers"... IIRC they compromised by making access to the serial number "off" by default. I have no idea how to get it, if any...
I don't have a 16-bit asm compiler if that's what I need.
16-bit assembler:
[NASM]
http://sourceforge.net/project/showfiles.php?group_id=6208
Just to clarify, you do *not* want the obsolete, no longer supported, "16 bit dos" build! The 32-bit dos build would work(?), but the Windows build - way down at the bottom of the page - is probably what you want. Any of 'em will output 16-bit code. If you make a .com file, you won't need a 16-bit linker.
[MASM]
A search with google shows these result: [masm51.zip]
http://www.bbs.motion-bg.com/index.php?file=431
It is also possible to use MASM 6.x(need windows) and link
the *.obj-file with the linker from MASM5 to get a 16-bit executable.
MASM 6.x provide MMX/XMM/3DNOW.
You might also look at:
http://www.japheth.de/JWasm.html
Japheth's "free and open source" equivalent... (for those who care about such things).
Any help apreciated.
To get some bytes from the Bios, we don´t need any compiler/assembler,
debug is usefull enough:
debug
- o70 0
- i71
...<-SECONDS
-q
RBIL->inter61d.zip->Cmos.lst
----------R00--------------------------------
CMOS 00h - RTC - SECONDS
Desc: (BCD 00-59, Hex 00-3B)
Note: Bit 7 is read only
SeeAlso: CMOS 01h,CMOS 02h,CMOS 04h
-----
Oh, a port access at 70h/71h is also possible with the DOS-box from
Windows2000.
Good point. Untested, but we should be able to write/read those ports in Linux, after getting "permission". Dunno if we can get bios version/date from that (*current* date, yes)... Could use debug to examine memory, too... (d f000:fff5 ?)
There's a file...
http://home.comcast.net/~fbkotler/seemem.zip
(source and executable for two OSen and documentation - 10k - Thanks, "Annie"!)
That will allow you to poke around in memory. Dunno how well it will work in a modern Windows "dos box"... (might give you a clue how to write such a thing, if that's what you want to do, Sean)
Best,
Frank
.
- Follow-Ups:
- Re: Accessing bios information (windows)
- From: ArarghMail808NOSPAM
- Re: Accessing bios information (windows)
- From: Dirk Wolfgang Glomp
- Re: Accessing bios information (windows)
- References:
- Re: Accessing bios information (windows)
- From: Dirk Wolfgang Glomp
- Re: Accessing bios information (windows)
- From: Sean Farrow
- Re: Accessing bios information (windows)
- Prev by Date: Re: Accessing bios information (windows)
- Next by Date: Re: Accessing bios information (windows)
- Previous by thread: Re: Accessing bios information (windows)
- Next by thread: Re: Accessing bios information (windows)
- Index(es):
Relevant Pages
|