Am now making some progress on the mangled graphics: When i have acceleration turned on, glyph drawing is a complete mess. it looks like the bits are being expanded backwards and characters are being read from the wrong place. I've gone through CPUToScreenColorExpandFill with a fine tooth comb, but can't see anything wrong, and all my MMIO_OUT32 writes into BRxx are correctly expanding into xf86WriteMmio32Le.
Have you ever seen anything like this before? Thanks, Rob Taylor > > whoo! fixed! > > ok attached are my initial diffs, i'm gonna do soem work to clean > this up, cos there are a number of ordering issues in the driver, > so a bit of reorganization is probably in order (pun not intended...) > > ok 1st issue - cPtr->Bus was only getting set a long time after > the 1st chipsMapMem, so changed logic here, also need to change > this in a couple of other places also. > > 2nd issue - not sure if I'm right here, but it seems wrong to be > using VIDMEM_MMIO_32BIT for vga register mapping.. taken a leaf > from nv driver and mapped it as VIDMEM_MMIO | VIDMEM_READSIDEEFFECT. > > 3rd issue - VGAHWPTR(pScrn)->IOBase was being set before we'd > registered the custom vga access functions, so was being read > incorrectly. hence, even when my mapping was right, it was trying > to read from the MDA ST01, rather than the CGA ST01. > > :D > > An issues I'm getting now, which I assume is endian-related is > that my HWCursor is mangled (bytes the wrong way around) where do > I tell the xserver how to draw into my words correctly? > > Thanks, > > Rob > _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel