From: David Schwartz on
On May 6, 9:25 am, smsabu2...(a)yahoo.com wrote:

> I have an application which gets Video controller information using
> VESA BIOS routines. It makes use of LRMI library for making real mode
> BIOS call in x86_32 bit Linux machine.
>
> Now, I need to port this application for x64 Linux. But, LRMI is
> limited only to x86_32 enviornment. Is there any other equivalent
> libarary for x64 porting ?

Could you be a bit more specific about what information you need and
what you need it for? It seems odd that a Linux application would want
this kind of information. Is this hardware auditing? Or are you trying
to control the video hardware directly?

DS
From: smsabu2002 on
On May 6, 5:51 pm, David Schwartz <dav...(a)webmaster.com> wrote:
> On May 6, 9:25 am, smsabu2...(a)yahoo.com wrote:
>
> > I have an application which gets Video controller information using
> > VESA BIOS routines. It makes use of LRMI library for making real mode
> > BIOS call in x86_32 bit Linux machine.
>
> > Now, I need to port this application for x64 Linux. But, LRMI is
> > limited only to x86_32 enviornment. Is there any other equivalent
> > libarary for x64 porting ?
>
> Could you be a bit more specific about what information you need and
> what you need it for? It seems odd that a Linux application would want
> this kind of information. Is this hardware auditing? Or are you trying
> to control the video hardware directly?
>
> DS

The requirement is to collect video controller information using Video
BIOS VBE3 in x86_64 Linux OS. The Bios Interrupt routine 0x10 is meant
for Video system. Right now, my application uses LRMI library to make
BIOS routine call 0x10.
But this 32 bit application is failing in x86_64 while making call to
BIOS routine.

Hence, I have started porting the application to x86_64 machine. But,
I am struck up with finding LRMI equivalent in x86_64 platform.
Could you please help me.

Thanks a lot.

Arun
From: Rainer Weikusat on
smsabu2002(a)yahoo.com writes:
> I have an application which gets Video controller information using
> VESA BIOS routines. It makes use of LRMI library for making real mode
> BIOS call in x86_32 bit Linux machine.
>
> Now, I need to port this application for x64 Linux. But, LRMI is
> limited only to x86_32 enviornment. Is there any other equivalent
> libarary for x64 porting ?

The x86_64 'long mode' ('64bit') does not support 8086-emulation
(vm86).
From: David Schwartz on
On May 6, 8:23 pm, smsabu2...(a)yahoo.com wrote:

> The requirement is to collect video controller information using Video
> BIOS VBE3 in x86_64 Linux OS.

I think this is quite close to impossible. Whatever your outer problem
is, there's almost certainly a better way to solve it. You should do
whatever you can to get the requirement fixed.

DS
From: Rainer Weikusat on
David Schwartz <davids(a)webmaster.com> writes:
> On May 6, 8:23�pm, smsabu2...(a)yahoo.com wrote:
>> The requirement is to collect video controller information using Video
>> BIOS VBE3 in x86_64 Linux OS.
>
> I think this is quite close to impossible.

It is certainly 'possible', eg by disassembling the BIOS, determining
where it gets the information from and reimplementing the same
functionality without resorting to 'real-mode' softints.
 | 
Pages: 1
Prev: sse3 or not sse3
Next: ATI/NVidia driver status?