Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Mem <--> VRAM problem Date: Mon, 21 Sep 1998 11:04:34 +0100 Organization: Sony Computer Entertainment Europe Lines: 22 Message-ID: <360624B2.8834E901@scee.sony.co.uk> References: <360611A5.1300@dma-design.com> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en Brian Baird wrote: > > I did a little playing about with LoadImage etc, trying to build the > 'block' up in main memory, and then transferring it over to VRAM. > Unfortunately, I got total garbage as a result. Remember that: o VRAM pixels are 16 bits, not 8. o R, G and B values are 5 bits each, not 8. o You'll need two LoadImage areas instead of one, so you can upload one while creating the other. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Attend! The William! Shatner! School of! Acting!