Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: "Steve Tolin" Newsgroups: scea.yaroze.beginners Subject: Re: Batch File ?? Date: Sat, 6 Feb 1999 16:18:44 -0500 Organization: BitSlap Software Lines: 73 Message-ID: <79iasm$2ed1@scea> References: <36BC8160.F227F8BC@sandcastle.cosc.brocku.ca> Reply-To: "Steve Tolin" NNTP-Posting-Host: sud-tcs1-port23.vianet.on.ca X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 You are correct in that you just add the size of the TIM to the starting address and that becomes your next start point. Example. 0X80090000 is the beginning of useable memory for data So let's say you have TIM file that is 32768 bytes big. You can place this in the bath file at 0x80090000 no prob. Then you want to add another TIM file. That's 65536 bytes big. Well.... You have to place this one where the last one ends. TIM1 at 32768 bytes is equal to 0X8000 in hex so that means the first TIM uses the memory from 0X80090000 to 0X80098000. So we start TIM2 at 0X80098000. One more time... Now let's say you have one more TIM or TMD or SEQ data file.. That's 18104 bytes.. Which is equal to 0X46B8 in hex. We would want to start this file at the end of TIM2.. Since TIM2 is 65536 bytes which is 0X10000 we add this to the the end of where TIM1 ended. The starting address for the third file would be 0X800A8000.... One last point.. The fourth starting address would be 0X800AC6B8 right... The only thing is that I have had a few problem with TIM's not stating at 16bit offsets meaning the address end with zero. So for the fourth address I would change it to 0x800AC6C0 by rounding up to the next 16bit offset. I hope this helps.. If someout out there has solution for the rounding up problem or if I'm just not seeing something please reply. I have been using Darco's Combine utility for all my data purposes. It is simple to use and very powerfull. It sure does come in handy in case you want to change the size of your graphics and stuff. http://www.datasys.net/users/stu/rquat/combv154.zip This is where you can find it. Steve Tolin BitSlap Software William Barry wrote in message news:36BC8160.F227F8BC@sandcastle.cosc.brocku.ca... > >I have been playing around with the Yaroze and have been having a hard >time understanding the Batch file. I know how to run the comands to get >the TMD's, TIM's and VAD's to the Yaroze but my question is what about >the address. > >local dload theShip.tmd 0x800c0000 > >When I place this line in the model shows up. And my Debug Setting for >the Code address is set at 0x80140000. This is ok and works fine but >when I change it to > >local dload theShip.tmd 0x80100000 > >and the Debug Settings for the Code address to 0x80090000 nothing >happens. I guess my problem is how do I know where the actual address of > >the TMD's, the TIM's and the VAD's start and finish. Do I look at the >actual size of the file the add it to the address so that they will >follow in sequence in memory. > >If anyone has any information about this please respond because I am >lost. >