Path: chuka.playstation.co.uk!news From: Andrew Partington Newsgroups: scee.yaroze.freetalk.english Subject: Hello! (and help!) Date: Sun, 17 Sep 2000 22:26:05 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 48 Message-ID: <39C536EA.103F7627@yaroze41.freeserve.co.uk> NNTP-Posting-Host: 195.44.218.144 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en Hi everyone Its good to be back!! I have a few conundrums: I am using the Sony GsBG stuff to display two maps on the screen. One map is made up of 16-bit graphics data, while the other map is made up from 8-bit graphics. Now, when I start displaying many other sprites on the screen as well, the 16-bit background does not get displayed properly (corrupted GFX), but the 8-bit maps work fine!! This only happens when I display over a certain number of sprites however. I seem to have plenty of raster time left (vsync(0) hovers between around 90-120) so I don't think its a timing issue. Could I be running out of packet workspace? (it's no great hassle to make the 16-bit BG into an 8-bit one, I just wanna know what's going on!) Secondly (sort of following on from before) if I allocate too much packet workspace, my sprites get displayed as a series of vertical lines. I define my packet workspace Ira Rainey style, i.e. PACKET GpuPacketArea[2][512*sizeof(GsSPRITE)]; (thats an example that works for me) The thing is, i've seen code examples where people define way more packet workspace than me and their stuff seems to work OK. Is there some sort of relationship between ordering table depth and packet workspace, or a formula of some kind like for the GsBG workspace, or something like that? Thirdly, there seems to be a problem accessing this server from Freeserve, I can get on from work or my Netscape online account, but Freeserve isn't having any of it. Fouthly, the source code for my Java map editor is on my site: http://www.netyaroze-europe.com/~partinga/ftp/ If you don't have the Java Development Kit or the Java Runtime Environment, you can get it from http://www.java.sun.com I coded it under JDK 1.1, but it works under 1.2. It's seriously alpha and doesn't double-buffer the screen properly, and needs a reasonably fast machine, but it works enough to create large maps with! It saves your map data as a 2D array of u_short, includable as a .h file. Thanks everyone Andy