How to call INT 15 in W2k?
Posted on 2002-07-24 22:14:33 by gufn
You'll probably have to code a kernel-mode driver...
which of the int15 functionality do you need? Perhaps there's
some API (win32, native, or kernelmode) that does the trick...
Posted on 2002-07-24 22:22:15 by f0dder
I want to call Int 15h AX = 9610h, it's BIOS function calls.
How can I implement to call it in assembly in KDM? does anyone know?
Posted on 2002-07-24 22:49:29 by gufn
What is the function of the interupt?

Dont forget that many interupts (espically BIOS interupts) are hooked and enumerared by windows. If this could be the case there could be a easier method of doing what your program needs to do via windows.
Posted on 2002-07-25 01:56:06 by huh
huh:

The functions of the interupt to be called are specified BIOS OEM for notebook management.
It seems there is not any suitable API in Windows.
Any advice is appreciated.
:)
Posted on 2002-07-25 02:30:14 by gufn
I am not familiar with that interrupt, but I assume it is 16bit code?
Probably some rather chipset-specific code that does port I/O?
The way to call 16bit code from a 32bit OS is to set up a v86 task -
I believe there's a NT kernel call that makes this easy (sorry, but
I'm not very familiar with NT kernel-mode programming, so you'll
have to dig in the NTDDK). However, a lot of bios stuff (and especially
the more chipset-dependant stuff) isn't possible to call from 32bit
mode for various reasons...
Posted on 2002-07-25 07:11:06 by f0dder