Solved

Read from BIOS

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now