Solved

Read from BIOS

Posted on 1998-03-29
2
199 Views
Last Modified: 2010-04-06
Hello
I need to read information from BIOS. How can I do it from Delphi 3. I am not good in Delphi programming. Please
give me a full sample code for this.
Thanks
0
Comment
Question by:Alexey090397
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
BoRiS earned 200 total points
ID: 1361034
You can try this... It will return the amount of extended mem from
the CMOS.

  Function MyGetExt: Integer; Assembler;
  asm
    Mov  AX,$3031;
    Out  $70,AL;
    NOP;
    IN   AL,$71;
    XCHG AH,AL;
    Out  $70,AL;
    NOP;
    IN   AL,$71;
  end;

Then as needed call the function....

I don't remeber the rest of the addresses etc. but I must warn you don't play around with the CMOS to much as certain function etc. can cause system crashes.

the port to read in is $71
and out is $70

Hope this helps...

Later

BoRiS
0
 
LVL 4

Expert Comment

by:BoRiS
ID: 1361035
Alexey

Please grade this answer....

Thank you

BoRiS
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question