Solved

Read from BIOS

Posted on 1998-03-29
2
200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 359
Delphi Spellcheck in Webbrowser 1 52
Delphi Form ownership 4 127
Delphi...Split view - idea? 1 117
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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