Path: chuka.playstation.co.uk!news From: sceetech Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Display 640x480/512 256 colour bitmap Date: Wed, 09 Apr 1997 13:30:47 +0100 Organization: SCEE Lines: 33 Message-ID: <334B8BF7.650A@interactive.sony.com> References: <3336561E.1FF3@interactive.sony.com> <334BEA99.76D2@compuserve.com> Reply-To: ps_yaroze@interactive.sony.com NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Ken Lam wrote: > > I am trying to convert an old MS-DOS game to Yaroze. The first thing I > have attempted is to display a 640x480 256 colour bitmap (PC screenshot) > on the TV to see how the game might look. However using TIMV.BAT is > inadequate as only part of the image is displayed and is not in colour > > I have modified the 2d demo to use 640x512 but the screen is tiled with > only a small section of the image. Maybe the texture page is wrong or > setup of double buffer is incorrect? > > Has anyone had any success with this or knows which demo I should > download? > > Thanks in advance > Ken Lam > ESP Software I advise you not to use timv.bat; many of the MsDOS tools in psx\bin behave oddly, some only work at 9600 bpd baud rate, etc. For TIM files, look at timview, timview2, 2d1 and 2d2, all should be in the scee samples section. Note that no polygon/sprite can have a texture larger than 256x256; for any larger picture, use LoadImage or MoveImage to Directly copy/load the TIM into the two buffer areas. This is less than ideal, but there are a number of ways to do this quickly; demos on this will be forthcoming. Lewis