Path: chuka.playstation.co.uk!news From: "Alex Herbert" Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: Packet Max size ??? Date: Fri, 26 Feb 1999 10:59:07 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 29 Message-ID: <7b5v62$9po22@chuka.playstation.co.uk> References: <7b5d73$aag1@scea> NNTP-Posting-Host: th-usr01-08.ndirect.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 jaleco wrote in message <7b5d73$aag1@scea>... >every playstation have the following header >#define PACKETMAX (2048*24) /* Max GPU packets */ >static PACKET packetArea[2][PACKETMAX]; /* GPU PACKETS AREA */ > >anyone can tell me how much MAXpacket should define ??? >any concept or document is appreciat > > thanks > > Hello, I don't use the above method for allocating packet memory. I use malloc(), but the above method is fine. I tend to allocate 32-64Kb for each packet workspace to start with, then reduce it when I have a better idea of how much space I actually need. GsGetWorkBase() is handy for working out exactly how much packet memory is being used. Herbs