On Tue, Oct 20, 2009 at 5:04 AM, erik quanstrom <[email protected]> wrote: > the problem is that devdraw/loadimage.c needs to load > at least 1 scan line at a time. unfortunately, iounit for > drawterm ends up being 8k, so display->bufsize=8k. the > problem is that each scan line is over 9k in my case. > > i haven't looked yet to see if the kernel can deal with > partial lines, or what could be done about the too-small > iounit. but it would seem to me that something has to > give.
you can handle this in loadimage by turning a single call with too much data per scan line into multiple calls, each delivering a fraction of a scan line (there is a rectangle argument that says what subsection of the image is being loaded). russ
