Re: dual head r128
From: Kostas Gewrgiou <hidden>
Date: 2000-10-13 15:26:29
On Thu, 12 Oct 2000, Michel [iso-8859-1] Dδnzer wrote:
Kostas Gewrgiou wrote:quoted
On Thu, 12 Oct 2000, Michel [iso-8859-1] Dδnzer wrote:quoted
But there is an #ifdef _powerpc_ so it can't break x86 machines?Yes but it *does* break x86 cards used in ppc machines. (linux/ppc isn't the only ppc os supported in xfree and they won't be happy if we break things for them)And the int10 or whatever code works for them?
ISA IO/MEM works for them so yes int10/vgahw should be fine there, i think that linux/ppc is the only platform with this broken (with the new syscalls we its simple to get it working for machines with one iobase and a working ISA memory)
And then set info->VBIOS = NULL for OF and change the #ifdef _powerpc_ to if (!info->VBIOS) or similar?
Right something along this lines will do, you probably need to change the R128_BIOS16/32 macros to do byteswapping as well since the fields in the rom are in little endian format.
I have my last exam for this year tomorrow and leave for two weeks of vacation on Saturday, so I wish good luck to any takers :)
Good luck in your exam, i'll try to write something over the weekend if i can find some free time. Kostas ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/