From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 20 Oct 2009 07:55:36 -0700 Message-ID: Subject: Re: [9fans] jpg image too big From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 8c636414-ead5-11e9-9d60-3106f5b1d025 > oh, great. =C2=A0i just didn't know if that was legal. > is it also possible to lock the display and send > more than iounit's data? devdraw expects the messages to be delivered whole in each write, so you'd have to introduce a buffer to hold partial messages or be able to process partial writes. much easier to tweak loadimage. even easier would be to tweak drawterm so that it ends up with a larger iounit. i'm pretty sure devdraw's iounit is bigger and also that we bumped up the block size in cpu (looks like 64 kB) for exactly this reason. russ