Re: Calling BIOS from device driver

Re: Calling BIOS from device driver


[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by Henry on August 23, 2001 at 21:04:52:

In Reply to: Calling BIOS from device driver posted by Sheetal on August 23, 2001 at 08:53:51:

: Hi!!!

: I am writing a driver for Windows 2000, how do i read BIOS from a driver?? any suggestions r welcome

: Sheetal


Most times BIOS is cached in low memory so it will execute faster - BIOS is fairly slow. SO - just find the starting and ending addresses (memory map in some very technical spec books) and take it from there. I think BIOS functions are invoked (if that is what you want) by calling the Interrupt (say Int 13h or ...) in accordance with the programming language you are using.

If you are writing your driver to run on your machine as it is now and no other you can probably get away with direct addressing - but if you intend to use it on other machines (with many different BIOS) then you would need to take a much more general approach.

Drivers are really hard to get RIGHT. Recently I came across some downloadable driver writing tools that are supposed to make make driver writing easier - kinda like templates I think, at:
http://www.jungo.co.uk/tour.html

Hope this helps.
Henry



Follow Ups:


Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
Name:
E-Mail (optional):
please note: your e-mail address will be visible in your message.

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL: