Path: chuka.playstation.co.uk!news From: "Peter Armstrong" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Memory Overloading: Re-using Video Memory while the program is running Date: Thu, 16 Sep 1999 14:23:45 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 50 Message-ID: <7rqr4u$n2i11@chuka.playstation.co.uk> References: <01beffd9$02202600$3bc448c2@paladin> NNTP-Posting-Host: host62-6-1-93.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Hi, What you're after is a file server, so that you can load and save data files from/to the PC at run time. There are four types in existance for the yaroze playstation:- If you have CodeWarrior you can make use of it's the MWDebugIO functions, which redirects cdrom and memcard accesses to the PC via the serial port. If you own an Action Replay you can use Graig Graham's Action Replay File Server (ARS), which can be found at http://www.netyaroze-europe.com/~c_graham/ If you only have the serial port connection to the PC, you can use the Cyclone file server (which I wrote :-), it's available at http://www.netyaroze-europe.com/~imilco/ Nathan Miller is also writing a serial port file server, though as yet is hasn't been released. Information relating to it can be found on his site at http://www.netyaroze-europe.com/yaroze_scea/pages/nmiller.html. If you want to load TIM files at run-time, the basic procedure would be- find out the file size malloc() memory to store the file load the file from the PC to the allocated memory transfer the TIM data to video memory free() the file memory Hope this helps, Pete. Paladin wrote > So far I have not found any hints as to how to re-use video memory from > within the program. What I want to do is use all of the 1 megabye of VRAM > for the introduction to my game, and then re-use it by loading different > TIM's once the game starts. > > I havn't noticed anyone having achieved this before in the any demo's, all > the loading always takes place at the beginning via 'dload' > > Is it possible for a program to load in new TIM's from the PC while its > running? > > - Daniel J. Dobson