Hello.

My question is not strictly related to
XFree, but this is probably the only place
where I can get an answer.
I am doing a dosemu development and I would
like the dos apps to be able to set VESA modes
under console with Radeon card. Currently this
is not possible under dosemu as well as under
WinNT dos box, however this is possible with
other cards like S3.
When the app is trying to set a VESA mode, Radeon's
bios is trying to access the PCI Conf ports 0xcf8-0xcff
and it's own ports 0x9800-0x98ff, which is not
permitted, so int10 function fails.
Dosemu have an ability to provide a direct access
to any ports, but if I open the requested ports, my
machine locks up.
The same thing happens with SVGALib's lrmi package,
which mmaps the video bios, does iopl(3) and is trying
to call int10h via
vm86() - it just locks up either (only on Radeon).
I have found out that since XFree 4.2.0, the VESA
driver works fine with Radeon, that is why I think
people here can answer the question:
How can I set up the VESA modes under Linux via the
vm86() syscall? What ports should I open? What else
I must be aware of? Why simply mmap() vbios, iopl(3) and
then int10 in vm86 works with all cards but Radeon?

Thanks for any help.


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to