![]() |
|
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Real mode BIOS call in x86_64 Linux environment
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 ? Thanks in advance, Arun |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
smsabu2002@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). |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
smsabu2002@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). |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
On May 6, 5:51*pm, David Schwartz <dav...@webmaster.com> wrote:
> On May 6, 9:25*am, smsabu2...@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 |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
On May 6, 8:23*pm, smsabu2...@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 |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
On May 6, 8:23*pm, smsabu2...@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 |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
David Schwartz <davids@webmaster.com> writes:
> On May 6, 8:23*pm, smsabu2...@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. |
|
|||
|
Re: Real mode BIOS call in x86_64 Linux environment
David Schwartz <davids@webmaster.com> writes:
> On May 6, 8:23*pm, smsabu2...@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. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|