thats basicly what we did too, plus that if dy <= 0, we split the scanline that fits in the display buffer and recursively call unloadimage() on the rest instead of failing.
the same thing is done with loadimage. its just writememimage() wich uses a constant for the chunksize because it doesnt have a bufsize negotiated from 9p i/o unit by libdraw. -- cinap
